CVE-2022-21653

MEDIUM

jawn < 1.3.2 - Denial of Service via Hash Collision in SimpleFacade and MutableFacade

Title source: llm
STIX 2.1

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.

References (2)

Core 2
Core References
Patch, Third Party Advisory x_refsource_confirm
https://github.com/typelevel/jawn/security/advisories/GHSA-vc89-hccf-rq55
Exploit, Issue Tracking, Patch, Third Party Advisory x_refsource_misc
https://github.com/typelevel/jawn/pull/390

Scores

CVSS v3 5.9
EPSS 0.0079
EPSS Percentile 51.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-326 CWE-400
Status published
Products (19)
org.typelevel/jawn-parser_0.25 0Maven
org.typelevel/jawn-parser_0.27 0Maven
org.typelevel/jawn-parser_2.10 0Maven
org.typelevel/jawn-parser_2.11 0Maven
org.typelevel/jawn-parser_2.12 0 - 1.3.2Maven
org.typelevel/jawn-parser_2.13 0 - 1.3.2Maven
org.typelevel/jawn-parser_2.13.0-M5 0Maven
org.typelevel/jawn-parser_2.13.0-RC1 0Maven
org.typelevel/jawn-parser_2.13.0-RC2 0Maven
org.typelevel/jawn-parser_2.13.0-RC3 0Maven
... and 9 more
Published Jan 05, 2022
Tracked Since Feb 18, 2026