CVE-2024-28176
jose vulnerable to resource exhaustion via specifically crafted JWE with compressed plaintext
Also known as GHSA-hhhv-q57g-882q
Mitigation
- Upgrade jose to one of 4.15.5, 2.0.7 (or later in the same release line).
- Upgrade jose-node-cjs-runtime to 4.15.5 or later.
- Upgrade jose-node-esm-runtime to 4.15.5 or later.
Who should check
- Projects that depend on npm package jose (>= 3.0.0, < 4.15.5)
- Projects that depend on npm package jose-node-cjs-runtime (< 4.15.5)
- Projects that depend on npm package jose-node-esm-runtime (< 4.15.5)
- Anyone running panva jose >= 3.0.0, <= 4.15.4; < 2.0.7
Vulnerability facts
- Affected
- jose >= 3.0.0, < 4.15.5; jose-node-cjs-runtime < 4.15.5; jose-node-esm-runtime < 4.15.5
- Fixed in
- 4.15.5, 2.0.7
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 4.9 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: High
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 2.20% chance of exploitation in 30 days (percentile 83, 2026-11-26)
- CWE
- CWE-400
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm jose | >= 3.0.0, < 4.15.5 | 4.15.5, 2.0.7 | osv |
| npm jose-node-cjs-runtime | < 4.15.5 | 4.15.5 | osv |
| npm jose-node-esm-runtime | < 4.15.5 | 4.15.5 | osv |
| panva jose | >= 3.0.0, <= 4.15.4; < 2.0.7 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-28176. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-28176.md Affected: jose >= 3.0.0, < 4.15.5; jose-node-cjs-runtime < 4.15.5; jose-node-esm-runtime < 4.15.5 Fixed in: 4.15.5, 2.0.7 Steps: 1. Search this machine and project for jose (npm), jose-node-cjs-runtime (npm), jose-node-esm-runtime (npm), panva jose: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Other
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XJDO5VSIAOGT2WP63AXAAWNRSVJCNCRH/
- 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/I6MMWFBOXJA6ZCXNVPDFJ4XMK5PVG5RG/
- 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/UG5FSEYJ3GP27FZXC5YAAMMEC5XWKJHG/
- https://github.com/panva/jose
- 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
FAQ
Is CVE-2024-28176 being exploited?
There is no confirmed exploitation: CVE-2024-28176 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.20% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-28176?
Medium: CVSS 4.9 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2024-28176?
jose >= 3.0.0, < 4.15.5; jose-node-cjs-runtime < 4.15.5; jose-node-esm-runtime < 4.15.5.
Is there a fix for CVE-2024-28176?
Yes. Fixed in 4.15.5, 2.0.7. Upgrade jose to one of 4.15.5, 2.0.7 (or later in the same release line). Upgrade jose-node-cjs-runtime to 4.15.5 or later. Upgrade jose-node-esm-runtime to 4.15.5 or later.
How do I check if I'm affected by CVE-2024-28176?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.