Vulnerability · Published Jul 7, 2023 · Assigned by apache
CVE-2023-33008Apache Johnzon: Prevent inefficient internal conversion from BigDecimal at large scale
Medium 5.3
In plain English
A medium-severity unsafe deserialization in Apache Johnzon from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.apache.johnzon:johnzon-mapper | 1.2.21 | GHSA-crqg-jrpj-fc84 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Johnzon | 0 – through 1.2.20 |
Weakness: CWE-502 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References
- https://lists.apache.org/thread/qbg14djo95gfpk7o560lr8wcrzfyw43l vendor-advisory