Skip to content
OpenAdvisories
Medium · 5.3 CVE-2023-33008 EUVD-2023-2038GHSA-crqg-jrpj-fc84

Apache Johnzon: Prevent inefficient internal conversion from BigDecimal at large scale

Published Jul 7, 2023 · Updated Oct 7, 2024 · Assigned by apache

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Johnzon ≤ 1.2.20 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.johnzon:johnzon-mapper < 1.2.21 1.2.21 GHSA-crqg-jrpj-fc84

Advisories 2

References