You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@johnzon.apache.org by ju...@apache.org on 2026/10/16 15:18:00 UTC

(johnzon) 03/03: document CVE-2023-33008

This is an automated email from the ASF dual-hosted git repository.

jungm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/johnzon.git

commit 4ba888bc1b7589f5faedaf30ff38c18bc8cd3531
Author: Markus Jung <ju...@apache.org>
AuthorDate: Fri Oct 16 17:16:01 2026 +0200

    document CVE-2023-33008
---
 src/site/markdown/vulnerabilities.md | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/src/site/markdown/vulnerabilities.md b/src/site/markdown/vulnerabilities.md
index 37b6af3b..2ef6f360 100644
--- a/src/site/markdown/vulnerabilities.md
+++ b/src/site/markdown/vulnerabilities.md
@@ -31,3 +31,14 @@ To report a new vulnerability, see [Report vulnerability](./security.html).
 
 Unsafe reflection: `ClassConverter` resolves and statically initializes a class named in untrusted JSON.
 Exploitation needs a mapped POJO with a `Class` attribute and a class with a harmful static initializer on the classpath.
+
+## [CVE-2023-33008](https://www.cve.org/CVERecord?id=CVE-2023-33008): Prevent inefficient internal conversion from BigDecimal at large scale
+
+* **Severity:** Important
+* **Affected:** Apache Johnzon through 1.2.20
+* **Fixed in:** 1.2.21
+* **Credit:** PJ Fanning (reporter)
+* **Announcement:** [lists.apache.org](https://lists.apache.org/thread/qbg14djo95gfpk7o560lr8wcrzfyw43l)
+
+Denial of service: JSON input with very large numbers (e.g. `1e20000000`) deserialized into `BigDecimal` can cause a slow conversion.
+Johnzon 1.2.21 limits the `BigDecimal` scale to 1000 by default. See also [BigInteger and Java](./security.html#BigInteger_and_Java).