{"id":"CVE-2024-28176","published":"2024-03-09T00:43:06Z","modified":"2025-02-13T17:47:26Z","title":"jose vulnerable to resource exhaustion via specifically crafted JWE with compressed plaintext","vendor":"panva","product":"jose","tier":"tail","description":{"text":"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 \n 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02102,"percentile":0.82199,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/panva/jose/security/advisories/GHSA-hhhv-q57g-882q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/panva/jose/commit/02a65794f7873cdaf12e81e80ad076fcdc4a9314","tags":["x_refsource_MISC"]},{"url":"https://github.com/panva/jose/commit/1b91d88d2f8233f3477a5f4579aa5f8057b2ee8b","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XJDO5VSIAOGT2WP63AXAAWNRSVJCNCRH/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KXKGNCRU7OTM5AHC7YIYBNOWI742PRMY/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I6MMWFBOXJA6ZCXNVPDFJ4XMK5PVG5RG/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UJO2U5ACZVACNQXJ5EBRFLFW6DP5BROY/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UG5FSEYJ3GP27FZXC5YAAMMEC5XWKJHG/","tags":[]}],"priority":{"score":19.9,"factors":[{"name":"EPSS percentile","points":16.44},{"name":"CVSS severity","points":3.43}]},"vendorSlug":"panva","affectedVersions":[{"vendor":"panva","product":"jose","versions":[">= 3.0.0, <= 4.15.4","< 2.0.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-03-11T14:26:36.242696Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"jose","vulnerableRanges":[">=3.0.0, <4.15.5","<2.0.7"],"patched":["4.15.5","2.0.7"],"from":["GHSA-hhhv-q57g-882q"],"provenance":"source"},{"ecosystem":"npm","package":"jose-node-cjs-runtime","vulnerableRanges":["<4.15.5"],"patched":["4.15.5"],"from":["GHSA-hhhv-q57g-882q"],"provenance":"source"},{"ecosystem":"npm","package":"jose-node-esm-runtime","vulnerableRanges":["<4.15.5"],"patched":["4.15.5"],"from":["GHSA-hhhv-q57g-882q"],"provenance":"source"}],"summary":{"text":"The jose JavaScript library's JSON Web Encryption (JWE) decryption interfaces, specifically the step that decompresses plaintext after decryption, contain an uncontrolled resource consumption flaw. An attacker able to supply a specially crafted JWE with compressed plaintext can cause the environment processing it to consume excessive CPU time or memory, and the attack requires high privileges (PR:H), with no user interaction needed and network access sufficient.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:49Z"},"euvd":{"id":"EUVD-2024-0938","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-29443","published":"2021-04-16","fixed":"3.11.4","kev":false},{"cve":"CVE-2022-36083","published":"2022-09-07","fixed":"4.9.2","kev":false,"link":{"from":"CVE-2022-36083","to":"CVE-2024-28176","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:jose","fromFixed":"2.0.6","toFixed":"2.0.7","daysApart":549},{"kind":"version-step","provenance":"source","package":"npm:jose","fromFixed":"4.9.2","toFixed":"4.15.5","daysApart":549},{"kind":"similar","provenance":"machine","score":0.38,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2024-28176","published":"2024-03-09","fixed":"4.15.5","kev":false}],"package":"npm:jose"}}