Double Free in cJSON - CVE-2018-1000216

 

Double Free in cJSON - CVE-2018-1000216

Published: August 20, 2018 / Updated: July 17, 2020


Vulnerability identifier: #VU31229
CSH Severity: High
CVSS v4: 8.6 [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]
CVE-ID: CVE-2018-1000216
CWE-ID: CWE-415
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

cJSON

How to mitigate CVE-2018-1000216

Install update from vendor's website.

cJSON - update to 1.7.3

External References

Related Security Bulletins