Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Maven

CVE-2022-21653

MEDIUM

Hash collision in typelevel jawn

Also known asGHSA-vc89-hccf-rq55
Published
Jan 5, 2022
Updated
Apr 10, 2026
Affected
18 pkgs
Patched
3 / 18
Exploits
1 known

EPSS Exploitation Probability

via FIRST.org ↗
0.8%probability of exploitation in next 30 days
Lower Risk52th percentile+0.65%
0.00%0.43%0.86%1.29%0.1%0.8%Dec 25Apr 26Jun 26

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

Blast Radius

18 pkgs affected
org.typelevel:jawn-parser_0.25org.typelevel:jawn-parsergorg.typelevel:jawn-parser_0.27org.typelevel:jawn-parser_2.10org.typelevel:jawn-parser_2.11org.typelevel:jawn-parser_2.12org.typelevel:jawn-parser_2.13org.typelevel:jawn-parser_2.13.0-M5+10 more

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

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.

Affected Packages

18 total 3 fixed
EcosystemPackageVulnerable rangeFix
Mavenorg.typelevel:jawn-parser_0.25all versionsNo fix
Mavenorg.typelevel:jawn-parsergall versionsNo fix
Mavenorg.typelevel:jawn-parser_0.27all versionsNo fix
Mavenorg.typelevel:jawn-parser_2.10all versionsNo fix
Mavenorg.typelevel:jawn-parser_2.11all versionsNo fix
Mavenorg.typelevel:jawn-parser_2.12all versions1.3.2
Exploits & PoCs
1

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.typelevel:jawn-parser_0.25. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    No patched version of org.typelevel:jawn-parser_0.25 has shipped for CVE-2022-21653 yet. Where your build allows, override or pin the dependency away from the vulnerable range, and apply any maintainer-recommended mitigation.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether CVE-2022-21653 is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to CVE-2022-21653. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2022-21653 in your dependencies?

O3 detects CVE-2022-21653 across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.

CVE-2022-21653: Hash collision in typelevel jawn (Medium 5.9) | O3 Security