CVE-2020-12762
High
Description
json-c through 0.14 has an integer overflow and out-of-bounds write via a large JSON file, as demonstrated by printbuf_memappend.
SeverityHigh
CVSS7.8
Exploit probability—
Product
Json-c
PublishedMay 9, 2020
First seenMay 9, 2020
Weakness typeCWE-787Out-of-bounds write
How to fix
Update
- json-c json-c0.15-20200726 or later
Vendor advisories
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CQQRRGBQCAWNCCJ2HN3W5SSCZ4QGMXQI/
- usn.ubuntu.com/4360-1/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CBR36IXYBHITAZFB5PFBJTED22WO5ONB/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W226TSCJBEOXDUFVKNWNH7ETG7AR6MCS/
- usn.ubuntu.com/4360-4/
- security.gentoo.org/glsa/202006-13
- debian.org/security/2020/dsa-4741
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| json-c json-c | v < 0.15-20200726 | 0.15-20200726 |
| fedoraproject fedora | 30, 31, 32 | — |
| debian debian_linux | 8.0, 9.0, 10.0 | — |
| canonical ubuntu_linux | 12.04, 14.04, 16.04, 18.04, 19.10, 20.04 | — |
| siemens sinec_ins | No range specified, 1.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.