CVEvulnerability
CVE-2022-21653
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-01-05
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 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 ([email protected])
- 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 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-326, CWE-400
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 configurations
• typelevel jawn (< 1.3.2)
Related
References
- https://github.com/typelevel/jawn/pull/390 Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/typelevel/jawn/security/advisories/GHSA-vc89-hccf-rq55 Patch, Third Party Advisory
- https://github.com/typelevel/jawn/pull/390 Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/typelevel/jawn/security/advisories/GHSA-vc89-hccf-rq55 Patch, Third Party Advisory