Skip to content
OpenAdvisories
High · 7.5 Public exploit CVE-2022-45688 EUVD-2022-7491GHSA-3vqj-43w4-2q58

json stack overflow vulnerability

Published Dec 13, 2022 · Updated Apr 22, 2025 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed json-java 20240303-1.1 openSUSE-SU-2024:14371-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 5 repositories

  • scabench/jsonorg-fn1 ★ 1 · Jan 21, 2024

    simple application with a CVE-2022-45688 vulnerability

  • scabench/jsonorg-fp2 ★ 0 · Dec 29, 2023

    simple application with a (unreachable!) CVE-2022-45688 vulnerability

  • scabench/jsonorg-fp3 ★ 0 · Dec 29, 2023

    simple application with a (unreachable!) CVE-2022-45688 vulnerability

  • scabench/jsonorg-fp1 ★ 0 · Dec 28, 2023

    simple application with a (unreachable!) CVE-2022-45688 vulnerability

  • scabench/jsonorg-tp1 ★ 0 · Dec 27, 2023

    simple application with a CVE-2022-45688 vulnerability

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven cn.hutool:hutool-json < 5.8.25 5.8.25 GHSA-3vqj-43w4-2q58
Maven org.json:json < 20230227 20230227 GHSA-3vqj-43w4-2q58

Advisories 17

References