Vulnerabilities · 2022 · Hutool
CVE-2022-45688
Hutool vulnerability
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.
Affected products
Hutool, Json-java. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Hutool runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/dromara/hutool/issues/2748 · Exploit
- github.com/stleary/JSON-java/issues/708 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2022-45688
- github.com/stleary/JSON-java/commit/a6e412bded7a0ad605adfeca029318f184c32102
- github.com/dromara/hutool/commit/6a2b585de0a380e8c12016dbaa1620b69be11b8c
- github.com/dromara/hutool/releases/tag/5.8.25
- github.com/advisories/GHSA-3vqj-43w4-2q58
- nvd.nist.gov/vuln/detail/CVE-2022-45688
- cve.org/CVERecord?id=CVE-2022-45688
More vulnerabilities in Hutool products
CVE-2025-56769CVE-2023-51080CVE-2023-51075CVE-2023-42278CVE-2023-42277CVE-2023-42276CVE-2023-33695CVE-2023-24163All 15
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.