CVE-2022-21653Typelevel Jawn
High 7.5 No auth needed
Follow: this CVE · Typelevel · Typelevel Jawn We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 52
- Auth required
- No
- Published
- Jan 5, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Jawn.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.typelevel:jawn-parser_0.25 |
all |
no fixed version | — |
| Maven | org.typelevel:jawn-parser_0.27 |
all |
no fixed version | — |
| Maven | org.typelevel:jawn-parser_2.10 |
all |
no fixed version | — |
| Maven | org.typelevel:jawn-parser_2.11 |
all |
no fixed version | — |
| Maven | org.typelevel:jawn-parser_2.12 |
< 1.3.2 |
1.3.2 |
— |
| Maven | org.typelevel:jawn-parser_2.13 |
< 1.3.2 |
1.3.2 |
— |
| Maven | org.typelevel:jawn-parser_2.13.0-M5 |
all |
no fixed version | — |
| Maven | org.typelevel:jawn-parser_2.13.0-RC1 |
all |
no fixed version | — |
| Maven | org.typelevel:jawn-parser_2.13.0-RC2 |
all |
no fixed version | — |
| Maven | org.typelevel:jawn-parser_2.13.0-RC3 |
all |
no fixed version | — |
| Maven | org.typelevel:jawn-parser_3 |
< 1.3.2 |
1.3.2 |
— |
| Maven | org.typelevel:jawn-parser_3.0.0-M1 |
all |
no fixed version | — |
| Maven | org.typelevel:jawn-parser_3.0.0-M2 |
all |
no fixed version | — |
| Maven | org.typelevel:jawn-parser_3.0.0-M3 |
all |
no fixed version | — |
| Maven | org.typelevel:jawn-parser_3.0.0-RC1 |
all |
no fixed version | — |
| Maven | org.typelevel:jawn-parser_3.0.0-RC2 |
all |
no fixed version | — |
| Maven | org.typelevel:jawn-parser_3.0.0-RC3 |
all |
no fixed version | — |
| Maven | org.typelevel:jawn-parserg |
all |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-vc89-hccf-rq55). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| typelevel | jawn | < 1.3.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking Patch
- github.com Patch Third Party Advisory