cve.bz

CVE-2022-21653 typelevel jawn: Inadequate Encryption Strength

7.5 highExploit referenceEPSS 0.8%Fix available

High (7.5) in typelevel jawn. EPSS 0.8% estimated probability of exploitation activity in the next 30 days. Fixed in org.typelevel:jawn-parser_2.12 1.3.2.

On this page
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.

Severity

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
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 58th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-04-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-326 Inadequate Encryption Strength
CWE-400 Uncontrolled Resource Consumption
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-21653 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-21653?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-21653?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-21653 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
typelevel:jawnbefore 1.3.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vc89-hccf-rq55Mavenorg.typelevel:jawn-parser_0.25all versionsno fix published
GHSA-vc89-hccf-rq55Mavenorg.typelevel:jawn-parsergall versionsno fix published
GHSA-vc89-hccf-rq55Mavenorg.typelevel:jawn-parser_0.27all versionsno fix published
GHSA-vc89-hccf-rq55Mavenorg.typelevel:jawn-parser_2.10all versionsno fix published
GHSA-vc89-hccf-rq55Mavenorg.typelevel:jawn-parser_2.11all versionsno fix published
GHSA-vc89-hccf-rq55Mavenorg.typelevel:jawn-parser_2.12<1.3.21.3.2
GHSA-vc89-hccf-rq55Mavenorg.typelevel:jawn-parser_2.13<1.3.21.3.2
GHSA-vc89-hccf-rq55Mavenorg.typelevel:jawn-parser_2.13.0-M5all versionsno fix published
GHSA-vc89-hccf-rq55Mavenorg.typelevel:jawn-parser_2.13.0-RC1all versionsno fix published
GHSA-vc89-hccf-rq55Mavenorg.typelevel:jawn-parser_2.13.0-RC2all versionsno fix published
GHSA-vc89-hccf-rq55Mavenorg.typelevel:jawn-parser_2.13.0-RC3all versionsno fix published
GHSA-vc89-hccf-rq55Mavenorg.typelevel:jawn-parser_3<1.3.21.3.2
GHSA-vc89-hccf-rq55Mavenorg.typelevel:jawn-parser_3.0.0-M1all versionsno fix published
GHSA-vc89-hccf-rq55Mavenorg.typelevel:jawn-parser_3.0.0-M2all versionsno fix published
GHSA-vc89-hccf-rq55Mavenorg.typelevel:jawn-parser_3.0.0-M3all versionsno fix published
GHSA-vc89-hccf-rq55Mavenorg.typelevel:jawn-parser_3.0.0-RC1all versionsno fix published
GHSA-vc89-hccf-rq55Mavenorg.typelevel:jawn-parser_3.0.0-RC2all versionsno fix published
GHSA-vc89-hccf-rq55Mavenorg.typelevel:jawn-parser_3.0.0-RC3all versionsno fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 3 morejawnno fix listedUBUNTU-CVE-2022-21653
SUSEPackage Hub 15 SP2jawn0.14.1-bp152.2.3.1openSUSE-SU-2022:0045-1
SUSEPackage Hub 15 SP3jawn0.14.1-bp153.2.3.1openSUSE-SU-2022:0011-1
openSUSELeap 15.3jawn0.14.1-3.3.1openSUSE-SU-2022:0106-1
openSUSELeap 15.3jawn0.14.1-bp153.2.3.1openSUSE-SU-2022:0011-1

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · SUSE · openSUSE.

Attack patterns (CAPEC)

  • CAPEC-20 Encryption Brute Forcing Likelihood: Low · Severity: Low
  • CAPEC-112 Brute Force Severity: High
  • CAPEC-192 Protocol Analysis Likelihood: Low · Severity: Low
  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON