CVE-2018-1000217 Use after free in n/a

Critical 9.8 Published Updated

A use-after-free flaw in the cJSON library allows attackers to cause crashes, data corruption, or remote code execution if the library is exposed via a network interface.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-1000217?

CVE-2018-1000217 is a critical use after free vulnerability in n/a, published on 20 Aug 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-416

Which versions are affected by CVE-2018-1000217?

It affects 1 product.

Products include Davegamble Cjson.

How do I fix CVE-2018-1000217?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2018-1000217 being exploited?

There is no known exploitation of CVE-2018-1000217 in the wild and no public exploit code.

Sources

Also known as AZL-41629, GHSA-cmxj-54mf-j4q3.

Is CVE-2018-1000217 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free