First published: Fri Apr 26 2024(Updated: )
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.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
ubuntu/cjson | <1.7.15-1ubuntu0.1~ | 1.7.15-1ubuntu0.1~ |
ubuntu/cjson | <1.7.16-1ubuntu0.2 | 1.7.16-1ubuntu0.2 |
ubuntu/cjson | <1.7.17-1ubuntu0.1~ | 1.7.17-1ubuntu0.1~ |
ubuntu/cjson | <1.7.18 | 1.7.18 |
debian/cjson | <=1.7.15-1+deb12u1 | 1.7.14-1+deb11u1 1.7.18-3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-31755 has been classified as a high-severity vulnerability due to the potential for remote code execution resulting from a segmentation violation.
To mitigate CVE-2024-31755, users should upgrade to cJSON version 1.7.18 or later, or any patched version provided by their operating system vendor.
CVE-2024-31755 affects cJSON version 1.7.17 and earlier versions across various distributions, including Ubuntu and Debian.
Exploitation of CVE-2024-31755 could lead to denial of service and potentially allow attackers to execute arbitrary code on affected systems.
Currently, the best course of action for CVE-2024-31755 is to apply the available software updates as no reliable workarounds have been reported.