Resource exhaustion in Typelevel Jawn
CVE-2022-21653
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.
Vulnerability class: DoS (Denial of Service)
EPSS: 0.008 (52.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Typelevel Jawn — versions < 1.3.2
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Patch, Third Party Advisory)
- security-advisories@github.com (Exploit, Patch, Third Party Advisory, x_refsource_MISC, Issue Tracking)
Frequently asked questions
- What is CVE-2022-21653?
- CVE-2022-21653 is a medium-severity vulnerability in Typelevel Jawn, classified under Uncontrolled Resource Consumption. CVSS score: 5.9/10. Published 2022-01-05.
- How severe is CVE-2022-21653?
- Medium severity. CVSS v3 base score is 5.9 out of 10.