CVE-2024-28102
MEDIUM 6.8CVSS 3.1JWCrypto vulnerable to JWT bomb Attack in `deserialize` function
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.
- Published
- 21 Mar 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-770
- Also known as
- GHSA-j857-7rvv-vj97PYSEC-2026-1484
- Sources
- NVDJSONOSV GHSA-j857-7rvv-vj97JSONOSV PYSEC-2026-1484JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | latchset | jwcryptocpe:2.3:a:latchset:jwcrypto:*:*:*:*:*:*:*:* |
< 1.5.6 | 1.5.6 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| OSV | PyPI | jwcrypto | < 1.5.6 | 1.5.6 |
References
- https://github.com/latchset/jwcrypto/commit/90477a3b6e73da69740e00b8161f53fea19b831f · Patch, WEB, FIX
- https://github.com/latchset/jwcrypto/security/advisories/GHSA-j857-7rvv-vj97 · Exploit, Vendor Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2024/09/msg00026.html · Mailing List, Third Party Advisory, WEB
- https://www.vicarius.io/vsociety/posts/denial-of-service-vulnerability-discovered-in-jwcrypto-cve-2024-28102-28103 · Exploit, Press/Media Coverage, Technical Description, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-28102 · ADVISORY
- https://github.com/latchset/jwcrypto · PACKAGE
- https://pypi.org/project/jwcrypto · PACKAGE
- https://github.com/advisories/GHSA-j857-7rvv-vj97 · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 21 Mar 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Mar 2024)