CVE-2022-21653
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.79%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 0.79% probability · 54th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-400, CWE-326
- Affected
- typelevel/jawn
- Source
- security-advisories@github.com
References
- https://github.com/typelevel/jawn/pull/390Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/typelevel/jawn/security/advisories/GHSA-vc89-hccf-rq55Patch, Third Party Advisory
- https://github.com/typelevel/jawn/pull/390Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/typelevel/jawn/security/advisories/GHSA-vc89-hccf-rq55Patch, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.