Skip to content
Fencer Vulns
medium 5.3

CVE-2023-33008 json

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

published 2023-07-07 3 y ago modified 2026-06-17 4 mo ago also GHSA-crqg-jrpj-fc84 , EUVD-2023-2038

cvss
5.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.4%
EPSS 1.4% chance of exploitation in 30 days, percentile 73%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.apache.johnzon:johnzon-mapper 1.2.21
  • apache johnzon 1.2.21

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-33008 updated cvss 5.3

apache-johnzon: Prevent inefficient internal conversion from BigDecimal at large scale

  • Red Hat build of Apache Camel for Spring Boot 3 apache-johnzon apache-johnzon
    affected: no fix available
  • Red Hat Decision Manager 7 apache-johnzon apache-johnzon Red Hat Fuse 7 apache-johnzon apache-johnzon
    affected: no fix planned “Out of support scope”
  • Red Hat Integration Camel K 1 apache-johnzon apache-johnzon Red Hat Integration Camel Quarkus 2 apache-johnzon apache-johnzon
    affected: no fix planned “Will not fix”
  • Red Hat JBoss Data Grid 7 apache-johnzon apache-johnzon Red Hat Process Automation 7 apache-johnzon apache-johnzon
    affected: no fix planned “Out of support scope”
  • Red Hat AMQ Broker 7.11.2
    fixed: vendor fix RHSA-2023:5491
  • Red Hat RHINT Camel-Springboot 4.0.0
    fixed: vendor fix RHSA-2023:5441
  • Red Hat Spring Boot 2.7.17
    fixed: vendor fix RHSA-2023:6114
  • Red Hat JBoss Enterprise Application Platform 7 apache-johnzon apache-johnzon Red Hat JBoss Enterprise Application Platform 8 apache-johnzon apache-johnzon Red Hat JBoss Enterprise Application Platform Expansion Pack apache-johnzon apache-johnzon
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
2 y ago

Exploit prediction

1.44% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CNA 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHub 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected packages

ecosystem package affected fixed in
maven org.apache.johnzon:johnzon-mapper
<1.2.21
1.2.21

Affected products

  • Apache Software Foundation Apache Johnzon
  • apache johnzon

Classification

Weakness
  • CWE-502 Deserialization of Untrusted Data

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.