Vulnerability · Published May 9, 2020 · Assigned by mitre

CVE-2020-12762

High 7.8

In plain English

A high-severity out-of-bounds write in the json-c-devel package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)1.9%top 20.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8json-c-devel0.13.1-2.el8ALSA-2021:4382
AlmaLinux:8json-c-doc0.13.1-2.el8ALSA-2021:4382
AlmaLinux:8libfastjson0.99.9-2.el8ALSA-2023:6976
AlmaLinux:9libfastjson0.99.9-5.el9ALSA-2023:6431
AlmaLinux:9libfastjson-devel0.99.9-5.el9ALSA-2023:6431
Alpine:v3.20json-c0.14-r1ALPINE-CVE-2020-12762
Alpine:v3.21json-c0.14-r1ALPINE-CVE-2020-12762
Alpine:v3.22json-c0.14-r1ALPINE-CVE-2020-12762
Alpine:v3.23json-c0.14-r1ALPINE-CVE-2020-12762
Alpine:v3.24json-c0.14-r1ALPINE-CVE-2020-12762
Alpine:v3.20libfastjson1.2304.0-r0ALPINE-CVE-2020-12762
Alpine:v3.21libfastjson1.2304.0-r0ALPINE-CVE-2020-12762
Alpine:v3.22libfastjson1.2304.0-r0ALPINE-CVE-2020-12762
Alpine:v3.23libfastjson1.2304.0-r0ALPINE-CVE-2020-12762
Alpine:v3.24libfastjson1.2304.0-r0ALPINE-CVE-2020-12762
Debian:12json-c0.13.1+dfsg-8DEBIAN-CVE-2020-12762
Debian:13json-c0.13.1+dfsg-8DEBIAN-CVE-2020-12762
Debian:14json-c0.13.1+dfsg-8DEBIAN-CVE-2020-12762
Debian:12libfastjson1.2304.0-1DEBIAN-CVE-2020-12762
Debian:13libfastjson1.2304.0-1DEBIAN-CVE-2020-12762
Debian:14libfastjson1.2304.0-1DEBIAN-CVE-2020-12762
Rocky Linux:8json-c0:0.13.1-2.el8RLSA-2021:4382
Rocky Linux:8libfastjson0:0.99.9-2.el8RLSA-2023:6976
Rocky Linux:9libfastjson0:0.99.9-5.el9RLSA-2023:6431

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-787 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References