Vulnerability · Published Jul 7, 2023 · Assigned by apache

CVE-2023-33008Apache Johnzon: Prevent inefficient internal conversion from BigDecimal at large scale

Medium 5.3

In plain English

A medium-severity unsafe deserialization in Apache Johnzon from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)1.4%top 26.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.apache.johnzon:johnzon-mapper1.2.21GHSA-crqg-jrpj-fc84

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Johnzon 0 – through 1.2.20

Weakness: CWE-502 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References