Hash collision in typelevel jawn
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service, Information disclosure
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-400 and CWE-326.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| http4s | jawn | before 1.3.2 | 1.3.2 | Patch available | CNA |
| — | org.typelevel:jawn-parser_0.25 (Maven) | all versions | — | No fix listed | GHSA-vc89-hccf-rq55 |
| — | org.typelevel:jawn-parserg (Maven) | all versions | — | No fix listed | GHSA-vc89-hccf-rq55 |
| — | org.typelevel:jawn-parser_0.27 (Maven) | all versions | — | No fix listed | GHSA-vc89-hccf-rq55 |
| — | org.typelevel:jawn-parser_2.10 (Maven) | all versions | — | No fix listed | GHSA-vc89-hccf-rq55 |
| — | org.typelevel:jawn-parser_2.11 (Maven) | all versions | — | No fix listed | GHSA-vc89-hccf-rq55 |
| — | org.typelevel:jawn-parser_2.12 (Maven) | before 1.3.2 | 1.3.2 | Patch available | GHSA-vc89-hccf-rq55 |
| — | org.typelevel:jawn-parser_2.13 (Maven) | before 1.3.2 | 1.3.2 | Patch available | GHSA-vc89-hccf-rq55 |
| — | org.typelevel:jawn-parser_2.13.0-M5 (Maven) | all versions | — | No fix listed | GHSA-vc89-hccf-rq55 |
| — | org.typelevel:jawn-parser_2.13.0-RC1 (Maven) | all versions | — | No fix listed | GHSA-vc89-hccf-rq55 |
| — | org.typelevel:jawn-parser_2.13.0-RC2 (Maven) | all versions | — | No fix listed | GHSA-vc89-hccf-rq55 |
| — | org.typelevel:jawn-parser_2.13.0-RC3 (Maven) | all versions | — | No fix listed | GHSA-vc89-hccf-rq55 |
| — | org.typelevel:jawn-parser_3 (Maven) | before 1.3.2 | 1.3.2 | Patch available | GHSA-vc89-hccf-rq55 |
| — | org.typelevel:jawn-parser_3.0.0-M1 (Maven) | all versions | — | No fix listed | GHSA-vc89-hccf-rq55 |
| — | org.typelevel:jawn-parser_3.0.0-M2 (Maven) | all versions | — | No fix listed | GHSA-vc89-hccf-rq55 |
| — | org.typelevel:jawn-parser_3.0.0-M3 (Maven) | all versions | — | No fix listed | GHSA-vc89-hccf-rq55 |
| — | org.typelevel:jawn-parser_3.0.0-RC1 (Maven) | all versions | — | No fix listed | GHSA-vc89-hccf-rq55 |
| — | org.typelevel:jawn-parser_3.0.0-RC2 (Maven) | all versions | — | No fix listed | GHSA-vc89-hccf-rq55 |
| — | org.typelevel:jawn-parser_3.0.0-RC3 (Maven) | all versions | — | No fix listed | GHSA-vc89-hccf-rq55 |
- jawn Vendorhttp4s Affected before 1.3.2 Fixed in 1.3.2 Patch available CNA
- org.typelevel:jawn-parser_0.25 (Maven) Vendor— Affected all versions Fixed in — No fix listed GHSA-vc89-hccf-rq55
- org.typelevel:jawn-parserg (Maven) Vendor— Affected all versions Fixed in — No fix listed GHSA-vc89-hccf-rq55
- org.typelevel:jawn-parser_0.27 (Maven) Vendor— Affected all versions Fixed in — No fix listed GHSA-vc89-hccf-rq55
- org.typelevel:jawn-parser_2.10 (Maven) Vendor— Affected all versions Fixed in — No fix listed GHSA-vc89-hccf-rq55
- org.typelevel:jawn-parser_2.11 (Maven) Vendor— Affected all versions Fixed in — No fix listed GHSA-vc89-hccf-rq55
- org.typelevel:jawn-parser_2.12 (Maven) Vendor— Affected before 1.3.2 Fixed in 1.3.2 Patch available GHSA-vc89-hccf-rq55
- org.typelevel:jawn-parser_2.13 (Maven) Vendor— Affected before 1.3.2 Fixed in 1.3.2 Patch available GHSA-vc89-hccf-rq55
- org.typelevel:jawn-parser_2.13.0-M5 (Maven) Vendor— Affected all versions Fixed in — No fix listed GHSA-vc89-hccf-rq55
- org.typelevel:jawn-parser_2.13.0-RC1 (Maven) Vendor— Affected all versions Fixed in — No fix listed GHSA-vc89-hccf-rq55
- org.typelevel:jawn-parser_2.13.0-RC2 (Maven) Vendor— Affected all versions Fixed in — No fix listed GHSA-vc89-hccf-rq55
- org.typelevel:jawn-parser_2.13.0-RC3 (Maven) Vendor— Affected all versions Fixed in — No fix listed GHSA-vc89-hccf-rq55
- org.typelevel:jawn-parser_3 (Maven) Vendor— Affected before 1.3.2 Fixed in 1.3.2 Patch available GHSA-vc89-hccf-rq55
- org.typelevel:jawn-parser_3.0.0-M1 (Maven) Vendor— Affected all versions Fixed in — No fix listed GHSA-vc89-hccf-rq55
- org.typelevel:jawn-parser_3.0.0-M2 (Maven) Vendor— Affected all versions Fixed in — No fix listed GHSA-vc89-hccf-rq55
- org.typelevel:jawn-parser_3.0.0-M3 (Maven) Vendor— Affected all versions Fixed in — No fix listed GHSA-vc89-hccf-rq55
- org.typelevel:jawn-parser_3.0.0-RC1 (Maven) Vendor— Affected all versions Fixed in — No fix listed GHSA-vc89-hccf-rq55
- org.typelevel:jawn-parser_3.0.0-RC2 (Maven) Vendor— Affected all versions Fixed in — No fix listed GHSA-vc89-hccf-rq55
- org.typelevel:jawn-parser_3.0.0-RC3 (Maven) Vendor— Affected all versions Fixed in — No fix listed GHSA-vc89-hccf-rq55
Remediation
- Fix · CNA jawn (typelevel) Fixed in 1.3.2
- Fix · GHSA-vc89-hccf-rq55 org.typelevel:jawn-parser_2.12 (Maven) Fixed in 1.3.2 Advisory →
- Fix · GHSA-vc89-hccf-rq55 org.typelevel:jawn-parser_2.13 (Maven) Fixed in 1.3.2 Advisory →
- Fix · GHSA-vc89-hccf-rq55 org.typelevel:jawn-parser_3 (Maven) Fixed in 1.3.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-21653
- 2026-10-03 Alias added: GHSA-vc89-hccf-rq55
References
Sources
- CVE-2022-21653 · CVE Program
- CVE-2022-21653 · NVD
- FIRST EPSS
- GHSA-vc89-hccf-rq55 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences