Skip to content

CVE-2024-31755 cJSON v1.7.17 was discovered to contain a segmentation violation, which can trigger through the second parameter of function cJSON_SetValuestring at cJSON.c.

HighCVSS 7.6 EPSS 0.65%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebian

Description

cJSON v1.7.17 was discovered to contain a segmentation violation, which can trigger through the second parameter of function cJSON_SetValuestring at cJSON.c.

Upgrade path

8 packages: 7 fixed.

PackageAffectedFixed inStatus
debian/cjson(Debian 12) < 1.7.15-1+deb12u2; = 1.7.15-1; = 1.7.15-1+deb12u1 1.7.15-1+deb12u2 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~esm2 1.7.15-1ubuntu0.1~esm2 Fixed
ubuntu/cjson(Ubuntu 24.04) < 1.7.17-1ubuntu0.1~esm2 1.7.17-1ubuntu0.1~esm2 Fixed
ubuntu/cjson(Ubuntu Pro 22.04) < 1.7.15-1ubuntu0.1~esm2; = 1.7.14-1; = 1.7.15-1 1.7.15-1ubuntu0.1~esm2 Fixed
ubuntu/cjson(Ubuntu Pro 24.04) < 1.7.17-1ubuntu0.1~esm2; = 1.7.16-1; = 1.7.16-2; = 1.7.17-1 1.7.17-1ubuntu0.1~esm2 Fixed
cJSON Project cJSON = 1.7.17 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/cjson(Debian:12) < 1.7.15-1+deb12u2 1.7.15-1+deb12u2
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:13) < 1.7.18-1 1.7.18-1
debian/cjson(Debian:14) < 1.7.18-1 1.7.18-1
ubuntu/cjson(Ubuntu:22.04) < 1.7.15-1ubuntu0.1~esm2 1.7.15-1ubuntu0.1~esm2
cJSON Project cJSON = 1.7.17 No fix listed
ubuntu/cjson(Ubuntu:24.04) < 1.7.17-1ubuntu0.1~esm2 1.7.17-1ubuntu0.1~esm2
ubuntu/cjson(Ubuntu:Pro:22.04) < 1.7.15-1ubuntu0.1~esm2 1.7.15-1ubuntu0.1~esm2
ubuntu/cjson(Ubuntu:Pro:22.04) = 1.7.14-1 No fix listed
ubuntu/cjson(Ubuntu:Pro:22.04) = 1.7.15-1 No fix listed
ubuntu/cjson(Ubuntu:Pro:24.04) < 1.7.17-1ubuntu0.1~esm2 1.7.17-1ubuntu0.1~esm2
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

References