#VU84771 NULL pointer dereference in cJSON


Published: 2023-12-26

Vulnerability identifier: #VU84771

Vulnerability risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

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
http://github.com/DaveGamble/cJSON/issues/803
http://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