CVE-2023-33008: Apache Johnzon: Prevent inefficient internal conversion from BigDecimal at large scale
Apache Johnzon is vulnerable to a denial of service, caused by an unsafe deserialization flaw in BigDecimal. By sending a specially crafted JSON input, a remote attacker could exploit this vulnerability to cause a slow conversion, and results in a denial of service condition.
Other sources
Deserialization of Untrusted Data vulnerability in Apache Software Foundation Apache Johnzon.
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.
Deserialization of Untrusted Data vulnerability in Apache Software Foundation Apache Johnzon.
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.
Affected versions: Apache Johnzon through 1.2.20
References:
https://johnzon.apache.org/ https://www.cve.org/CVERecord?id=CVE-2023-33008 https://issues.apache.org/jira/browse/JOHNZON-397
— Red Hat
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2023-33008?
CVE-2023-33008 is classified as a medium severity vulnerability.
How do I fix CVE-2023-33008?
To address CVE-2023-33008, upgrade Apache Johnzon to version 1.2.21 or later.
What products are affected by CVE-2023-33008?
CVE-2023-33008 affects all versions of Apache Johnzon prior to 1.2.21.
What type of vulnerability is CVE-2023-33008?
CVE-2023-33008 is a denial of service vulnerability due to unsafe deserialization in BigDecimal.
Can CVE-2023-33008 be exploited remotely?
Yes, CVE-2023-33008 can be exploited remotely through specially crafted JSON input.