Vulnerability
CVE-2024-28102
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.
22 advisories report this vulnerability, across 13 ecosystems.
Advisories
-
ALAS2-2025-2763
Amazon Linux 2 2017.12 - ALAS2-2025-2763: medium priority package update for python-jwcrypto
-
ALSA-2024:2559
Moderate: python-jwcrypto security update
-
AZL-43360
CVE-2024-28102 affecting package python-jwcrypto 0.6.0-9
-
AZL-43366
CVE-2024-28102 affecting package python-jwcrypto 0.6.0-9
- CGA-5hw8-pxxh-rrr4
- CGA-q2mq-f7xj-3pqc
-
DEBIAN-CVE-2024-28102
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.…
-
DLA-3883-1
python-jwcrypto - security update
-
ELSA-2024-2559
ELSA-2024-2559: python-jwcrypto security update (MODERATE)
-
ELSA-2024-3267
ELSA-2024-3267: idm:DL1 and idm:client security update (MODERATE)
-
GHSA-j857-7rvv-vj97
JWCrypto vulnerable to JWT bomb Attack in `deserialize` function
-
OESA-2024-2443
python-jwcrypto security update
-
OESA-2024-2444
python-jwcrypto security update
-
OESA-2025-1163
python-jwcrypto security update
-
PYSEC-2026-1484
JWCrypto vulnerable to JWT bomb Attack in `deserialize` function
-
RHSA-2024:2559
Red Hat Security Advisory: python-jwcrypto security update
-
RHSA-2024:3267
Red Hat Security Advisory: idm:DL1 and idm:client security update
-
RHSA-2024:4522
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update
-
RHVEX-CVE-2024-28102
python-jwcrypto: malicious JWE token can cause denial of service
-
RLSA-2024:3267
Moderate: idm:DL1 and idm:client security update
-
UBUNTU-CVE-2024-28102
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.…
-
openSUSE-SU-2026:11712-1
python313-jwcrypto-1.6.0-1.1 on GA media
References
- https://github.com/latchset/jwcrypto/commit/90477a3b6e73da69740e00b8161f53fea19b831f
- https://github.com/latchset/jwcrypto/security/advisories/GHSA-j857-7rvv-vj97
- https://lists.debian.org/debian-lts-announce/2024/09/msg00026.html
- https://www.vicarius.io/vsociety/posts/denial-of-service-vulnerability-discovered-in-jwcrypto-cve-2024-28102-28103