CVE-2020-12762
HIGH severity · CVSS 7.8 · Integer overflow
7.8CVSS HIGH
Summary
json-c through 0.14 has an integer overflow and out-of-bounds write via a large JSON file, as demonstrated by printbuf_memappend.
Impact & exploitability
Attack vectorLocal
Attack complexityLow
Privileges requiredNone
User interactionRequired
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
Exploit probability (EPSS)2%
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Recommendation
Apply the vendor fix promptly. Open any affected product above for its exact safe version.
Official patch: https://github.com/json-c/json-c/pull/592 ↗
Additional information
- NVD record
- https://github.com/json-c/json-c/pull/592Patch
- https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdfAdvisory
- https://lists.debian.org/debian-lts-announce/2020/05/msg00032.htmlAdvisory
- https://lists.debian.org/debian-lts-announce/2020/05/msg00034.htmlAdvisory
- https://lists.debian.org/debian-lts-announce/2020/07/msg00031.htmlAdvisory
- https://lists.debian.org/debian-lts-announce/2023/06/msg00023.htmlAdvisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CBR36IXYBHITAZFB5PFBJTED22WO5ONB/
- https://github.com/rsyslog/libfastjson/issues/161Advisory