NULL pointer dereference in cJSON - CVE-2023-50472
Published: December 26, 2023
Vulnerability identifier: #VU84771
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2023-50472
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: DaveGamble
Affected software:
cJSON
cJSON
Detailed vulnerability description
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a NULL pointer dereference error within the cJSON_SetValuestring() function in cJSON.c. A remote attacker can pass specially crafted data to the application and perform a denial of service (DoS) attack.
How to mitigate CVE-2023-50472
Install updates from vendor's website.