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

Published Jul 7, 2023
·
Updated

Apache Johnzon is vulnerable to a denial of service, caused by an unsafe deserialization flaw in BigDecimal. By sending a specially crafted JSON input, a remote attacker could exploit this vulnerability to cause a slow conversion, and results in a denial of service condition.

Other sources

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.

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.

Affected versions: Apache Johnzon through 1.2.20

References:

https://johnzon.apache.org/ https://www.cve.org/CVERecord?id=CVE-2023-33008 https://issues.apache.org/jira/browse/JOHNZON-397

Red Hat

Affected Software

2 affected componentsFixes available
Apache Johnzon<1.2.21
redhat/johnzon<1.2.21
1.2.21

Event History

Jul 7, 2023
CVE Published
via MITRE·09:07 AM
Data Sourced
via MITRE·09:07 AM
DescriptionWeakness
Data Sourced
via Red Hat·09:11 AM
DescriptionSeverityAffected Software
Feb 2, 2024
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-33008?

CVE-2023-33008 is classified as a medium severity vulnerability.

2

How do I fix CVE-2023-33008?

To address CVE-2023-33008, upgrade Apache Johnzon to version 1.2.21 or later.

3

What products are affected by CVE-2023-33008?

CVE-2023-33008 affects all versions of Apache Johnzon prior to 1.2.21.

4

What type of vulnerability is CVE-2023-33008?

CVE-2023-33008 is a denial of service vulnerability due to unsafe deserialization in BigDecimal.

5

Can CVE-2023-33008 be exploited remotely?

Yes, CVE-2023-33008 can be exploited remotely through specially crafted JSON input.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203