{"id":"UBUNTU-CVE-2022-21653","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.","modified":"2026-01-20T17:24:22.881051Z","published":"2022-01-05T21:15:00Z","upstream":["CVE-2022-21653"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21653"},{"type":"REPORT","url":"https://github.com/typelevel/jawn/pull/390"},{"type":"REPORT","url":"https://github.com/typelevel/jawn/security/advisories/GHSA-vc89-hccf-rq55"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-21653"}],"affected":[{"package":{"name":"jawn","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/jawn@0.11.1+really0.6.0-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.1+really0.6.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.11.1+really0.6.0-1","binary_name":"libjawn-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21653.json"}},{"package":{"name":"jawn","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/jawn@0.11.1+really0.6.0-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.1+really0.6.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.11.1+really0.6.0-1","binary_name":"libjawn-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21653.json"}},{"package":{"name":"jawn","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/jawn@0.11.1+really0.6.0-1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.1+really0.6.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.11.1+really0.6.0-1","binary_name":"libjawn-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21653.json"}},{"package":{"name":"jawn","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/jawn@0.11.1+really0.6.0-1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.1+really0.6.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.11.1+really0.6.0-1","binary_name":"libjawn-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21653.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}