Buffer overflow in Hutool

CVE-2022-45688

A stack overflow in the XML.toJSONObject component of hutool-json v5.8.10 allows attackers to cause a Denial of Service (DoS) via crafted JSON or XML data.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.013, 69.9th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

5 public repositories with exploit or proof-of-concept code for this CVE:

  • scabench/jsonorg-fn1 (1 star, last pushed 2024-01-21): simple application with a CVE-2022-45688 vulnerability
  • scabench/jsonorg-tp1 (last pushed 2024-01-21): simple application with a CVE-2022-45688 vulnerability
  • scabench/jsonorg-fp3 (last pushed 2024-01-05): simple application with a (unreachable!) CVE-2022-45688 vulnerability
  • scabench/jsonorg-fp2 (last pushed 2024-01-05): simple application with a (unreachable!) CVE-2022-45688 vulnerability
  • scabench/jsonorg-fp1 (last pushed 2024-01-05): simple application with a (unreachable!) CVE-2022-45688 vulnerability

Also mentioned in 21 other repositories (ARPSyndicate/cvemon, ceopaludetto/owasp-to-xml, grokify/gotrivy, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References