Out-of-bounds read in libwebp - CVE-2018-25012

 

Out-of-bounds read in libwebp - CVE-2018-25012

Published: June 7, 2021


Vulnerability identifier: #VU53847
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-2018-25012
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 WebPMuxCreateInternal() 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
SUSE Linux Enterprise Module for Packagehub Subpackages
libwebp5 (Ubuntu package)
libwebpmux1 (Ubuntu package)
libwebpdemux1 (Ubuntu package)
libwebp5
libwebp-debugsource
libwebpdecoder1-debuginfo
libwebpdecoder1
libwebp-devel
libwebpmux1-debuginfo
libwebpmux1
libwebpdemux1-debuginfo
libwebpdemux1
libwebp5-debuginfo-32bit
libwebp5-debuginfo
libwebp5-32bit
libwebp6-32bit-debuginfo
libwebp6-32bit
libwebpmux2-debuginfo
libwebpmux2
libwebpextras0-debuginfo
libwebpextras0
libwebpdemux2-debuginfo
libwebpdecoder2-debuginfo
libwebpdecoder2
libwebp6-debuginfo
libwebp6
libwebpdemux2
libwebp (Red Hat package)
libwebpdemux2 (Ubuntu package)
libwebpmux3 (Ubuntu package)
libwebp6 (Ubuntu package)
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Enterprise Storage
SUSE OpenStack Cloud
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
Red Hat Enterprise Linux for ARM 64
HPE Helion Openstack
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Software Development Kit
Ubuntu
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Workstation Extension
Red Hat OpenShift Container Platform

How to mitigate CVE-2018-25012

Install updates from vendor's website.

libwebp - update to 1.0.1
libwebp5 (Ubuntu package) - addressed in versions 0.4.0-4ubuntu0.1~esm1, 0.4.4-1ubuntu0.1~esm1
libwebpmux1 (Ubuntu package) - addressed in versions 0.4.0-4ubuntu0.1~esm1, 0.4.4-1ubuntu0.1~esm1
libwebpdemux1 (Ubuntu package) - addressed in versions 0.4.0-4ubuntu0.1~esm1, 0.4.4-1ubuntu0.1~esm1
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
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
libwebpmux1 - 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
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
libwebpextras0 - update to 0.5.0-3.5.1
libwebpdemux2-debuginfo - update to 0.5.0-3.5.1
libwebpdecoder2-debuginfo - update to 0.5.0-3.5.1
libwebpdecoder2 - update to 0.5.0-3.5.1
libwebp6-debuginfo - update to 0.5.0-3.5.1
libwebp6 - update to 0.5.0-3.5.1
libwebpdemux2 - update to 0.5.0-3.5.1
libwebp (Red Hat package) - update to 1.0.0-5.el8
Red Hat OpenShift Container Platform - update to 4.11.0
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
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
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

External References

Related Security Bulletins