Out-of-bounds Write Affecting json-c/json-c package, versions [0,json-c-0.15-20200726)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.08% (37th 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-JSONCJSONC-2319484
  • published14 Dec 2021
  • disclosed9 May 2020
  • creditUnknown

Introduced: 9 May 2020

CVE-2020-12762  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade json-c/json-c to version json-c-0.15-20200726 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write json-c through 0.14 has an integer overflow and out-of-bounds write via a large JSON file, as demonstrated by printbuf_memappend.

References

CVSS Scores

version 3.1