Skip to content
OpenAdvisories
High · 7.6 CVE-2024-31755 EUVD-2024-29628GHSA-5g69-hr8r-x577

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

Published Apr 26, 2024 · Updated Aug 2, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 cjson 1.7.18-1 —
Debian 13 cjson 1.7.18-1 —
Debian 12 cjson 1.7.15-1+deb12u2 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS cjson 1.7.17-1ubuntu0.1~esm2 USN-6784-1
Ubuntu Pro 22.04 LTS cjson 1.7.15-1ubuntu0.1~esm2 USN-6784-1
ReleasePackageFixed inAdvisory
Red Hat Satellite Capsule 6 cjson 1.7.18-1.el8sat RHSA-2025:9838, RHSA-2025:9203, RHSA-2025:9022
Red Hat Satellite Capsule 6 python-sqlparse +1 0.5.0-1.el8pc RHSA-2025:9838
Red Hat Satellite Capsule 6 rubygem-rack 2.2.14-1.el8sat RHSA-2025:9838
Red Hat Satellite 6 cjson 1.7.18-1.el8sat RHSA-2025:9838, RHSA-2025:9203, RHSA-2025:9022
Red Hat Satellite 6 python-sqlparse +1 0.5.0-1.el8pc RHSA-2025:9838
Red Hat Satellite 6 rubygem-rack 2.2.14-1.el8sat RHSA-2025:9838
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP5 cJSON 1.7.18-bp155.3.3.1 openSUSE-SU-2024:0139-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed cJSON 1.7.18-1.1 openSUSE-SU-2024:14021-1
openSUSE Leap 15.5 cJSON 1.7.18-bp155.3.3.1 openSUSE-SU-2024:0139-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 apparmor 3.1.7-1 —
Azure Linux 2 (CBL-Mariner) apparmor 3.0.4-4 —

Advisories 7

References