Use After Free Affecting davegamble/cjson package, versions [,1.7.4)


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
1.13% (85th 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 Use After Free vulnerabilities in an interactive lesson.

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

Introduced: 20 Aug 2018

CVE-2018-1000217  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade davegamble/cjson to version 1.7.4 or higher.

Overview

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

References

CVSS Scores

version 3.1