# CVE-2022-45688: json stack overflow vulnerability

Source: https://junglewise.ai/threats/cve-2022-45688-json-stack-overflow-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-12-13  
License: CC BY 4.0 with a link back

CVE-2022-45688 · Severity: low · CVSS 3.1 · Published 2022-12-13

json stack overflow vulnerability

Technologies: [cn.hutool:hutool-json (Maven)](https://junglewise.ai/threats/technologies/cn-hutool-hutool-json), [org.json:json (Maven)](https://junglewise.ai/threats/technologies/org-json-json). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2022-45688 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-45688 being exploited in the wild.

**How severe is CVE-2022-45688?** Low severity, with a CVSS score of 3.1, published 13 December 2022.

**Which products and versions are affected?** cn.hutool:hutool-json (Maven) ECOSYSTEM:introduced=0,fixed=5.8.25; org.json:json (Maven) ECOSYSTEM:introduced=0,fixed=20230227.

**Is there a fix for CVE-2022-45688?** Yes. cn.hutool:hutool-json (Maven): upgrade to 5.8.25 or later; org.json:json (Maven): upgrade to 20230227 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-45688?** Check whether you run cn.hutool:hutool-json (Maven) or org.json:json (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- cn.hutool:hutool-json (Maven): upgrade to 5.8.25 or later

  ```sh
  # set cn.hutool:hutool-json to 5.8.25 in your pom.xml or build.gradle
  ```

- org.json:json (Maven): upgrade to 20230227 or later

  ```sh
  # set org.json:json to 20230227 in your pom.xml or build.gradle
  ```


## Affected products

- cn.hutool:hutool-json (Maven) ECOSYSTEM:introduced=0,fixed=5.8.25
- org.json:json (Maven) ECOSYSTEM:introduced=0,fixed=20230227

## Identifiers

- CVE-2022-45688
- GHSA-3vqj-43w4-2q58

## Related threats

- [JSON-java ReDoS in numeric token conversion](https://junglewise.ai/threats/cve-2026-59171-json-java-is-a-reference-implementation-of-a-json-package-in-java)
- [Java: DoS Vulnerability in JSON-JAVA](https://junglewise.ai/threats/cve-2023-5072-java-dos-vulnerability-in-json-java)
- [Duplicate Advisory: Denial of Service in JSON-Java](https://junglewise.ai/threats/duplicate-advisory-denial-of-service-in-json-java-0f5ab6d1)
- [hutool Buffer Overflow vulnerability](https://junglewise.ai/threats/cve-2023-42278-hutool-buffer-overflow-vulnerability)
- [hutool Buffer Overflow vulnerability](https://junglewise.ai/threats/cve-2023-42277-hutool-buffer-overflow-vulnerability)
