CVE-2022-21653
Hash collision in typelevel jawn
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. CISA's SSVC rates its exploitation: a proof of concept is public.
Timeline
ID reserved
By GitHub_M
- 50 days later
· 50 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.82% · top 43% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.9.
Weakness
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.typelevel:jawn-parser_0.25GHSA-vc89-hccf-rq55 (opens in a new tab)
- Mavenorg.typelevel:jawn-parser_0.27GHSA-vc89-hccf-rq55 (opens in a new tab)
- Mavenorg.typelevel:jawn-parser_2.10GHSA-vc89-hccf-rq55 (opens in a new tab)
- Mavenorg.typelevel:jawn-parser_2.11GHSA-vc89-hccf-rq55 (opens in a new tab)
- Mavenorg.typelevel:jawn-parser_2.12GHSA-vc89-hccf-rq55 (opens in a new tab)
- Mavenorg.typelevel:jawn-parser_2.13GHSA-vc89-hccf-rq55 (opens in a new tab)
- Mavenorg.typelevel:jawn-parser_2.13.0-M5GHSA-vc89-hccf-rq55 (opens in a new tab)
- Mavenorg.typelevel:jawn-parser_2.13.0-RC1GHSA-vc89-hccf-rq55 (opens in a new tab)
- Mavenorg.typelevel:jawn-parser_2.13.0-RC2GHSA-vc89-hccf-rq55 (opens in a new tab)
- Mavenorg.typelevel:jawn-parser_2.13.0-RC3GHSA-vc89-hccf-rq55 (opens in a new tab)
- Mavenorg.typelevel:jawn-parser_3GHSA-vc89-hccf-rq55 (opens in a new tab)
- Mavenorg.typelevel:jawn-parser_3.0.0-M1GHSA-vc89-hccf-rq55 (opens in a new tab)
- Mavenorg.typelevel:jawn-parser_3.0.0-M2GHSA-vc89-hccf-rq55 (opens in a new tab)
- Mavenorg.typelevel:jawn-parser_3.0.0-M3GHSA-vc89-hccf-rq55 (opens in a new tab)
- Mavenorg.typelevel:jawn-parser_3.0.0-RC1GHSA-vc89-hccf-rq55 (opens in a new tab)
- Mavenorg.typelevel:jawn-parser_3.0.0-RC2GHSA-vc89-hccf-rq55 (opens in a new tab)
- Mavenorg.typelevel:jawn-parser_3.0.0-RC3GHSA-vc89-hccf-rq55 (opens in a new tab)
- Mavenorg.typelevel:jawn-parsergGHSA-vc89-hccf-rq55 (opens in a new tab)
References (2)
- https://github.com/typelevel/jawn/security/advisories/GHSA-vc89-hccf-rq55 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/typelevel/jawn/pull/390 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-vc89-hccf-rq55 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-21653)Record last updated .