Out-of-bounds read in libarchive - CVE-2022-26280

 

Out-of-bounds read in libarchive - CVE-2022-26280

Published: April 9, 2022


Vulnerability identifier: #VU62030
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-26280
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 when processing ZIP files in zipx_lzma_alone_init. A remote attacker can create a specially crafted .zip archive, trick the victim into opening it, trigger out-of-bounds read error and read contents of memory on the system.


Affected software

libarchive
Amazon Linux AMI
Gentoo Linux
SUSE Manager Server
SUSE Manager Proxy
Oracle Linux
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Slackware Linux
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Module for Development Tools
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Server
SUSE Linux Enterprise High Performance Computing
openSUSE Leap
openEuler
Ubuntu
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
libarchive13 (Ubuntu package)
libarchive-devel
libarchive13-32bit-debuginfo
libarchive13-32bit
libarchive13-debuginfo
libarchive13
libarchive-debugsource
bsdtar-debuginfo
bsdtar
libarchive-help
libarchive-debuginfo
libarchive
libarchive (Red Hat package)
app-arch/libarchive
Storage Defender – Data Protect
OpenShift Data Foundation (formerly OpenShift Container Storage)
Red Hat OpenShift Container Platform

How to mitigate CVE-2022-26280

Install updates from vendor's website.

libarchive - update to 3.6.1
Storage Defender – Data Protect - update to 2.0
libarchive13 (Ubuntu package) - addressed in versions 3.4.0-2ubuntu1.2, 3.4.3-2ubuntu0.2
libarchive-devel - addressed in versions 3.4.2-150200.4.6.1, 3.5.1-150400.3.3.1
libarchive13-32bit-debuginfo - addressed in versions 3.4.2-150200.4.6.1, 3.5.1-150400.3.3.1
libarchive13-32bit - addressed in versions 3.4.2-150200.4.6.1, 3.5.1-150400.3.3.1
libarchive13-debuginfo - addressed in versions 3.4.2-150200.4.6.1, 3.5.1-150400.3.3.1
libarchive13 - addressed in versions 3.4.2-150200.4.6.1, 3.5.1-150400.3.3.1
libarchive-debugsource - addressed in versions 3.4.2-150200.4.6.1, 3.5.1-150400.3.3.1
bsdtar-debuginfo - addressed in versions 3.4.2-150200.4.6.1, 3.5.1-150400.3.3.1
bsdtar - addressed in versions 3.4.2-150200.4.6.1, 3.5.1-150400.3.3.1
libarchive-help - update to 3.4.3-5
libarchive-debugsource - update to 3.4.3-5
libarchive-devel - update to 3.4.3-5
libarchive-debuginfo - update to 3.4.3-5
libarchive - update to 3.4.3-5
libarchive - update to 3.5.3-2
libarchive (Red Hat package) - update to 3.5.3-2.el9_0
libarchive - update to 3.5.3-2.fc36
app-arch/libarchive - update to 3.6.1
OpenShift Data Foundation (formerly OpenShift Container Storage) - update to 4.13.0
Red Hat OpenShift Container Platform - update to 4.13.0

External References

Related Security Bulletins