{"id":"CVE-2022-21653","summary":"Hash collision in typelevel jawn","details":"Jawn is an open source JSON parser. Extenders of the `org.typelevel.jawn.SimpleFacade` and `org.typelevel.jawn.MutableFacade` who don't override `objectContext()` are vulnerable to a hash collision attack which may result in a denial of service. Most applications do not implement these traits directly, but inherit from a library. `jawn-parser-1.3.1` fixes this issue and users are advised to upgrade. For users unable to upgrade override `objectContext()` to use a collision-safe collection.","aliases":["GHSA-vc89-hccf-rq55"],"modified":"2026-04-10T04:44:00.510058Z","published":"2022-01-05T21:00:12Z","related":["openSUSE-SU-2022:0011-1","openSUSE-SU-2022:0045-1","openSUSE-SU-2022:0106-1","openSUSE-SU-2024:11718-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21653.json","cwe_ids":["CWE-400"],"cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21653.json"},{"type":"ADVISORY","url":"https://github.com/typelevel/jawn/security/advisories/GHSA-vc89-hccf-rq55"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21653"},{"type":"FIX","url":"https://github.com/typelevel/jawn/pull/390"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/typelevel/jawn","events":[{"introduced":"0"},{"fixed":"daaf6f8e1067363f4748159612c6ec2162522303"}]}],"versions":["v0.10.0","v0.10.1","v0.10.2","v0.10.4","v0.11.0","v0.11.1","v0.12.0","v0.12.1","v0.12.2","v0.13.0","v0.14.0","v0.14.1","v0.14.2","v0.5.0","v0.5.1","v0.5.3","v0.5.4","v0.5.5","v0.6.0","v0.7.0","v0.7.1","v0.7.2","v0.7.4","v0.8.0","v0.8.1","v0.8.2","v0.8.3","v0.8.4","v0.9.0","v1.0.0","v1.0.0-RC1","v1.0.0-RC2","v1.0.0-RC3","v1.0.0-RC4","v1.0.1","v1.0.2","v1.0.3","v1.1.0","v1.1.1","v1.1.2","v1.2.0","v1.3.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21653.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}