Jawn: Uncontrolled nesting depth in JSON parser
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.5epss 0.6%
exploitation probability
0.6%top 52% of all CVEs
observed exploitation
nono source reports it
Jawn is an open source JSON parser. Prior to 1.7.0, Jawn parse methods accept arbitrarily deep JSON array and object nesting without a depth limit, allowing a remote attacker who can submit untrusted JSON to grow parser contexts until the JVM heap is exhausted. The resulting java.lang.OutOfMemoryError is a fatal Scala error that is not ordinarily handled by scala.util.Try or cats.effect.IO, causing denial of service. This issue is fixed in version 1.7.0.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
typelevel · jawnReferences
https://github.com/typelevel/jawn/commit/191cb3a44e77f1afab439ee636bf66bdf3c54a04https://github.com/typelevel/jawn/commit/6219666641f9408498f85868f835e17bd8a72fedhttps://github.com/typelevel/jawn/commit/93ac93e9c992c11b4c03d5455d8551f9fb24da1bhttps://github.com/typelevel/jawn/commit/f6ace7e0db715de1a8c4618bed9378333a5c2214https://github.com/typelevel/jawn/releases/tag/v1.7.0https://github.com/typelevel/jawn/security/advisories/GHSA-cc4v-rvgp-2pf3