Use-after-free in cJSON - CVE-2018-1000217

 

Use-after-free in cJSON - CVE-2018-1000217

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


Vulnerability identifier: #VU31230
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2018-1000217
CWE-ID: CWE-416
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.3 and earlier contains a CWE-416: Use After Free vulnerability in cJSON library that can result in Possible crash, corruption of data or even RCE. This attack appear to be exploitable via Depends on how application uses cJSON library. If application provides network interface then can be exploited over a network, otherwise just local.. This vulnerability appears to have been fixed in 1.7.4.


How to mitigate CVE-2018-1000217

Install update from vendor's website.

Sources