#VU31229 Double Free in cJSON - CVE-2018-1000216


| Updated: 2020-07-17

Vulnerability identifier: #VU31229

Vulnerability risk: High

CVSSv4.0: 6.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2018-1000216

CWE-ID: CWE-415

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 non-authenticated attacker to execute arbitrary code.

Dave Gamble cJSON version 1.7.2 and earlier contains a CWE-415: Double Free vulnerability in cJSON library that can result in Possible crash or RCE. This attack appear to be exploitable via Attacker must be able to force victim to print JSON data, depending on how cJSON library is used this could be either local or over a network. This vulnerability appears to have been fixed in 1.7.3.

Mitigation
Install update from vendor's website.

Vulnerable software versions

cJSON: 1.7.0 - 1.7.2


External links
https://github.com/DaveGamble/cJSON/issues/241


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