Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.johnzon/johnzon-mapper
  4. ›
  5. CVE-2023-33008

CVE-2023-33008: Deserialization of Untrusted Data

July 7, 2023 (updated July 14, 2023)

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.

References

  • github.com/advisories/GHSA-crqg-jrpj-fc84
  • github.com/apache/johnzon/commit/34ad9a6b296ae7b4667c3cf0037998e451499ea4
  • issues.apache.org/jira/browse/JOHNZON-397
  • lists.apache.org/thread/qbg14djo95gfpk7o560lr8wcrzfyw43l
  • nvd.nist.gov/vuln/detail/CVE-2023-33008

Code Behaviors & Features

Detect and mitigate CVE-2023-33008 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.2.21

Fixed versions

  • 1.2.21

Solution

Upgrade to version 1.2.21 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

maven/org.apache.johnzon/johnzon-mapper/CVE-2023-33008.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:45 +0000.