#VU84771 NULL pointer dereference in cJSON - CVE-2023-50472


Vulnerability identifier: #VU84771

Vulnerability risk: Medium

CVSSv4.0: 6.6 [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: Network

Exploit availability: No

Vulnerable software:
cJSON
Universal components / Libraries / Libraries used by multiple products

Vendor: DaveGamble

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

cJSON: 0.0.0 - 1.7.16


External links
https://github.com/DaveGamble/cJSON/issues/803
https://github.com/DaveGamble/cJSON/releases/tag/v1.7.17


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability