Out-of-bounds write in json-c - CVE-2020-12762

 

Out-of-bounds write in json-c - CVE-2020-12762

Published: May 13, 2020 / Updated: July 27, 2020


Vulnerability identifier: #VU27882
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-12762
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing untrusted input in the "printbuf_memappend". A remote attacker can create a specially crafted JSON file, trick the victim into opening it using the affected software, trigger out-of-bounds write and execute arbitrary code on the target system.


Affected software

json-c
Dell EMC PowerProtect Data Protection
Dell Data Protection Central
Robotic Process Automation for Cloud Pak
ObjectScale
EMC ECS
Enterprise SONiC
IBM MQ Appliance
EMC Cloud Tiering Appliance
Amazon Linux AMI
Debian Linux
Gentoo Linux
Oracle Linux
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE MicroOS
SUSE Enterprise Storage
Fedora
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat CodeReady Linux Builder for IBM z Systems
Red Hat CodeReady Linux Builder for x86_64
Red Hat CodeReady Linux Builder for Power, little endian
Anolis OS
Red Hat CodeReady Linux Builder for ARM 64
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
Red Hat Enterprise Linux Server - AUS
Oracle Solaris
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Software Development Kit
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise Realtime Extension
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
SUSE Linux Enterprise Module for Basesystem
Basesystem Module
openSUSE Leap
openEuler
json-c (Alpine package)
json-c (Ubuntu package)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
json-c (Debian package)
json-c12
libjson-c2-debuginfo-32bit
libjson-c2-debuginfo
libjson-c2-32bit
json-c-debugsource
libjson-c-devel
libjson-c2
json-c (Red Hat package)
json-c-help
json-c-devel
json-c
libjson-c3-32bit-debuginfo
libjson-c3-debuginfo
libjson-c3-32bit
libjson-c3
libfastjson4
libfastjson4-debuginfo
libfastjson-debugsource
libfastjson-devel
libfastjson
libfastjson (Red Hat package)
libfastjson-debuginfo
Cloud Pak for Security (CP4S)
RecoverPoint for Virtual Machines
OpenShift Data Foundation (formerly OpenShift Container Storage)
Red Hat OpenShift Serverless
SINEC INS
Migration Toolkit for Containers
Red Hat OpenShift Container Platform
Red Hat Advanced Cluster Management for Kubernetes
Red Hat Advanced Cluster Security for Kubernetes
IBM Security Verify Governance
Red Hat OpenStack
Dell EMC NetWorker vProxy
Dell EMC Unity VSA Operating Environment (OE)
Dell EMC Unity XT Operating Environment (OE)
Dell EMC Unity Operating Environment (OE)
Dell EMC VxRail Appliance

How to mitigate CVE-2020-12762

Install updates from vendor's website.

json-c - update to 0.15
json-c (Alpine package) - update to 0.13.1-r1
json-c (Ubuntu package) - addressed in versions 0.11-4ubuntu2.6, 0.12.1-1.3ubuntu0.3, 0.13.1+dfsg-4ubuntu0.3, 0.13.1+dfsg-7ubuntu0.3
Cloud Pak for Security (CP4S) - update to 1.10.7.0
OpenShift Data Foundation (formerly OpenShift Container Storage) - update to 4.12.10
RecoverPoint for Virtual Machines - update to 6.0 SP2 P1
Robotic Process Automation for Cloud Pak - update to 23.0.13
json-c (Debian package) - update to 0.12.1+ds-2+deb10u1
json-c12 - addressed in versions 0.12.1-4.el6, 0.12.1-4.el7
libjson-c2-debuginfo-32bit - update to 0.12.1-4.3.1
libjson-c2-debuginfo - update to 0.12.1-4.3.1
libjson-c2-32bit - update to 0.12.1-4.3.1
json-c-debugsource - addressed in versions 0.12.1-4.3.1, 0.13-3.3.1
libjson-c-devel - addressed in versions 0.12.1-4.3.1, 0.13-3.3.1
libjson-c2 - update to 0.12.1-4.3.1
json-c (Red Hat package) - update to 0.13.1-2.el8
json-c-help - update to 0.13.1-7
json-c-devel - update to 0.13.1-7
json-c - update to 0.13.1-7
json-c - addressed in versions 0.13.1-12.fc30, 0.13.1-12.fc31, 0.13.1-12.fc32
libjson-c3-32bit-debuginfo - update to 0.13-3.3.1
libjson-c3-debuginfo - update to 0.13-3.3.1
libjson-c3-32bit - update to 0.13-3.3.1
libjson-c3 - update to 0.13-3.3.1
json-c - update to 0.14-8
libfastjson4 - addressed in versions 0.99.8-3.6.1, 0.99.8-150000.3.3.1, 0.99.9-150400.3.3.1
libfastjson4-debuginfo - addressed in versions 0.99.8-3.6.1, 0.99.8-150000.3.3.1, 0.99.9-150400.3.3.1
libfastjson-debugsource - addressed in versions 0.99.8-3.6.1, 0.99.8-150000.3.3.1, 0.99.9-150400.3.3.1
libfastjson-devel - addressed in versions 0.99.8-150000.3.3.1, 0.99.9-150400.3.3.1
libfastjson - update to 0.99.9-1
libfastjson (Red Hat package) - addressed in versions 0.99.9-1.el8_8.1, 0.99.9-2.el8, 0.99.9-3.el9_0.1, 0.99.9-3.el9_2.1, 0.99.9-5.el9
libfastjson-devel - update to 0.99.9-3
libfastjson - update to 0.99.9-3
libfastjson-debugsource - update to 0.99.9-3
libfastjson-debuginfo - update to 0.99.9-3
libfastjson - update to 0.99.9-5
SINEC INS - update to 1.0 SP2
ObjectScale - update to 1.4.0
Migration Toolkit for Containers - update to 1.5.4
Red Hat OpenShift Serverless - update to 1.20.0
libfastjson - update to 1.2304.0-1.fc39
Red Hat Advanced Cluster Management for Kubernetes - update to 2.2.10
EMC ECS - update to 3.8.0.2
Red Hat Advanced Cluster Security for Kubernetes - update to 3.67
Enterprise SONiC - update to 4.1.2
Dell EMC NetWorker vProxy - update to 4.3.0-36
Red Hat OpenShift Container Platform - addressed in versions 4.13.45, 4.14.32, 4.14.33, 4.16.15, 4.17.0
Dell EMC Unity VSA Operating Environment (OE) - update to 5.2.0.0.5.173
Dell EMC Unity XT Operating Environment (OE) - update to 5.2.0.0.5.173
Dell EMC Unity Operating Environment (OE) - update to 5.2.0.0.5.173
Dell EMC VxRail Appliance - update to 8.0.101
IBM MQ Appliance - addressed in versions 9.3.0.20, 9.3.5.2
IBM Security Verify Governance - update to 10.0.2.0.4
EMC Cloud Tiering Appliance - update to 13.2.0.2.31
Red Hat OpenStack - update to 16.2

External References

Related Security Bulletins