WaratekVRT Sign in

CVE-2023-33008 Apache Johnzon

Affected softwareApache Johnzon
Severity5.3 Medium CVSS 3.1 2 scores
Fixed in1.2.21
WeaknessDeserialization of untrusted data (CWE-502)
Published7 Jul 2023
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 3 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 1.4% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR deserialization DoS security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-502: Deserialization of Untrusted Data. Impact is availability-only (no confidentiality or integrity loss), so this is the DoS variant of the class, not RCE — the ARMR DoS rule applies rather than the RCE rule pair.

How to mitigate CVE-2023-33008

Upgrade Apache Johnzon to 1.2.21 or later. Until you can, Waratek RASP blocks exploitation with its deserialization rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

5.3 MEDIUM v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 5.3 MEDIUM CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L NVD Primary published
CVSS 3.1 5.3 MEDIUM CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CISA-ADP Secondary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.johnzon:johnzon-mapper 0 1.2.21 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd apache johnzon generic < 1.2.21
osv org.apache.johnzon johnzon-mapper generic < 1.2.21

References

URLTags
https://github.com/apache/johnzon/commit/34ad9a6b296ae7b4667c3cf0037998e451499ea4 WEB
https://github.com/apache/johnzon PACKAGE
https://issues.apache.org/jira/browse/JOHNZON-397 WEB
https://lists.apache.org/thread/qbg14djo95gfpk7o560lr8wcrzfyw43l WEB

Timeline

Published2023-07-07By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.