CVE-2023-5072DoS Vulnerability in JSON-Java
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.
What to do
Fixed builds are available from Alpine, Debian, Maven: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | jenkins-json | Fix pending | UBUNTU-CVE-2023-5072 | |
| Ubuntu 26.10 | libjettison-java | Fix pending | UBUNTU-CVE-2023-5072 | |
| Ubuntu 26.10 | libjson-java | Fix pending | UBUNTU-CVE-2023-5072 | |
| Ubuntu 26.04 | jenkins-json | Under investigation | UBUNTU-CVE-2023-5072 | |
| Ubuntu 26.04 | libjettison-java | Under investigation | UBUNTU-CVE-2023-5072 | |
| Ubuntu 26.04 | libjson-java | Under investigation | UBUNTU-CVE-2023-5072 | |
| Ubuntu 25.10 | jenkins-json | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-5072 | |
| Ubuntu 25.10 | libjettison-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-5072 | |
| Ubuntu 25.10 | libjson-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-5072 | |
| Ubuntu 24.04 | jenkins-json | Under investigation | UBUNTU-CVE-2023-5072 | |
| Ubuntu 24.04 | libjettison-java | Under investigation | UBUNTU-CVE-2023-5072 | |
| Ubuntu 24.04 | libjson-java | Under investigation | UBUNTU-CVE-2023-5072 | |
| Ubuntu 22.04 | jenkins-json | Under investigation | UBUNTU-CVE-2023-5072 | |
| Ubuntu 22.04 | libjettison-java | Fix pending | UBUNTU-CVE-2023-5072 | |
| Ubuntu 22.04 | libjson-java | Under investigation | UBUNTU-CVE-2023-5072 | |
| Ubuntu 20.04 | jenkins-json | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-5072 | |
| Ubuntu 20.04 | libjettison-java | Fix pending | UBUNTU-CVE-2023-5072 | |
| Ubuntu 20.04 | libjson-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-5072 | |
| Ubuntu 18.04 | jenkins-json | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-5072 | |
| Ubuntu 18.04 | libjettison-java | Fix pending | UBUNTU-CVE-2023-5072 | |
| Ubuntu 18.04 | libjson-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-5072 | |
| Ubuntu 16.04 | jenkins-json | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-5072 | |
| Ubuntu 16.04 | libjettison-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-5072 | |
| Ubuntu 16.04 | libjson-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-5072 | |
| Ubuntu 14.04 | jenkins-json | Will not fix Ubuntu decided not to fix this in this release | ||
| Ubuntu 14.04 | libjettison-java | Will not fix Ubuntu decided not to fix this in this release | ||
| Ubuntu 14.04 | libjson-java | Will not fix Ubuntu decided not to fix this in this release | ||
| Debian 14 | jenkins-json | Fix pending | DEBIAN-CVE-2023-5072 | |
| Debian 14 | libjettison-java | Fix pending | DEBIAN-CVE-2023-5072 | |
| Debian 14 | libjson-java | Fixed | 3.1.0+dfsg-1 | DEBIAN-CVE-2023-5072 |
| Debian 13 | jenkins-json | Fix pending | DEBIAN-CVE-2023-5072 | |
| Debian 13 | libjettison-java | Fix pending | DEBIAN-CVE-2023-5072 | |
| Debian 13 | libjson-java | Fixed | 3.1.0+dfsg-1 | DEBIAN-CVE-2023-5072 |
| Debian 12 | jenkins-json | Fix pending | DEBIAN-CVE-2023-5072 | |
| Debian 12 | libjettison-java | Fix pending | DEBIAN-CVE-2023-5072 | |
| Debian 12 | libjson-java | Fix pending | DEBIAN-CVE-2023-5072 | |
| Alpine Linux 3.24 | openjdk17 | Fixed | 17.0.10_p7-r0 | ALPINE-CVE-2023-5072 |
| Alpine Linux 3.24 | openjdk21 | Fixed | 21.0.2_p13-r0 | ALPINE-CVE-2023-5072 |
| Alpine Linux 3.23 | openjdk17 | Fixed | 17.0.10_p7-r0 | ALPINE-CVE-2023-5072 |
| Alpine Linux 3.23 | openjdk21 | Fixed | 21.0.2_p13-r0 | ALPINE-CVE-2023-5072 |
| Alpine Linux 3.22 | openjdk17 | Fixed | 17.0.10_p7-r0 | ALPINE-CVE-2023-5072 |
| Alpine Linux 3.22 | openjdk21 | Fixed | 21.0.2_p13-r0 | ALPINE-CVE-2023-5072 |
| Alpine Linux 3.21 | openjdk17 | Fixed | 17.0.10_p7-r0 | ALPINE-CVE-2023-5072 |
| Alpine Linux 3.21 | openjdk21 | Fixed | 21.0.2_p13-r0 | ALPINE-CVE-2023-5072 |
| Alpine Linux 3.20 | openjdk17 | Fixed | 17.0.10_p7-r0 | ALPINE-CVE-2023-5072 |
| Alpine Linux 3.20 | openjdk21 | Fixed | 21.0.2_p13-r0 | ALPINE-CVE-2023-5072 |
| Alpine Linux 3.19 | openjdk17 | Fixed | 17.0.10_p7-r0 | ALPINE-CVE-2023-5072 |
| Alpine Linux 3.19 | openjdk21 | Fixed | 21.0.2_p13-r0 | ALPINE-CVE-2023-5072 |
| Alpine Linux 3.18 | openjdk17 | Fixed | 17.0.10_p7-r0 | ALPINE-CVE-2023-5072 |
| Alpine Linux 3.17 | openjdk17 | Fixed | 17.0.10_p7-r0 | ALPINE-CVE-2023-5072 |
| Alpine Linux 3.16 | openjdk17 | Fixed | 17.0.10_p7-r0 | ALPINE-CVE-2023-5072 |
| Maven library | org.json:json | Fixed | 20231013 | GHSA-4jq9-2xhw-jpx7 |
What the vendor says
As published in the CVE record by Google, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- https://github.com/stleary/JSON-java: affected: up to 20230618
References
- https://github.com/stleary/JSON-java/issues/758
- https://github.com/stleary/JSON-java/issues/771
- http://www.openwall.com/lists/oss-security/2023/12/13/4
- https://security.netapp.com/advisory/ntap-20240621-0007/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.