CVE-2022-21653
published medium CVSS 3.1 · 5.9Hash collision in typelevel jawn
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| typelevel | — | jawn< 1.3.2 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Leap-15.3 | jawn-astnoarch | Advisory build | 0.14.1-3.3.1 | OPENSUSE-SU-2022:0106-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | jawn-astnoarch | Advisory build | 0.14.1-bp153.2.3.1 | OPENSUSE-SU-2022:0011-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | jawn-json4snoarch | Advisory build | 0.14.1-3.3.1 | OPENSUSE-SU-2022:0106-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | jawn-json4snoarch | Advisory build | 0.14.1-bp153.2.3.1 | OPENSUSE-SU-2022:0011-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | jawn-parsernoarch | Advisory build | 0.14.1-3.3.1 | OPENSUSE-SU-2022:0106-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | jawn-parsernoarch | Advisory build | 0.14.1-bp153.2.3.1 | OPENSUSE-SU-2022:0011-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | jawn-utilnoarch | Advisory build | 0.14.1-3.3.1 | OPENSUSE-SU-2022:0106-1 |
Show 17 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Leap-15.3 | jawn-utilnoarch | Advisory build | 0.14.1-bp153.2.3.1 | OPENSUSE-SU-2022:0011-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jawn-astaarch64 | Advisory build | 0.14.1-2.1 | OPENSUSE-SU-2024:11718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jawn-astppc64le | Advisory build | 0.14.1-2.1 | OPENSUSE-SU-2024:11718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jawn-asts390x | Advisory build | 0.14.1-2.1 | OPENSUSE-SU-2024:11718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jawn-astx86_64 | Advisory build | 0.14.1-2.1 | OPENSUSE-SU-2024:11718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jawn-json4saarch64 | Advisory build | 0.14.1-2.1 | OPENSUSE-SU-2024:11718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jawn-json4sppc64le | Advisory build | 0.14.1-2.1 | OPENSUSE-SU-2024:11718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jawn-json4ss390x | Advisory build | 0.14.1-2.1 | OPENSUSE-SU-2024:11718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jawn-json4sx86_64 | Advisory build | 0.14.1-2.1 | OPENSUSE-SU-2024:11718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jawn-parseraarch64 | Advisory build | 0.14.1-2.1 | OPENSUSE-SU-2024:11718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jawn-parserppc64le | Advisory build | 0.14.1-2.1 | OPENSUSE-SU-2024:11718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jawn-parsers390x | Advisory build | 0.14.1-2.1 | OPENSUSE-SU-2024:11718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jawn-parserx86_64 | Advisory build | 0.14.1-2.1 | OPENSUSE-SU-2024:11718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jawn-utilaarch64 | Advisory build | 0.14.1-2.1 | OPENSUSE-SU-2024:11718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jawn-utilppc64le | Advisory build | 0.14.1-2.1 | OPENSUSE-SU-2024:11718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jawn-utils390x | Advisory build | 0.14.1-2.1 | OPENSUSE-SU-2024:11718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jawn-utilx86_64 | Advisory build | 0.14.1-2.1 | OPENSUSE-SU-2024:11718-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| typelevel | jawn | < 1.3.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-400 CWE-400: Uncontrolled Resource Consumption
References
2Provider assertions
3GitHub_M · cna
Hash collision in typelevel jawn
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7f87d7331aa319b4745486abfbc1133c64b6d7079e4e56d2dd26ea66d20d2e39
- Ingested
- 23 Sep 2026, 07:58:18 UTC
- Source record
- Official CVE record