CVE-2024-31755

NameCVE-2024-31755
DescriptioncJSON v1.7.17 was discovered to contain a segmentation violation, which can trigger through the second parameter of function cJSON_SetValuestring at cJSON.c.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1071742

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cjson (PTS)buster (security), buster, buster (lts)1.7.10-1.1+deb10u2vulnerable
bullseye1.7.14-1+deb11u1fixed
bookworm1.7.15-1+deb12u2fixed
sid, trixie1.7.18-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cjsonsourcebullseye1.7.14-1+deb11u1
cjsonsourcebookworm1.7.15-1+deb12u2
cjsonsource(unstable)1.7.18-11071742

Notes

[buster] - cjson <postponed> (Sefault only; can be piggy-backed with future DLAs)
https://github.com/DaveGamble/cJSON/issues/839
https://github.com/DaveGamble/cJSON/pull/840
https://github.com/DaveGamble/cJSON/commit/7e4d5dabe7a9b754c601f214e65b544e67ba9f59 (v1.7.18)

Search for package or bug name: Reporting problems