PT-2024-10424

CVE-2024-31755

·

Published

2024-03-25

·

Updated

2025-08-19

Description by

CVSS 2.0
8.0
High
MetricsAV:N/AC:L/Au:S/C:P/I:P/A:C
Name of the Vulnerable Software and Affected Versions cJSON version 1.7.17
Description The issue is related to a segmentation violation that can be triggered through the second parameter of the cJSON SetValuestring function at cJSON.c. This can lead to a denial of service. The vulnerability is associated with null pointer dereference errors in the cJSON SetValuestring function of the cJSON library for working with JSON objects in C. Exploitation of the vulnerability may allow a remote attacker to cause a denial of service.
Recommendations For cJSON version 1.7.17, as a temporary workaround, consider disabling the cJSON SetValuestring function until a patch is available. Restrict access to the cJSON.c component to minimize the risk of exploitation. Avoid using the second parameter of the cJSON SetValuestring function in the affected cJSON.c file until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Impacts
Researchers
Vendors
Affected products
Related identifiers
AZL-40184
AZL-67458
MGASA-2024-0324
OPENSUSE-SU-2024:0139-1
OPENSUSE-SU-2024:14021-1
RHSA-2025:9022
RHSA-2025:9203
RHSA-2025:9838
USN-6784-1
Found an issue in the description? Have something to add? Feel free to write us 👾