CVE-2022-21653
Hash 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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
5.9
Hash 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.
- Record
CVE-2022-21653- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-400
- Updated
- 2026-11-02
EUVDEUVD-2022-0702
5.9
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.
- Record
EUVD-2022-0702- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-vc89-hccf-rq55
5.9
Hash collision in typelevel jawn
Impact
Extenders of the org.typelevel.jawn.SimpleFacade and org.typelevel.jawn.MutableFacade who don't override objectContext() are vulnerable to a hash collision attack. Most applications do not implement these traits directly, but inherit from a library:
Affected implementations include:
org.http4s::http4s-play-jsonorg.typelevel :: jawn-ast(< 0.8.0)org.typelevel :: jawn-play(discontinued)org.typelevel :: jawn-rojoma(discontinued)org.typelevel :: jawn-spray(discontinued)
Unaffected implementations include:
io.argonaut :: argonaut-jawnio.circe :: circe-parserorg.typelevel :: jawn-ast(>= 0.8.0)org.typelevel :: jawn-json4s(discontinued)org.typelevel :: jawn-argonaut(discontinued)
Patches
jawn-parser-1.3.2 fixes the issue.
Workarounds
Override objectContext() to use a collision-safe collection. See the patch for an example in both SimpleFacade and MutableFacade.
References
Credits
- @kag0, for the report and the patch
For more information
If you have any questions or comments about this advisory:
- Open an issue in typelevel/jawn
- E-mail a maintainer:
- Record
GHSA-vc89-hccf-rq55- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-326, CWE-400
- Updated
- 2026-11-02
NVD
5.9
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.
- Record
CVE-2022-21653- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-400, CWE-326
- Updated
- 2026-11-02
OSV
5.9
Hash 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.
- Record
CVE-2022-21653- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-400
- Updated
- 2026-11-02
OSVGHSA-vc89-hccf-rq55
5.9
Hash collision in typelevel jawn
Impact
Extenders of the org.typelevel.jawn.SimpleFacade and org.typelevel.jawn.MutableFacade who don't override objectContext() are vulnerable to a hash collision attack. Most applications do not implement these traits directly, but inherit from a library:
Affected implementations include:
org.http4s::http4s-play-jsonorg.typelevel :: jawn-ast(< 0.8.0)org.typelevel :: jawn-play(discontinued)org.typelevel :: jawn-rojoma(discontinued)org.typelevel :: jawn-spray(discontinued)
Unaffected implementations include:
io.argonaut :: argonaut-jawnio.circe :: circe-parserorg.typelevel :: jawn-ast(>= 0.8.0)org.typelevel :: jawn-json4s(discontinued)org.typelevel :: jawn-argonaut(discontinued)
Patches
jawn-parser-1.3.2 fixes the issue.
Workarounds
Override objectContext() to use a collision-safe collection. See the patch for an example in both SimpleFacade and MutableFacade.
References
Credits
- @kag0, for the report and the patch
For more information
If you have any questions or comments about this advisory:
- Open an issue in typelevel/jawn
- E-mail a maintainer:
- Record
GHSA-vc89-hccf-rq55- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-326, CWE-400
- Updated
- 2026-11-02
Show 5 moreShow less
OSVUBUNTU-CVE-2022-21653
5.9
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.
- Record
UBUNTU-CVE-2022-21653- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2022:0011-1 No score
Security update for jawn
This update for jawn fixes the following issues:
- CVE-2022-21653: DoS caused by a hash collision in SimpleFacade and MutableFacade (boo#1194358)
- Record
openSUSE-SU-2022:0011-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2022:0045-1 No score
Security update for jaw
jawn was updated to fix:
- CVE-2022-21653: DoS caused by a hash collision in SimpleFacade and MutableFacade (bsc#1194358)
- Record
openSUSE-SU-2022:0045-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2022:0106-1 No score
Security update for jawn
This update for jawn fixes the following issues:
- CVE-2022-21653: Fixed DoS caused by a hash collision in SimpleFacade and MutableFacade (bsc#1194358).
- Record
openSUSE-SU-2022:0106-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11718-1 No score
jawn-ast-0.14.1-2.1 on GA media
These are all security issues fixed in the jawn-ast-0.14.1-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11718-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.typelevel:jawn-parser_0.25Maven |
before 1.3.2 | 1.3.2 |
org.typelevel:jawn-parsergMaven |
before 1.3.2 | 1.3.2 |
org.typelevel:jawn-parser_0.27Maven |
before 1.3.2 | 1.3.2 |
org.typelevel:jawn-parser_2.10Maven |
before 1.3.2 | 1.3.2 |
org.typelevel:jawn-parser_2.11Maven |
before 1.3.2 | 1.3.2 |
org.typelevel:jawn-parser_2.12Maven |
before 1.3.2 | 1.3.2 |
org.typelevel:jawn-parser_2.13Maven |
before 1.3.2 | 1.3.2 |
org.typelevel:jawn-parser_2.13.0-M5Maven |
before 1.3.2 | 1.3.2 |
org.typelevel:jawn-parser_2.13.0-RC1Maven |
before 1.3.2 | 1.3.2 |
org.typelevel:jawn-parser_2.13.0-RC2Maven |
before 1.3.2 | 1.3.2 |
Show 36 moreShow less
| Package | Affected | Fixed |
|---|---|---|
org.typelevel:jawn-parser_2.13.0-RC3Maven |
before 1.3.2 | 1.3.2 |
org.typelevel:jawn-parser_3Maven |
before 1.3.2 | 1.3.2 |
org.typelevel:jawn-parser_3.0.0-M1Maven |
before 1.3.2 | 1.3.2 |
org.typelevel:jawn-parser_3.0.0-M2Maven |
before 1.3.2 | 1.3.2 |
org.typelevel:jawn-parser_3.0.0-M3Maven |
before 1.3.2 | 1.3.2 |
org.typelevel:jawn-parser_3.0.0-RC1Maven |
before 1.3.2 | 1.3.2 |
org.typelevel:jawn-parser_3.0.0-RC2Maven |
before 1.3.2 | 1.3.2 |
org.typelevel:jawn-parser_3.0.0-RC3Maven |
before 1.3.2 | 1.3.2 |
org.typelevel:jawn-parser_0.25Maven |
All versions, plus listed versions 1.0.0 |
None known |
org.typelevel:jawn-parsergMaven |
All versions | None known |
org.typelevel:jawn-parser_0.27Maven |
All versions, plus listed versions 1.0.01.0.11.0.2 |
None known |
org.typelevel:jawn-parser_2.10Maven |
All versions, plus listed versions 0.14.00.14.1 |
None known |
org.typelevel:jawn-parser_2.11Maven |
All versions, plus listed versions 0.14.00.14.10.14.20.14.31.0.0-RC11.0.0-RC2 |
None known |
org.typelevel:jawn-parser_2.12Maven |
before 1.3.2, plus listed versions 0.14.00.14.10.14.20.14.31.0.0 Show 13 moreShow less1.0.0-RC11.0.0-RC21.0.0-RC31.0.0-RC41.0.11.0.21.0.31.1.01.1.11.1.21.2.01.3.01.3.1 |
1.3.2 |
org.typelevel:jawn-parser_2.13Maven |
before 1.3.2, plus listed versions 0.14.20.14.31.0.01.0.0-RC11.0.0-RC2 Show 11 moreShow less1.0.0-RC31.0.0-RC41.0.11.0.21.0.31.1.01.1.11.1.21.2.01.3.01.3.1 |
1.3.2 |
org.typelevel:jawn-parser_2.13.0-M5Maven |
All versions, plus listed versions 0.14.00.14.1 |
None known |
org.typelevel:jawn-parser_2.13.0-RC1Maven |
All versions, plus listed versions 0.14.2 |
None known |
org.typelevel:jawn-parser_2.13.0-RC2Maven |
All versions, plus listed versions 0.14.2 |
None known |
org.typelevel:jawn-parser_2.13.0-RC3Maven |
All versions, plus listed versions 0.14.2 |
None known |
org.typelevel:jawn-parser_3Maven |
before 1.3.2, plus listed versions 1.1.21.2.01.3.01.3.1 |
1.3.2 |
org.typelevel:jawn-parser_3.0.0-M1Maven |
All versions, plus listed versions 1.0.11.0.2 |
None known |
org.typelevel:jawn-parser_3.0.0-M2Maven |
All versions, plus listed versions 1.0.21.0.3 |
None known |
org.typelevel:jawn-parser_3.0.0-M3Maven |
All versions, plus listed versions 1.0.31.1.0 |
None known |
org.typelevel:jawn-parser_3.0.0-RC1Maven |
All versions, plus listed versions 1.1.01.1.1 |
None known |
org.typelevel:jawn-parser_3.0.0-RC2Maven |
All versions, plus listed versions 1.1.11.1.2 |
None known |
org.typelevel:jawn-parser_3.0.0-RC3Maven |
All versions, plus listed versions 1.1.2 |
None known |
jawnUbuntu:20.04:LTS |
All versions, plus listed versions 0.11.1+really0.6.0-1 |
None known |
jawnUbuntu:22.04:LTS |
All versions, plus listed versions 0.11.1+really0.6.0-1 |
None known |
jawnUbuntu:24.04:LTS |
All versions, plus listed versions 0.11.1+really0.6.0-1 |
None known |
jawnUbuntu:25.10 |
All versions, plus listed versions 0.11.1+really0.6.0-1 |
None known |
jawnUbuntu:26.10 |
All versions, plus listed versions 0.11.1+really0.6.0-1build1 |
None known |
jawnUbuntu:26.04:LTS |
All versions, plus listed versions 0.11.1+really0.6.0-10.11.1+really0.6.0-1build1 |
None known |
jawnSUSE:Package Hub 15 SP3 |
before 0.14.1-bp153.2.3.1 | 0.14.1-bp153.2.3.1 |
jawnopenSUSE:Leap 15.3 |
before 0.14.1-bp153.2.3.1 | 0.14.1-bp153.2.3.1 |
jawnSUSE:Package Hub 15 SP2 |
before 0.14.1-bp152.2.3.1 | 0.14.1-bp152.2.3.1 |
jawnopenSUSE:Leap 15.3 |
before 0.14.1-3.3.1 | 0.14.1-3.3.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-21653 is a medium vulnerability (CVSS 5.9) in Typelevel Jawn, published January 5, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.82%, the 57th percentile. Fixed in org.typelevel:jawn-parser_0.25 1.3.2.
References
github.com/typelevel/jawn/security/advisories/GHSA-vc89-hccf-rq55
github.com/typelevel/jawn/pull/390
nvd.nist.gov/vuln/detail/CVE-2022-21653
github.com/advisories/GHSA-vc89-hccf-rq55
github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21653.json
github.com/typelevel/jawn
Show 7 moreShow less
ubuntu.com/security/CVE-2022-21653
cve.org/CVERecord?id=CVE-2022-21653
lists.opensuse.org/archives/list/[email protected]/thread/LN5Z3Y5OA2VGDDD23VAZE2P4IULBASWF
bugzilla.suse.com/1194358
suse.com/security/cve/CVE-2022-21653
lists.opensuse.org/archives/list/[email protected]/thread/JX7DHIBOHVUYZIPBBRVCZ2DBCRAZALDM
lists.opensuse.org/archives/list/[email protected]/thread/OBUO7H3LKGBHC4SODDIXNRMKJH3PIZ7M