{"id":"CVE-2024-28102","published":"2024-03-06T21:09:58Z","modified":"2024-09-09T13:06:44Z","title":"JWCrypto vulnerable to JWT bomb Attack in `deserialize` function","vendor":"latchset","product":"jwcrypto","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0098,"percentile":0.63075,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/latchset/jwcrypto/security/advisories/GHSA-j857-7rvv-vj97","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/latchset/jwcrypto/commit/90477a3b6e73da69740e00b8161f53fea19b831f","tags":["x_refsource_MISC"]},{"url":"https://www.vicarius.io/vsociety/posts/denial-of-service-vulnerability-discovered-in-jwcrypto-cve-2024-28102-28103","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00026.html","tags":[]}],"priority":{"score":17.4,"factors":[{"name":"EPSS percentile","points":12.62},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"latchset","affectedVersions":[{"vendor":"latchset","product":"jwcrypto","versions":["< 1.5.6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-02T19:56:39.446407Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"jwcrypto","vulnerableRanges":["<1.5.6"],"patched":["1.5.6"],"from":["GHSA-j857-7rvv-vj97","PYSEC-2026-1484"],"provenance":"source"}],"summary":{"text":"JWCrypto's deserialize function, which handles JWE tokens, lacks a limit on token size before decompression, so a crafted JWE token with a high compression ratio can exhaust server resources. An attacker can trigger this denial of service by sending a malicious JWE token to a server running a version of JWCrypto earlier than 1.5.6, which the attack vector indicates requires high privileges and affects availability only.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:50:06Z"},"euvd":{"id":"EUVD-2024-0946","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-red-hat-enterprise-linux-8-cve-2023-6681","parents":[{"from":"CVE-2023-6681","to":"CVE-2024-28102","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:jwcrypto","fromFixed":"1.5.1","toFixed":"1.5.6","daysApart":23},{"kind":"same-code","provenance":"machine","files":["jwcrypto/tests.py"],"commits":["https://github.com/latchset/jwcrypto/commit/d2655d370586cb830e49acfb450f87598da60be8","https://github.com/latchset/jwcrypto/commit/90477a3b6e73da69740e00b8161f53fea19b831f"],"basis":"shared function","functions":["test_pbes2_hs256_aeskw_custom_params"]}]}],"packageHistory":[{"cve":"CVE-2016-6298","published":"2016-09-01","fixed":"0.4.0","kev":false},{"cve":"CVE-2023-6681","published":"2024-02-12","fixed":"1.5.1","kev":false},{"cve":"CVE-2024-28102","published":"2024-03-06","fixed":"1.5.6","kev":false},{"cve":"CVE-2026-39373","published":"2026-04-07","fixed":"1.5.7","kev":false}],"package":"PyPI:jwcrypto"}}