CVE-2023-33008
Apache Johnzon Deserialization of Untrusted Data vulnerability
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.johnzon » johnzon-mapper | < 1.2.21 | 1.2.21 |
Blast radius
19% of the dependent artifacts (103) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 961 |
| 2 hops | 2,346 |
| 3 hops | 2,615 |
| 4 hops | 1,290 |
| 5 hops | 848 |
| 6 hops | 589 |
Most used dependents
- org.apache.camel.springboot » camel-core-starter558 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.apache.camel.quarkus » camel-quarkus-package-maven-plugin152 usages
- org.apache.johnzon » johnzon-jsonb91 usages
- org.apache.camel » camel-catalog87 usages
- org.apache.tomee » openejb-cxf-rs55 usages
- org.apache.johnzon » johnzon-jaxrs48 usages
- org.apache.camel.springboot » camel-jackson-starter37 usages
- org.apache.meecrowave » meecrowave-core32 usages
- org.apache.camel.springboot » camel-servlet-starter31 usages
- org.apache.camel.springboot » camel-http-starter29 usages
- org.apache.meecrowave » meecrowave-junit26 usages
- org.apache.tomee » tomee-jaxrs24 usages
- org.l2x6.cq » cq-maven-plugin22 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2023-33008 | nvd.nist.gov |
| Package | apache/johnzon | github.com |
| Web | apache/johnzon commit 34ad9a6 | github.com |
| Web | jira/browse/JOHNZON-397 | issues.apache.org |
| Web | thread/qbg14djo95gfpk7o560lr8wcrzfyw43l | lists.apache.org |
