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

 

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

Published: June 7, 2021


Vulnerability identifier: #VU53848
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-25013
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 ShiftBytes() 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 x86_64
HPE Helion Openstack
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
SUSE OpenStack Cloud Crowbar
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
SUSE Linux Enterprise Module for Packagehub Subpackages
libwebp5 (Ubuntu package)
libwebpdemux1 (Ubuntu package)
libwebpmux1 (Ubuntu package)
libwebp (Debian package)
libwebp
libwebp-debugsource
libwebpdecoder1-debuginfo
libwebpdecoder1
libwebp-devel
libwebpmux1-debuginfo
libwebpmux1
libwebpdemux1-debuginfo
libwebpdemux1
libwebp5-debuginfo-32bit
libwebp5-debuginfo
libwebp5-32bit
libwebp5
libwebpmux2-debuginfo
libwebp6-32bit-debuginfo
libwebp6-32bit
libwebpmux2
libwebpextras0-debuginfo
libwebpextras0
libwebpdemux2-debuginfo
libwebpdecoder2-debuginfo
libwebpdecoder2
libwebp6-debuginfo
libwebpdemux2
libwebp6
libwebp (Red Hat package)
libwebpdemux2 (Ubuntu package)
libwebpmux3 (Ubuntu package)
libwebp6 (Ubuntu package)
IBM Business Automation Workflow
Red Hat OpenShift Container Platform

How to mitigate CVE-2018-25013

Install updates from vendor's website.

libwebp - update to 1.0.1
IBM Business Automation Workflow - update to 22.0.1-IF002
libwebp5 (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
libwebpmux1 (Ubuntu package) - addressed in versions 0.4.0-4ubuntu0.1~esm1, 0.4.4-1ubuntu0.1~esm1
libwebp (Debian package) - update to 0.6.1-2+deb10u1
libwebp - update to 0.3.0-10.9
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
libwebp5 - update to 0.4.3-4.7.1
libwebpmux2-debuginfo - 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 - 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
libwebpdemux2 - update to 0.5.0-3.5.1
libwebp6 - 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