CVE-2022-45689: hutool-json Memory Exhaustion Vulnerability

cn.hutool:hutool-json Updated 02 Oct 2025

Summary

13/12/2022
No i
Low
Not published

CVE-2022-45689: hutool-json vulnerable to memory exhaustion. Affects cn.hutool:hutool-json versions < 5.8.10. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

hutool-json is a JSON processing library for the Java programming language. It provides various utility methods for working with JSON data. The library is commonly used in Maven projects with the package name 'cn.hutool:hutool-json'. Unfortunately, version 5.8.10 of hutool-json has been found to contain a memory exhaustion vulnerability.

Vulnerability Detail

The memory exhaustion vulnerability in hutool-json version 5.8.10 can lead to out of memory errors. This issue is similar to CVE-2022-45690. An attacker can exploit this vulnerability by sending specially crafted JSON data to an application that uses hutool-json, causing the application to consume excessive memory and potentially crash. This vulnerability has a low severity rating.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no known workaround for this vulnerability at this time.

Conclusion

hutool-json version 5.8.10 has a memory exhaustion vulnerability that can lead to out of memory errors. It is recommended to upgrade to a non-affected version of hutool-json to mitigate this issue. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for cn.hutool:hutool-json →

Share this vulnerability

FAQ

hutool-json is a JSON processing library for Java that provides utility methods for working with JSON data.

This vulnerability can lead to out of memory errors and potential application crashes.

You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide your pom.xml file and the playground will analyze it for vulnerabilities.

Yes, upgrading to a version of hutool-json that is not affected by this vulnerability will fix the issue.

The latest version of hutool-json can be found on the Maven Central Repository.

Related vulnerabilities

Recent vulnerabilities recorded for cn.hutool:hutool-json.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback