Out-of-bounds read in libwebp - CVE-2020-36331

 

Out-of-bounds read in libwebp - CVE-2020-36331

Published: June 7, 2021


Vulnerability identifier: #VU53850
CSH Severity: Low
CVSS v4: 2.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-36331
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition in the ChunkAssignData() function in libwebp. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger out-of-bounds read error and read contents of memory on the system.


Affected software

libwebp
Amazon Linux AMI
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Enterprise Storage
SUSE OpenStack Cloud
Red Hat Enterprise Linux for ARM 64
HPE Helion Openstack
SUSE OpenStack Cloud Crowbar
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Software Development Kit
iPadOS
Apple iOS
Ubuntu
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Workstation Extension
libwebp (Debian package)
SUSE Linux Enterprise Module for Packagehub Subpackages
libwebp
libwebpmux1
libwebpdecoder1-debuginfo
libwebpdecoder1
libwebp-devel
libwebpmux1-debuginfo
libwebpdemux1-debuginfo
libwebpdemux1
libwebp5-debuginfo-32bit
libwebp5-debuginfo
libwebp5-32bit
libwebp5
libwebp-debugsource
libwebpdemux1 (Ubuntu package)
libwebpmux1 (Ubuntu package)
libwebp5 (Ubuntu package)
libwebpextras0
libwebp6-32bit-debuginfo
libwebp6-32bit
libwebpmux2-debuginfo
libwebpmux2
libwebpextras0-debuginfo
libwebpdemux2-debuginfo
libwebpdemux2
libwebp6
libwebp6-debuginfo
libwebpdecoder2
libwebpdecoder2-debuginfo
libwebp6 (Ubuntu package)
libwebpmux3 (Ubuntu package)
libwebpdemux2 (Ubuntu package)
libwebp (Red Hat package)
Red Hat OpenShift Container Platform

How to mitigate CVE-2020-36331

Install updates from vendor's website.

libwebp - update to 1.0.1
libwebp (Debian package) - update to 0.6.1-2+deb10u1
iPadOS - addressed in versions 14.7 18G69, 14.7 18G70
Apple iOS - update to 14.7 18G69
libwebp - update to 0.3.0-10.8
libwebpmux1 - update to 0.4.3-4.7.1
libwebpdecoder1-debuginfo - update to 0.4.3-4.7.1
libwebpdecoder1 - update to 0.4.3-4.7.1
libwebp-devel - addressed in versions 0.4.3-4.7.1, 0.5.0-3.5.1
libwebpmux1-debuginfo - update to 0.4.3-4.7.1
libwebpdemux1-debuginfo - update to 0.4.3-4.7.1
libwebpdemux1 - update to 0.4.3-4.7.1
libwebp5-debuginfo-32bit - update to 0.4.3-4.7.1
libwebp5-debuginfo - update to 0.4.3-4.7.1
libwebp5-32bit - update to 0.4.3-4.7.1
libwebp5 - update to 0.4.3-4.7.1
libwebp-debugsource - addressed in versions 0.4.3-4.7.1, 0.5.0-3.5.1
libwebpdemux1 (Ubuntu package) - update to 0.4.41ubuntu0.1~esm1
libwebpmux1 (Ubuntu package) - update to 0.4.41ubuntu0.1~esm1
libwebp5 (Ubuntu package) - update to 0.4.41ubuntu0.1~esm1
libwebpextras0 - update to 0.5.0-3.5.1
libwebp6-32bit-debuginfo - update to 0.5.0-3.5.1
libwebp6-32bit - update to 0.5.0-3.5.1
libwebpmux2-debuginfo - update to 0.5.0-3.5.1
libwebpmux2 - update to 0.5.0-3.5.1
libwebpextras0-debuginfo - update to 0.5.0-3.5.1
libwebpdemux2-debuginfo - update to 0.5.0-3.5.1
libwebpdemux2 - update to 0.5.0-3.5.1
libwebp6 - update to 0.5.0-3.5.1
libwebp6-debuginfo - update to 0.5.0-3.5.1
libwebpdecoder2 - update to 0.5.0-3.5.1
libwebpdecoder2-debuginfo - update to 0.5.0-3.5.1
libwebp6 (Ubuntu package) - addressed in versions 0.6.1-2ubuntu0.18.04.1, 0.6.1-2ubuntu0.20.04.1, 0.6.1-2ubuntu0.20.10.1, 0.6.1-2ubuntu0.21.04.1
libwebpmux3 (Ubuntu package) - addressed in versions 0.6.1-2ubuntu0.18.04.1, 0.6.1-2ubuntu0.20.04.1, 0.6.1-2ubuntu0.20.10.1, 0.6.1-2ubuntu0.21.04.1
libwebpdemux2 (Ubuntu package) - addressed in versions 0.6.1-2ubuntu0.18.04.1, 0.6.1-2ubuntu0.20.04.1, 0.6.1-2ubuntu0.20.10.1, 0.6.1-2ubuntu0.21.04.1
libwebp (Red Hat package) - update to 1.0.0-5.el8
Red Hat OpenShift Container Platform - update to 4.11.0

External References

Related Security Bulletins