CVE-2023-53154 parse_string in cJSON before 1.7.18 has a heap-based buffer over-read via {"1":1, with no trailing newline if cJSON_ParseWithLength is called.
MediumCVSS 5.5
EPSS 0.28%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
parse_string in cJSON before 1.7.18 has a heap-based buffer over-read via {"1":1, with no trailing newline if cJSON_ParseWithLength is called.
Upgrade path
10 packages: 10 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux apparmor(Azure Linux 3.0) | < 3.1.7-1 | 3.1.7-1 | Fixed |
| cbl-mariner apparmor(CBL-Mariner 2.0) | < 3.0.4-5 | 3.0.4-5 | Fixed |
| cJSON Project cJSON | < 1.7.18 | 1.7.18 | Fixed |
| debian/cjson(Debian 12) | < 1.7.15-1+deb12u3; = 1.7.15-1; = 1.7.15-1+deb12u1; = 1.7.15-1+deb12u2 | 1.7.15-1+deb12u3 | Fixed |
| debian/cjson(Debian 13) | < 1.7.18-1 | 1.7.18-1 | Fixed |
| debian/cjson(Debian 14) | < 1.7.18-1 | 1.7.18-1 | Fixed |
| ubuntu/cjson(Ubuntu 22.04) | < 1.7.15-1ubuntu0.1; = 1.7.14-1; = 1.7.15-1 | 1.7.15-1ubuntu0.1 | Fixed |
| ubuntu/cjson(Ubuntu 24.04) | < 1.7.17-1ubuntu0.1~esm3 | 1.7.17-1ubuntu0.1~esm3 | Fixed |
| ubuntu/cjson(Ubuntu Pro 20.04) | < 1.7.10-1.1ubuntu0.1~esm1; = 1.7.10-1.1 | 1.7.10-1.1ubuntu0.1~esm1 | Fixed |
| ubuntu/cjson(Ubuntu Pro 24.04) | < 1.7.17-1ubuntu0.1~esm3; = 1.7.16-1; = 1.7.16-2; = 1.7.17-1 +1 more | 1.7.17-1ubuntu0.1~esm3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cbl-mariner apparmor(CBL-Mariner:2.0) | < 3.0.4-5 | 3.0.4-5 |
| azure linux apparmor(Azure Linux:3.0) | < 3.1.7-1 | 3.1.7-1 |
| debian/cjson(Debian:12) | < 1.7.15-1+deb12u3 | 1.7.15-1+deb12u3 |
| debian/cjson(Debian:12) | = 1.7.15-1 | No fix listed |
| debian/cjson(Debian:12) | = 1.7.15-1+deb12u1 | No fix listed |
| debian/cjson(Debian:12) | = 1.7.15-1+deb12u2 | No fix listed |
| debian/cjson(Debian:13) | < 1.7.18-1 | 1.7.18-1 |
| debian/cjson(Debian:14) | < 1.7.18-1 | 1.7.18-1 |
| cJSON Project cJSON | < 1.7.18 | 1.7.18 |
| ubuntu/cjson(Ubuntu:22.04) | < 1.7.15-1ubuntu0.1 | 1.7.15-1ubuntu0.1 |
| ubuntu/cjson(Ubuntu:24.04) | < 1.7.17-1ubuntu0.1~esm3 | 1.7.17-1ubuntu0.1~esm3 |
| ubuntu/cjson(Ubuntu:Pro:20.04) | < 1.7.10-1.1ubuntu0.1~esm1 | 1.7.10-1.1ubuntu0.1~esm1 |
| ubuntu/cjson(Ubuntu:Pro:20.04) | = 1.7.10-1.1 | No fix listed |
| ubuntu/cjson(Ubuntu:22.04) | = 1.7.14-1 | No fix listed |
| ubuntu/cjson(Ubuntu:22.04) | = 1.7.15-1 | No fix listed |
| ubuntu/cjson(Ubuntu:Pro:24.04) | < 1.7.17-1ubuntu0.1~esm3 | 1.7.17-1ubuntu0.1~esm3 |
| ubuntu/cjson(Ubuntu:Pro:24.04) | = 1.7.16-1 | No fix listed |
| ubuntu/cjson(Ubuntu:Pro:24.04) | = 1.7.16-2 | No fix listed |
| ubuntu/cjson(Ubuntu:Pro:24.04) | = 1.7.17-1 | No fix listed |
| ubuntu/cjson(Ubuntu:Pro:24.04) | = 1.7.17-1ubuntu0.1~esm2 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2023-53154 vendor-advisory
- github.com issue-tracking release-notes
- github.com exploit issue-tracking vendor-advisory
- lists.debian.org
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-7973-1 vendor-advisory
- www.cve.org issue-tracking
- github.com issue-tracking
- github.com issue-tracking
- github.com issue-tracking