python-jwcrypto — security advisory
JWCrypto implements JWK, JWS, and JWE specifications using python-cryptography. Prior to version 1.5.6, an attacker can cause a denial of service attack by passing in a malicious JWE Token with a high compression ratio. When the server processes this token, it will consume a lot of memory and processing time. Version 1.5.6 fixes this vulnerability by limiting the maximum token length.
- Products
- python-jwcrypto
- Affected versions
- 0.2.1-1, 0.3.2-1, 0.4.2-1, 0.6.0-1, 0.6.0-2, 0.8.0-1, 1.0.0-2, 1.1.0-1, 1.5.4-1, 1.5.6-1, 1.5.6-1.1, 1.5.6-1.2
- Fixed versions
- Not specified
- CVEs
- CVE-2024-28102
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:12 UTC · Revision 1
Source evidence
JWCrypto implements JWK, JWS, and JWE specifications using python-cryptography. Prior to version 1.5.6, an attacker can cause a denial of service attack by passing in a malicious JWE Token with a high compression ratio. When the server processes this token, it will consume a lot of memory and processing time. Version 1.5.6 fixes this vulnerability by limiting the maximum token length.
osv:UBUNTU-CVE-2024-28102
python-jwcrypto
Fixed versions: Not specified
python-jwcrypto
Fixed versions: Not specified
python-jwcrypto
Fixed versions: Not specified
python-jwcrypto
Fixed versions: Not specified
python-jwcrypto
Fixed versions: Not specified
python-jwcrypto
Fixed versions: Not specified
python-jwcrypto
Fixed versions: Not specified
python-jwcrypto
Fixed versions: Not specified
Complete source record
{
"id": "ff1a64c4100578588bf12adeb7560bcf6c23987613692851fa7ff07ba78f7f41",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-28102",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2024-28102",
"summary": "JWCrypto implements JWK, JWS, and JWE specifications using python-cryptography. Prior to version 1.5.6, an attacker can cause a denial of service attack by passing in a malicious JWE Token with a high compression ratio. When the server processes this token, it will consume a lot of memory and processing time. Version 1.5.6 fixes this vulnerability by limiting the maximum token length.",
"evidence": "osv:UBUNTU-CVE-2024-28102",
"products": [
{
"name": {
"value": "python-jwcrypto",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.2.1-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "python-jwcrypto",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.3.2-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.4.2-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "python-jwcrypto",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.6.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "0.6.0-2",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "python-jwcrypto",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.8.0-1",
"evidence": "/affected/3/versions"
},
{
"value": "1.0.0-2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "python-jwcrypto",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.0-1",
"evidence": "/affected/4/versions"
},
{
"value": "1.5.4-1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "python-jwcrypto",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.5.6-1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "python-jwcrypto",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.5.6-1",
"evidence": "/affected/6/versions"
},
{
"value": "1.5.6-1.1",
"evidence": "/affected/6/versions"
},
{
"value": "1.5.6-1.2",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "python-jwcrypto",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.5.6-1",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2024-28102",
"aliases": [
"UBUNTU-CVE-2024-28102"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-jwcrypto",
"purl": "pkg:deb/ubuntu/python-jwcrypto?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"0.2.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28102.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-jwcrypto",
"binary_version": "0.2.1-1"
},
{
"binary_name": "python3-jwcrypto",
"binary_version": "0.2.1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-jwcrypto",
"purl": "pkg:deb/ubuntu/python-jwcrypto?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"0.3.2-1",
"0.4.2-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28102.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-jwcrypto",
"binary_version": "0.4.2-1"
},
{
"binary_name": "python3-jwcrypto",
"binary_version": "0.4.2-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-jwcrypto",
"purl": "pkg:deb/ubuntu/python-jwcrypto?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"0.6.0-1",
"0.6.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28102.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-jwcrypto",
"binary_version": "0.6.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-jwcrypto",
"purl": "pkg:deb/ubuntu/python-jwcrypto?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"0.8.0-1",
"1.0.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28102.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-jwcrypto",
"binary_version": "1.0.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-jwcrypto",
"purl": "pkg:deb/ubuntu/python-jwcrypto?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.1.0-1",
"1.5.4-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28102.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-jwcrypto",
"binary_version": "1.5.4-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-jwcrypto",
"purl": "pkg:deb/ubuntu/python-jwcrypto?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.5.6-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28102.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-jwcrypto",
"binary_version": "1.5.6-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-jwcrypto",
"purl": "pkg:deb/ubuntu/python-jwcrypto?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.5.6-1",
"1.5.6-1.1",
"1.5.6-1.2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28102.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-jwcrypto",
"binary_version": "1.5.6-1.2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-jwcrypto",
"purl": "pkg:deb/ubuntu/python-jwcrypto?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.5.6-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28102.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-jwcrypto",
"binary_version": "1.5.6-1"
}
]
}
}
],
"modified": "2026-10-17T12:56:43.909108457Z",
"provider": "osv",
"upstream": [
"CVE-2024-28102"
],
"references": [
"https://ubuntu.com/security/CVE-2024-28102",
"https://github.com/latchset/jwcrypto/security/advisories/GHSA-j857-7rvv-vj97",
"https://github.com/latchset/jwcrypto/commit/90477a3b6e73da69740e00b8161f53fea19b831f",
"https://www.cve.org/CVERecord?id=CVE-2024-28102"
]
},
"related_cves": [
{
"value": "CVE-2024-28102",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 356079,
"published_at": "2024-03-21T02:52:00+00:00"
}