Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS0zdnFqLTQzdzQtMnE1OM4AAwSR
json stack overflow vulnerability
A stack overflow in the XML.toJSONObject component of hutool-json v5.8.10 and org.json:json before version 20230227 allows attackers to cause a Denial of Service (DoS) via crafted JSON or XML data.
Permalink: https://github.com/advisories/GHSA-3vqj-43w4-2q58JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0zdnFqLTQzdzQtMnE1OM4AAwSR
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: almost 2 years ago
Updated: 6 months ago
CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Identifiers: GHSA-3vqj-43w4-2q58, CVE-2022-45688
References:
- https://nvd.nist.gov/vuln/detail/CVE-2022-45688
- https://github.com/dromara/hutool/issues/2748
- https://github.com/stleary/JSON-java/issues/708
- https://github.com/stleary/JSON-java/commit/a6e412bded7a0ad605adfeca029318f184c32102
- https://github.com/dromara/hutool/commit/6a2b585de0a380e8c12016dbaa1620b69be11b8c
- https://github.com/dromara/hutool/releases/tag/5.8.25
- https://github.com/advisories/GHSA-3vqj-43w4-2q58
Blast Radius: 36.9
Affected Packages
maven:cn.hutool:hutool-json
Dependent packages: 83Dependent repositories: 361
Downloads:
Affected Version Ranges: < 5.8.25
Fixed in: 5.8.25
All affected versions: 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5, 4.0.6, 4.0.7, 4.0.8, 4.0.9, 4.0.10, 4.0.11, 4.0.12, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.1.6, 4.1.7, 4.1.8, 4.1.9, 4.1.10, 4.1.11, 4.1.12, 4.1.13, 4.1.14, 4.1.15, 4.1.16, 4.1.17, 4.1.18, 4.1.19, 4.1.20, 4.1.21, 4.2.1, 4.3.0, 4.3.1, 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8.23, 5.8.24
All unaffected versions: 5.8.25, 5.8.26, 5.8.27, 5.8.28, 5.8.29, 5.8.30, 5.8.31, 5.8.32
maven:org.json:json
Dependent packages: 3,861Dependent repositories: 84,399
Downloads:
Affected Version Ranges: < 20230227
Fixed in: 20230227
All affected versions:
All unaffected versions: