CVE-2022-21653 typelevel Jawn
| Affected software | typelevel Jawn |
|---|---|
| Severity | 7.5 High CVSS 3.1 3 scores |
| Fixed in | 1.3.2 |
| Weakness | Uncontrolled resource consumption (CWE-400) |
| Published | 5 Jan 2022 |
| Updated | 17 Jun 2026 |
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.
CWE-326
Exploitation status
Proof of concept only
A proof of concept exists, but no reviewed exploit catalogue lists this CVE.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: no, technical impact: partial.
- Indexed PoC none indexed
- EPSS 0.82% chance in 30 days
Waratek protection
Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.
A public code fix exists: typelevel/jawn #390.
- Protection none
- Action unverified
- Review automated Upstream data
- Record active
| Decided by | Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all |
|---|---|
| Finding | This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious. |
| Candidate fix | https://github.com/typelevel/jawn/pull/390 : a pull request: the change under review |
CVSS
7.5 HIGH
v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
3 metrics
CVSS
7.5 HIGH v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
3 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.1 | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
NVD | Primary | published |
| CVSS 3.1 | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
security-advisories@github.com | Secondary | |
| CVSS 2.0 | 5.0 | none | AV:N/AC:L/Au:N/C:N/I:N/A:P |
NVD | Primary |
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.typelevel:jawn-parser_0.25 |
0 | none | unbounded |
org.typelevel:jawn-parserg |
0 | none | unbounded |
org.typelevel:jawn-parser_0.27 |
0 | none | unbounded |
org.typelevel:jawn-parser_2.10 |
0 | none | unbounded |
org.typelevel:jawn-parser_2.11 |
0 | none | unbounded |
org.typelevel:jawn-parser_2.12 |
0 | 1.3.2 |
unbounded |
org.typelevel:jawn-parser_2.13 |
0 | 1.3.2 |
unbounded |
org.typelevel:jawn-parser_2.13.0-M5 |
0 | none | unbounded |
org.typelevel:jawn-parser_2.13.0-RC1 |
0 | none | unbounded |
org.typelevel:jawn-parser_2.13.0-RC2 |
0 | none | unbounded |
org.typelevel:jawn-parser_2.13.0-RC3 |
0 | none | unbounded |
org.typelevel:jawn-parser_3 |
0 | 1.3.2 |
unbounded |
org.typelevel:jawn-parser_3.0.0-M1 |
0 | none | unbounded |
org.typelevel:jawn-parser_3.0.0-M2 |
0 | none | unbounded |
org.typelevel:jawn-parser_3.0.0-M3 |
0 | none | unbounded |
org.typelevel:jawn-parser_3.0.0-RC1 |
0 | none | unbounded |
org.typelevel:jawn-parser_3.0.0-RC2 |
0 | none | unbounded |
org.typelevel:jawn-parser_3.0.0-RC3 |
0 | none | unbounded |
Products and versions
19 products, 19 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| osv | org.typelevel | jawn-parser_0.25 | generic | any version |
| osv | org.typelevel | jawn-parser_0.27 | generic | any version |
| osv | org.typelevel | jawn-parser_2.10 | generic | any version |
| osv | org.typelevel | jawn-parser_2.11 | generic | any version |
| osv | org.typelevel | jawn-parser_2.12 | generic | < 1.3.2 |
| osv | org.typelevel | jawn-parser_2.13 | generic | < 1.3.2 |
| osv | org.typelevel | jawn-parser_2.13.0-M5 | generic | any version |
| osv | org.typelevel | jawn-parser_2.13.0-RC1 | generic | any version |
| osv | org.typelevel | jawn-parser_2.13.0-RC2 | generic | any version |
| osv | org.typelevel | jawn-parser_2.13.0-RC3 | generic | any version |
| osv | org.typelevel | jawn-parser_3 | generic | < 1.3.2 |
| osv | org.typelevel | jawn-parser_3.0.0-M1 | generic | any version |
| osv | org.typelevel | jawn-parser_3.0.0-M2 | generic | any version |
| osv | org.typelevel | jawn-parser_3.0.0-M3 | generic | any version |
| osv | org.typelevel | jawn-parser_3.0.0-RC1 | generic | any version |
| osv | org.typelevel | jawn-parser_3.0.0-RC2 | generic | any version |
| osv | org.typelevel | jawn-parser_3.0.0-RC3 | generic | any version |
| osv | org.typelevel | jawn-parserg | generic | any version |
| nvd | typelevel | jawn | generic | < 1.3.2 |
References
| URL | Tags |
|---|---|
| https://github.com/typelevel/jawn/pull/390 | pr |
| https://github.com/typelevel/jawn/security/advisories/GHSA-vc89-hccf-rq55 | WEB |
| https://github.com/typelevel/jawn | PACKAGE |
Timeline
Timeline
| Published | 2022-01-05 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |