title: Apache Johnzon: Prevent inefficient internal conversion from BigDecimal at large scale
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.
problem types: CWE-502 Deserialization of Untrusted Data
affected:
{
defaultStatus: affected
product: Apache Johnzon
vendor: Apache Software Foundation
versions:
lessThanOrEqual: 1.2.20, status: affected, version: 0, versionType: 1.2.21
}
metrics:
other: [
content: {'text': 'important'}
type: Textual description of severity
]