Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS12Yzg5LWhjY2YtcnE1Nc0hAg

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:

Unaffected implementations include:

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

For more information

If you have any questions or comments about this advisory:

Permalink: https://github.com/advisories/GHSA-vc89-hccf-rq55
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS12Yzg5LWhjY2YtcnE1Nc0hAg
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: almost 3 years ago
Updated: almost 2 years ago


CVSS Score: 5.9
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS Percentage: 0.00117
EPSS Percentile: 0.46529

Identifiers: GHSA-vc89-hccf-rq55, CVE-2022-21653
References: Repository: https://github.com/typelevel/jawn
Blast Radius: 1.0

Affected Packages

maven:org.typelevel:jawn-parser
Affected Version Ranges: < 1.3.2
Fixed in: 1.3.2