Double Free Affecting davegamble/cjson package, versions [,1.7.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.69% (81st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Double Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-DAVEGAMBLECJSON-2366332
  • published26 Jan 2022
  • disclosed20 Aug 2018
  • creditUnknown

Introduced: 20 Aug 2018

CVE-2018-1000216  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade davegamble/cjson to version 1.7.3 or higher.

Overview

Affected versions of this package are vulnerable to Double Free. 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.

References

CVSS Scores

version 3.1