Resource Management Errors Affecting davegamble/cjson package, versions [,1.7.7)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.09% (42nd 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 IDSNYK-UNMANAGED-DAVEGAMBLECJSON-2366333
  • published26 Jan 2022
  • disclosed20 Aug 2018
  • creditUnknown

Introduced: 20 Aug 2018

CVE-2018-1000215  (opens in a new tab)
CWE-399  (opens in a new tab)

How to fix?

Upgrade davegamble/cjson to version 1.7.7 or higher.

Overview

Affected versions of this package are vulnerable to Resource Management Errors. Dave Gamble cJSON version 1.7.6 and earlier contains a CWE-772 vulnerability in cJSON library that can result in Denial of Service (DoS). This attack appear to be exploitable via If the attacker can force the data to be printed and the system is in low memory it can force a leak of memory. This vulnerability appears to have been fixed in 1.7.7.

References

CVSS Scores

version 3.1