Buffer overflow in Json-C
CVE-2020-12762
json-c through 0.14 has an integer overflow and out-of-bounds write via a large JSON file, as demonstrated by printbuf_memappend.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.019 (79.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 80th percentile — 79.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.019 · newest: 0.019 · change: 0.000
Affected products
- Json-C
- Siemens Sinec Ins — versions 1.0
- Canonical Ubuntu Linux — versions 12.04, 14.04, 16.04
- Debian Linux — versions 8.0, 9.0, 10.0
- Fedoraproject Fedora — versions 30, 31, 32
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/json-c/json-c/pull/592 (Exploit, Patch, Third Party Advisory)
- github.com/rsyslog/libfastjson/issues/161 (Exploit, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- usn.ubuntu.com/4360-1/ (vendor-advisory, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.debian.org/debian-lts-announce/2020/05/msg00032.html (mailing-list, Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2020/05/msg00034.html (mailing-list, Mailing List, Third Party Advisory)
- usn.ubuntu.com/4360-4/ (vendor-advisory, Third Party Advisory)
- security.gentoo.org/glsa/202006-13 (vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2020-12762?
- CVE-2020-12762 is a high-severity vulnerability in Json-C, classified under Integer Overflow or Wraparound. CVSS score: 7.8/10. Published 2020-05-09.
- How severe is CVE-2020-12762?
- High severity. CVSS v3 base score is 7.8 out of 10.
- Is CVE-2020-12762 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.