MODERATE 5.3

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)

ArtifactAffected versionsFixed in
org.apache.johnzon » johnzon-mapper
< 1.2.21
1.2.21

Blast radius

1affected artifacts
52affected versions
541dependent artifacts (est.)
8,649dependent versions

19% of the dependent artifacts (103) still pull an affected version in their latest release.

DepthDependent versions
Direct
961
2 hops
2,346
3 hops
2,615
4 hops
1,290
5 hops
848
6 hops
589

Most used dependents

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

Advisorynvd.nist.gov
Packagegithub.com
Webgithub.com
Webissues.apache.org
Weblists.apache.org