CVSS 3.1
7.8 highCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HHigh (7.8). EPSS 1.9% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExplain CVE-2020-12762 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-12762?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-12762?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-12762 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| json-c:json-c | before 0.15-20200726 |
| fedoraproject:fedora | 30 |
| fedoraproject:fedora | 31 |
| fedoraproject:fedora | 32 |
| debian:debian_linux | 8.0 |
| debian:debian_linux | 9.0 |
| debian:debian_linux | 10.0 |
| canonical:ubuntu_linux | 12.04 |
| canonical:ubuntu_linux | 14.04 |
| canonical:ubuntu_linux | 16.04 |
| canonical:ubuntu_linux | 18.04 |
| canonical:ubuntu_linux | 19.10 |
| canonical:ubuntu_linux | 20.04 |
| siemens:sinec_ins | 1.0 |
| siemens:sinec_ins | 1.0:sp1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 8 | json-c | 0.11-4+deb8u1 | DLA-2228-1 |
| Debian | 8 | json-c | 0.11-4+deb8u2 | DLA-2228-2 |
| Debian | 9 | json-c | 0.12.1-1.1+deb9u1 | DLA-2301-1 |
| Debian | 10 | json-c | 0.12.1+ds-2+deb10u1 | DSA-4741-1 |
| Debian | 10 | libfastjson | 0.99.8-2+deb10u1 | DLA-3461-1 |
| Debian | 11 | libfastjson | 0.99.9-1+deb11u1 | DLA-4258-1 |
| Debian | 12, 13, 14 | json-c | 0.13.1+dfsg-8 | DEBIAN-CVE-2020-12762 |
| Debian | 12, 13, 14 | libfastjson | 1.2304.0-1 | DEBIAN-CVE-2020-12762 |
| Ubuntu | 16.04:LTS | json-c | 0.11-4ubuntu2.6 | UBUNTU-CVE-2020-12762 USN-4360-1 USN-4360-4 |
| Ubuntu | 18.04:LTS | json-c | 0.12.1-1.3ubuntu0.3 | UBUNTU-CVE-2020-12762 USN-4360-1 USN-4360-4 |
| Ubuntu | 20.04:LTS | json-c | 0.13.1+dfsg-7ubuntu0.3 | UBUNTU-CVE-2020-12762 USN-4360-1 USN-4360-4 |
| Ubuntu | Pro:14.04:LTS | json-c | 0.11-3ubuntu1.2+esm3 | UBUNTU-CVE-2020-12762 USN-4360-1 USN-4360-4 |
| Red Hat | enterprise_linux:8::appstream | json-c-devel, json-c-debuginfo, json-c-debugsource | 0:0.13.1-2.el8 | RHSA-2021:4382 |
| Red Hat | enterprise_linux:8::appstream | libfastjson, libfastjson-debuginfo, libfastjson-debugsource | 0:0.99.9-2.el8 | RHSA-2023:6976 |
| Red Hat | enterprise_linux:8::baseos | json-c, json-c-debuginfo, json-c-debugsource | 0:0.13.1-2.el8 | RHSA-2021:4382 |
| Red Hat | enterprise_linux:8::crb | json-c-doc | 0:0.13.1-2.el8 | RHSA-2021:4382 |
| Red Hat | enterprise_linux:9::appstream | libfastjson, libfastjson-debuginfo, libfastjson-debugsource | 0:0.99.9-5.el9 | RHSA-2023:6431 |
| Red Hat | enterprise_linux:9::crb | libfastjson-devel, libfastjson-debuginfo, libfastjson-debugsource | 0:0.99.9-5.el9 | RHSA-2023:6431 |
| Red Hat | rhel_eus:8.6::appstream | libfastjson, libfastjson-debuginfo, libfastjson-debugsource | 0:0.99.9-1.el8_6.1 | RHSA-2024:0411 |
| Red Hat | rhel_eus:8.8::appstream | libfastjson, libfastjson-debuginfo, libfastjson-debugsource | 0:0.99.9-1.el8_8.1 | RHSA-2024:0573 |
| Red Hat | rhel_eus:9.0::appstream | libfastjson, libfastjson-debuginfo, libfastjson-debugsource | 0:0.99.9-3.el9_0.1 | RHSA-2024:1154 |
| Red Hat | rhel_eus:9.2::appstream | libfastjson, libfastjson-debuginfo, libfastjson-debugsource | 0:0.99.9-3.el9_2.1 | RHSA-2024:1086 |
| SUSE | Enterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 19 more | json-c | 0.13-3.3.1 | SUSE-SU-2022:0184-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 more | libfastjson | 0.99.8-150000.3.3.1 | SUSE-SU-2024:1775-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP4 | libfastjson | 0.99.9-150400.3.3.1 | SUSE-SU-2023:2135-1 |
| SUSE | Linux Enterprise Real Time 15 SP2 | json-c | 0.13-3.3.1 | SUSE-SU-2022:0184-2 |
| SUSE | Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP4-LTSS and 6 more | json-c | 0.12.1-4.3.1 | SUSE-SU-2022:3001-1 |
| SUSE | Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 | libfastjson | 0.99.8-3.6.1 | SUSE-SU-2024:1846-1 |
| openSUSE | Leap 15.3 | json-c | 0.13-3.3.1 | openSUSE-SU-2022:0184-1 |
| openSUSE | Leap 15.4 | libfastjson | 0.99.9-150400.3.3.1 | SUSE-SU-2023:2135-1 |
| AlmaLinux | 8 | json-c-doc, json-c-devel | 0.13.1-2.el8 | ALSA-2021:4382 |
| AlmaLinux | 8 | libfastjson | 0.99.9-2.el8 | ALSA-2023:6976 |
| AlmaLinux | 9 | libfastjson, libfastjson-devel | 0.99.9-5.el9 | ALSA-2023:6431 |
| Rocky Linux | 8 | json-c | 0:0.13.1-2.el8 | RLSA-2021:4382 |
| Rocky Linux | 8 | libfastjson | 0:0.99.9-2.el8 | RLSA-2023:6976 |
| Rocky Linux | 9 | libfastjson | 0:0.99.9-5.el9 | RLSA-2023:6431 |
| Alpine | v3.9, v3.10, v3.11 | json-c | 0.13.1-r1 | ALPINE-CVE-2020-12762 |
| Alpine | v3.12, v3.13, v3.14 and 10 more | json-c | 0.14-r1 | ALPINE-CVE-2020-12762 |
| Alpine | v3.15, v3.16, v3.17 and 7 more | libfastjson | 1.2304.0-r0 | ALPINE-CVE-2020-12762 |
| Azure Linux | 2 | json-c | 0.15-2 | AZL-6506 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
This is essentially a integer overflow in the 'size' variable caused by large data input. In most systems its a signed integer overflow and results in out of bounds buffer write on the heap. However the impact is greatly reduced because such an attack is only possible if the application compiled with json-c is designed to accept untrusted large json files. Also the attack vector in this case as considered as local in most practical cases.
Since this flaw is triggered by untrusted large json files. If any applications linked against json-c is used ensure that the application does not accept large json files. (or untrusted ones wherever possible)
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | json-c-0:0.13.1-2.el8 | Fixed 2021-11-09 | RHSA-2021:4382 |
| Red Hat Enterprise Linux 8 | libfastjson-0:0.99.9-2.el8 | Fixed 2023-11-14 | RHSA-2023:6976 |
| Red Hat Enterprise Linux 8.6 Extended Update Support | libfastjson-0:0.99.9-1.el8_6.1 | Fixed 2024-01-25 | RHSA-2024:0411 |
| Red Hat Enterprise Linux 8.8 Extended Update Support | libfastjson-0:0.99.9-1.el8_8.1 | Fixed 2024-01-30 | RHSA-2024:0573 |
| Red Hat Enterprise Linux 9 | libfastjson-0:0.99.9-5.el9 | Fixed 2023-11-07 | RHSA-2023:6431 |
| Red Hat Enterprise Linux 9.0 Extended Update Support | libfastjson-0:0.99.9-3.el9_0.1 | Fixed 2024-03-05 | RHSA-2024:1154 |
| Red Hat Enterprise Linux 9.2 Extended Update Support | libfastjson-0:0.99.9-3.el9_2.1 | Fixed 2024-03-05 | RHSA-2024:1086 |
| Red Hat Enterprise Linux 6 | json-c | Will not fix | |
| Red Hat Enterprise Linux 7 | json-c | Will not fix | |
| Red Hat Enterprise Linux 9 | json-c | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-12762.
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-23-348-10 | Siemens SIMATIC S7-1500 | 2023-12-12 | Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and Facilities | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 more | none listed |
| ICSA-23-166-11 | Siemens SIMATIC S7-1500 TM MFP Linux Kernel | 2023-06-13 | Multiple | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | none listed |
| ICSA-22-258-05 | Siemens SINEC INS | 2022-09-13 | Multiple | SINEC INS | none listed |
From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.