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

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.44%, higher than 74% of CVEs (2026-12-01)
- Published: 2023-07-07T09:07:31.070Z
- Modified: 2026-06-17T06:00:16.577Z
- Also known as: GHSA-crqg-jrpj-fc84
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Johnzon: up to 1.2.20
- apache johnzon: before 1.2.21
- org.apache.johnzon:johnzon-mapper (Maven): before 1.2.21

## Every score

- CISA-ADP: 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`
- GitHub: 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: 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`

## References

- <https://lists.apache.org/thread/qbg14djo95gfpk7o560lr8wcrzfyw43l> (issue-tracking, mailing-list, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-33008> (advisory)
- <https://github.com/apache/johnzon/commit/34ad9a6b296ae7b4667c3cf0037998e451499ea4> (web)
- <https://github.com/apache/johnzon> (package)
- <https://issues.apache.org/jira/browse/JOHNZON-397> (web)

## Sources

- CVE List: [CVE-2023-33008](https://www.cve.org/CVERecord?id=CVE-2023-33008), CVE Terms of Use, modified 2024-10-07
- GitHub Advisory Database: [GHSA-crqg-jrpj-fc84](https://github.com/advisories/GHSA-crqg-jrpj-fc84), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2023-33008](https://nvd.nist.gov/vuln/detail/CVE-2023-33008), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-33008 · Whole record: https://cve.day/CVE-2023-33008.json · Rebuilt by cve.day 2026-11-25T22:58:25.509Z
