{"id":"CVE-2024-28102","state":"PUBLISHED","title":"JWCrypto vulnerable to JWT bomb Attack in `deserialize` function","description":"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.","publishedAt":"2024-03-06T21:09:58.064Z","updatedAt":"2024-09-09T13:06:44.240Z","severity":{"score":6.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["latchset jwcrypto"],"affected":[{"vendor":"latchset","product":"jwcrypto","versions":[{"version":"< 1.5.6","status":"affected"}]}],"references":["https://github.com/latchset/jwcrypto/security/advisories/GHSA-j857-7rvv-vj97","https://github.com/latchset/jwcrypto/commit/90477a3b6e73da69740e00b8161f53fea19b831f","https://www.vicarius.io/vsociety/posts/denial-of-service-vulnerability-discovered-in-jwcrypto-cve-2024-28102-28103","https://lists.debian.org/debian-lts-announce/2024/09/msg00026.html"],"weaknesses":["CWE-770"],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/28xxx/CVE-2024-28102.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-28102","state":"PUBLISHED","datePublished":"2024-03-06T21:09:58.064Z","dateUpdated":"2024-09-09T13:06:44.240Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-03-04T14:19:14.058Z"},"containers":{"cna":{"title":"JWCrypto vulnerable to JWT bomb Attack in `deserialize` function","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"latchset","product":"jwcrypto","versions":[{"version":"< 1.5.6","status":"affected"}]}],"references":[{"url":"https://github.com/latchset/jwcrypto/security/advisories/GHSA-j857-7rvv-vj97","name":"https://github.com/latchset/jwcrypto/security/advisories/GHSA-j857-7rvv-vj97","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/latchset/jwcrypto/commit/90477a3b6e73da69740e00b8161f53fea19b831f","name":"https://github.com/latchset/jwcrypto/commit/90477a3b6e73da69740e00b8161f53fea19b831f","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.8,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-770","lang":"en","description":"CWE-770: Allocation of Resources Without Limits or Throttling","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-03-06T21:09:58.064Z"},"source":{"advisory":"GHSA-j857-7rvv-vj97","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/latchset/jwcrypto/security/advisories/GHSA-j857-7rvv-vj97","name":"https://github.com/latchset/jwcrypto/security/advisories/GHSA-j857-7rvv-vj97","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/latchset/jwcrypto/commit/90477a3b6e73da69740e00b8161f53fea19b831f","name":"https://github.com/latchset/jwcrypto/commit/90477a3b6e73da69740e00b8161f53fea19b831f","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.vicarius.io/vsociety/posts/denial-of-service-vulnerability-discovered-in-jwcrypto-cve-2024-28102-28103"},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00026.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-09-09T13:06:44.240Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"latchset","product":"jwcrypto","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"1.5.6","versionType":"custom"}],"cpes":["cpe:2.3:a:latchset:jwcrypto:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-02T19:56:39.446407Z","id":"CVE-2024-28102","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-02T20:03:10.383Z"}}]}}}