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.0: 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: Remote access
Exploit availability: No public exploit available
Vendor: DaveGamble
Affected software:
cJSON

Detailed vulnerability 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.


How to mitigate CVE-2018-1000216

Install update from vendor's website.

Sources