CVEfocus › CVE database › CVE-2022-21653

CVE-2022-21653Hash collision in typelevel jawn

CVSS 5.9 MediumEPSS 0.8% (higher than 52% of CVEs)Published 2022-01-05Updated 2025-04-22Assigner: GitHub_M

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.

CWE-400

What to do

Fixed builds are available from Maven: see the table below for the fixed version per release.

Maven, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
16Fix pending
3Under investigation
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10jawnFix pendingUBUNTU-CVE-2022-21653
Ubuntu 26.04jawnUnder investigationUBUNTU-CVE-2022-21653
Ubuntu 25.10jawnWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-21653
Ubuntu 24.04jawnUnder investigationUBUNTU-CVE-2022-21653
Ubuntu 22.04jawnUnder investigationUBUNTU-CVE-2022-21653
Ubuntu 20.04jawnWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-21653
Maven libraryorg.typelevel:jawn-parser_0.25Fix pendingGHSA-vc89-hccf-rq55
Maven libraryorg.typelevel:jawn-parser_0.27Fix pendingGHSA-vc89-hccf-rq55
Maven libraryorg.typelevel:jawn-parser_2.10Fix pendingGHSA-vc89-hccf-rq55
Maven libraryorg.typelevel:jawn-parser_2.11Fix pendingGHSA-vc89-hccf-rq55
Maven libraryorg.typelevel:jawn-parser_2.12Fixed1.3.2GHSA-vc89-hccf-rq55
Maven libraryorg.typelevel:jawn-parser_2.13Fixed1.3.2GHSA-vc89-hccf-rq55
Maven libraryorg.typelevel:jawn-parser_2.13.0-m5Fix pendingGHSA-vc89-hccf-rq55
Maven libraryorg.typelevel:jawn-parser_2.13.0-rc1Fix pendingGHSA-vc89-hccf-rq55
Maven libraryorg.typelevel:jawn-parser_2.13.0-rc2Fix pendingGHSA-vc89-hccf-rq55
Maven libraryorg.typelevel:jawn-parser_2.13.0-rc3Fix pendingGHSA-vc89-hccf-rq55
Maven libraryorg.typelevel:jawn-parser_3Fixed1.3.2GHSA-vc89-hccf-rq55
Maven libraryorg.typelevel:jawn-parser_3.0.0-m1Fix pendingGHSA-vc89-hccf-rq55
Maven libraryorg.typelevel:jawn-parser_3.0.0-m2Fix pendingGHSA-vc89-hccf-rq55
Maven libraryorg.typelevel:jawn-parser_3.0.0-m3Fix pendingGHSA-vc89-hccf-rq55
Maven libraryorg.typelevel:jawn-parser_3.0.0-rc1Fix pendingGHSA-vc89-hccf-rq55
Maven libraryorg.typelevel:jawn-parser_3.0.0-rc2Fix pendingGHSA-vc89-hccf-rq55
Maven libraryorg.typelevel:jawn-parser_3.0.0-rc3Fix pendingGHSA-vc89-hccf-rq55
Maven libraryorg.typelevel:jawn-parsergFix pendingGHSA-vc89-hccf-rq55

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.