PT-2023-4628 · Apache · Apache Johnzon

Jean-Louis Monteiro

+2

·

Published

2023-05-10

·

Updated

2024-10-07

·

CVE-2023-33008

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Name of the Vulnerable Software and Affected Versions Apache Johnzon versions 1.2.0 through 1.2.20
Description A malicious attacker can craft JSON input that uses large numbers, such as 1e20000000, which Apache Johnzon will deserialize into BigDecimal. This may result in a slow conversion, posing a denial of service risk. The issue is related to the deserialization of untrusted data and can be exploited by a remote attacker to cause a denial of service.
Recommendations For Apache Johnzon versions 1.2.0 through 1.2.20, update to Apache Johnzon 1.2.21, which mitigates this issue by setting a scale limit of 1000 to the BigDecimal by default. As a temporary workaround, consider restricting the use of large numbers in JSON input to minimize the risk of exploitation.

Fix

Deserialization of Untrusted Data

Weakness Enumeration

Related Identifiers

BDU:2023-05035
CVE-2023-33008
GHSA-CRQG-JRPJ-FC84

Affected Products

Apache Johnzon