CVE-2022-21653
HIGH 7.5CVSS 3.1Hash collision in typelevel jawn
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.
- Published
- 5 Jan 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-326CWE-400
- Also known as
- GHSA-vc89-hccf-rq55
- Sources
- NVDJSONOSV GHSA-vc89-hccf-rq55JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | typelevel | jawncpe:2.3:a:typelevel:jawn:*:*:*:*:*:*:*:* |
< 1.3.2 | 1.3.2 |
| OSV | Maven | org.typelevel:jawn-parser_0.25 | all versions | |
| OSV | Maven | org.typelevel:jawn-parserg | all versions | |
| OSV | Maven | org.typelevel:jawn-parser_0.27 | all versions | |
| OSV | Maven | org.typelevel:jawn-parser_2.10 | all versions | |
| OSV | Maven | org.typelevel:jawn-parser_2.11 | all versions | |
| OSV | Maven | org.typelevel:jawn-parser_2.12 | < 1.3.2 | 1.3.2 |
| OSV | Maven | org.typelevel:jawn-parser_2.13 | < 1.3.2 | 1.3.2 |
| OSV | Maven | org.typelevel:jawn-parser_2.13.0-M5 | all versions | |
| OSV | Maven | org.typelevel:jawn-parser_2.13.0-RC1 | all versions | |
| OSV | Maven | org.typelevel:jawn-parser_2.13.0-RC2 | all versions | |
| OSV | Maven | org.typelevel:jawn-parser_2.13.0-RC3 | all versions | |
| OSV | Maven | org.typelevel:jawn-parser_3 | < 1.3.2 | 1.3.2 |
| OSV | Maven | org.typelevel:jawn-parser_3.0.0-M1 | all versions | |
| OSV | Maven | org.typelevel:jawn-parser_3.0.0-M2 | all versions | |
| OSV | Maven | org.typelevel:jawn-parser_3.0.0-M3 | all versions | |
| OSV | Maven | org.typelevel:jawn-parser_3.0.0-RC1 | all versions | |
| OSV | Maven | org.typelevel:jawn-parser_3.0.0-RC2 | all versions | |
| OSV | Maven | org.typelevel:jawn-parser_3.0.0-RC3 | all versions |
References
- https://github.com/typelevel/jawn/pull/390 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB
- https://github.com/typelevel/jawn/security/advisories/GHSA-vc89-hccf-rq55 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-21653 · ADVISORY
- https://github.com/typelevel/jawn · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 5 Jan 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 6 Jan 2022)