GitHub Advisoryadvisory · Maven
GHSA-crqg-jrpj-fc84 Apache Johnzon Deserialization of Untrusted Data vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2023-33008
- Ecosystem
- Maven
- Packages
- org.apache.johnzon:johnzon-mapper
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Weaknesses
- CWE-502
- Reviewed
- 2023-07-07
Affected packages
• Maven org.apache.johnzon:johnzon-mapper: < 1.2.21 → fixed in 1.2.21
Description
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.
Related
Alias · CVE (1)
- CVE-2023-33008 Deserialization of Untrusted Data vulnerability in Apache Software Foundation Apache Johnzon. vulnerability
Weakness · CWE (1)
- CWE-502 Deserialization of Untrusted Data weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-33008 advisory
- https://github.com/apache/johnzon/commit/34ad9a6b296ae7b4667c3cf0037998e451499ea4 web
- https://github.com/apache/johnzon package
- https://issues.apache.org/jira/browse/JOHNZON-397 web
- https://lists.apache.org/thread/qbg14djo95gfpk7o560lr8wcrzfyw43l web