VDB
CVE-2023-5072
CVE-2023-5072
PUBLISHED
CVSS 7.5 HIGH
DoS Vulnerability in JSON-Java
Reported by google · Published October 12, 2023
json is fixed in 20231013 (Maven Central)
Denial of Service in JSON-Java versions up to and including 20230618. A bug in the parser means that an input string of modest size can lead to indefinite amounts of memory being used.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.json:json | Maven Central | 20231013 |
| stargate | Chainguard | 1.0.78-r2 |
| hadoop-fips-3.3.6 | Chainguard | 3.3.6-r15 |
| openjdk21 | Alpine | 21.0.2_p13-r0 |
| openjdk17 | Alpine | 17.0.10_p7-r0 |
| json-java | stleary | 20230618 |
| n/a | https://github.com/stleary/JSON-java | 20230618 |
Risk scores
CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| https://github.com/stleary/JSON-java | n/a | 0 |
| https://github.com/stleary/JSON-java | n/a | 0 |
| chainguard | stargate | 0 |
| chainguard | hadoop-fips-3.3.6 | 0 |
| alpine | openjdk21 | 0 |
| alpine | openjdk17 | 0 |
| Maven | org.json:json | 0 |
Timeline
- Oct 12, 2023 CVE Published
- Oct 13, 2023 EPSS Score (30 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (14 in total, the first dated here)
- Mar 17, 2026 Security Advisory (63 in total, the first dated here)
- Nov 22, 2026 Distribution Patch (56 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-5072
vulnetix vdb fixes CVE-2023-5072
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-5072/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-5072 advisory
- https://github.com/advisories/GHSA-4jq9-2xhw-jpx7 advisory
- https://github.com/google/security-research/security/advisories/GHSA-4jq9-2xhw-jpx7 url
- https://github.com/stleary/JSON-java/pull/759 patch
- https://github.com/stleary/JSON-java/commit/60662e2f8384d3449822a3a1179bfe8de67b55bb patch
- https://github.com/stleary/JSON-java url