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.
{ "nvd_published_at": "2023-07-07T10:15:09Z", "cwe_ids": [ "CWE-502" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2023-07-07T18:32:03Z" }