What’s Vulnerable › Vulnerabilities
CVE-2024-28176: jose vulnerable to resource exhaustion via specifically crafted JWE with compressed plaintext
- Severity: medium (CVSS 5.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-03-09 · updated 2026-06-17
- Weakness: CWE-400
Description
jose is JavaScript module for JSON Object Signing and Encryption, providing support for JSON Web Tokens (JWT), JSON Web Signature (JWS), JSON Web Encryption (JWE), JSON Web Key (JWK), JSON Web Key Set (JWKS), and more. A vulnerability has been identified in the JSON Web Encryption (JWE) decryption interfaces, specifically related to the support for decompressing plaintext after its decryption. Under certain conditions it is possible to have the user's environment consume unreasonable amount of CPU time or memory during JWE Decryption operations. This issue has been patched in versions 2.0.7 and 4.15.5.
Affected products
- Fedoraproject Fedora: from 38 through 40
- Jose Project Jose: before 2.0.7; from 3.0.0 before 4.15.5 — fixed in 2.0.7, 4.15.5
How to fix
Upgrade to a fixed version: Jose Project Jose 2.0.7, 4.15.5. Check the vendor advisory for mitigations.
References
- https://github.com/panva/jose/commit/02a65794f7873cdaf12e81e80ad076fcdc4a9314
- https://github.com/panva/jose/commit/1b91d88d2f8233f3477a5f4579aa5f8057b2ee8b
- https://github.com/panva/jose/security/advisories/GHSA-hhhv-q57g-882q
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I6MMWFBOXJA6ZCXNVPDFJ4XMK5PVG5RG/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KXKGNCRU7OTM5AHC7YIYBNOWI742PRMY/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UG5FSEYJ3GP27FZXC5YAAMMEC5XWKJHG/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UJO2U5ACZVACNQXJ5EBRFLFW6DP5BROY/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XJDO5VSIAOGT2WP63AXAAWNRSVJCNCRH/
- https://github.com/panva/jose/commit/02a65794f7873cdaf12e81e80ad076fcdc4a9314
- https://github.com/panva/jose/commit/1b91d88d2f8233f3477a5f4579aa5f8057b2ee8b
- https://github.com/panva/jose/security/advisories/GHSA-hhhv-q57g-882q
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I6MMWFBOXJA6ZCXNVPDFJ4XMK5PVG5RG/
Get alerted when CVE-2024-28176 or the next vulnerability affects your stack