CVE-2024-28102Allocation of Resources Without Limits or Throttling in Jwcrypto

Severity
6.8MEDIUMNVD
EPSS
0.4%
top 39.78%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 21
Latest updateApr 7

Description

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:HExploitability: 2.3 | Impact: 4.0

Affected Packages3 packages

CVEListV5latchset/jwcrypto< 1.5.7+1
NVDlatchset/jwcrypto< 1.5.6
PyPIlatchset/jwcrypto< 1.5.6

Also affects: Debian Linux 11.0

Patches

🔴Vulnerability Details

4
OSV
CVE-2024-28102: JWCrypto implements JWK, JWS, and JWE specifications using python-cryptography2024-03-21
OSV
JWCrypto vulnerable to JWT bomb Attack in `deserialize` function2024-03-06
CVEList
JWCrypto vulnerable to JWT bomb Attack in `deserialize` function2024-03-06
GHSA
JWCrypto vulnerable to JWT bomb Attack in `deserialize` function2024-03-06

📋Vendor Advisories

2
Red Hat
python-jwcrypto: malicious JWE token can cause denial of service2024-03-08
Debian
CVE-2024-28102: python-jwcrypto - JWCrypto implements JWK, JWS, and JWE specifications using python-cryptography. ...2024

🕵️Threat Intelligence

1
Wiz
CVE-2026-39373 Impact, Exploitability, and Mitigation Steps | Wiz

💬Community

1
Bugzilla
CVE-2026-39373 JWCrypto: python-cryptography: python: JWCrypto: Memory exhaustion via crafted compressed JWE tokens2026-04-07
CVE-2024-28102 — Latchset Jwcrypto vulnerability | cvebase