This page lists the security vulnerabilities fixed in released versions of Apache Johnzon. To report a new vulnerability, see Report vulnerability.
org.apache.johnzon:johnzon-mapper 1.0.0 before 1.3.1 and 2.0.0 before 2.2.0Unsafe reflection: ClassConverter resolves and statically initializes a class named in untrusted JSON.
Exploitation needs a mapped POJO with a Class attribute and a class with a harmful static initializer on the classpath.
Denial of service: JSON input with very large numbers (e.g. 1e20000000) deserialized into BigDecimal can cause a slow conversion.
Johnzon 1.2.21 limits the BigDecimal scale to 1000 by default. See also BigInteger and Java.