~ / search / GHSA-crqg-jrpj-fc84

GHSA-crqg-jrpj-fc84

Apache Johnzon Deserialization of Untrusted Data vulnerability

Source: GitHub Advisory Database (reviewed) Moderate CVE-2023-33008

Packages

EcosystemPackageAffectedFixed in
Maven org.apache.johnzon:johnzon-mapper < 1.2.21 1.2.21

Details

As written in the advisory (Markdown source, shown as plain text).

A malicious attacker can craft up some JSON input that uses large numbers (numbers such as 1e20000000) that Apache Johnzon will deserialize into BigDecimal and maybe use numbers too large which may result in a slow conversion (Denial of service risk). Apache Johnzon 1.2.21 mitigates this by setting a scale limit of 1000 (by default) to the BigDecimal. This issue affects Apache Johnzon through 1.2.20.

References

External links from the advisory. They lead to third-party sites.