Untrusted search path in libXpm - CVE-2022-4883

 

Untrusted search path in libXpm - CVE-2022-4883

Published: January 17, 2023


Vulnerability identifier: #VU71236
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-4883
CWE-ID: CWE-426
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to libXpm relies on the $PATH variable to run the command responsible for decompressing .Z or .gz files. A local user can execute arbitrary code with elevated privileges.


Affected software

libXpm
cflinuxfs3
Cloud Pak for Network Automation
PowerStore T
Enterprise SONiC
XtremIO X2
Dell PowerProtect Cyber Recovery
Gentoo Linux
Amazon Linux AMI
SUSE CaaS Platform
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Manager Server
SUSE Enterprise Storage
Anolis OS
Red Hat Enterprise Linux for Scientific Computing
CentOS
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
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 IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
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
Slackware Linux
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Realtime Extension
SUSE Linux Enterprise Workstation Extension
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Module for Basesystem
openSUSE Leap
Ubuntu
openEuler
Fedora
Data Lakehouse
Red Hat Advanced Cluster Management for Kubernetes
OpenShift Logging
Isolation Segment
VMware Tanzu Application Service for VMs
IBM Power Hardware Management Console (HMC)
OpenShift API for Data Protection (OADP)
Migration Toolkit for Containers
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
SUSE Linux Enterprise Module for Packagehub Subpackages
xpmutils (Ubuntu package)
libxpm4 (Ubuntu package)
libXpm
libXpm4-debuginfo-32bit
libXpm-tools-debuginfo
libXpm-tools
libXpm-devel
libXpm4-debuginfo
libXpm4-32bit
libXpm4
libXpm-debugsource
libXpm (Red Hat package)
libXpm-devel-32bit
libXpm4-32bit-debuginfo
libXpm-help
libXpm-debuginfo
x11-libs/libXpm
IBM Qradar SIEM
IBM DS8000 Hardware Management Console

How to mitigate CVE-2022-4883

Install updates from vendor's website.

libXpm - update to 3.5.15
Data Lakehouse - update to 1.1.0.0
OpenShift API for Data Protection (OADP) - update to 1.1.2
Migration Toolkit for Containers - update to 1.7.7
Red Hat Advanced Cluster Management for Kubernetes - update to 2.6.4
OpenShift Logging - addressed in versions 5.4.11, 5.6.1
xpmutils (Ubuntu package) - update to Ubuntu Pro
libxpm4 (Ubuntu package) - addressed in versions Ubuntu Pro, 1:3.5.12-1ubuntu0.18.04.2, 1:3.5.12-1ubuntu0.20.04.1, 1:3.5.12-1ubuntu0.22.04.1, 1:3.5.12-1ubuntu0.22.10.1
cflinuxfs3 - update to 0.351.0
Cloud Pak for Network Automation - update to 2.4.4
Isolation Segment - addressed in versions 2.11.29, 2.12.19, 2.13.14, 3.0.7
VMware Tanzu Application Service for VMs - addressed in versions 2.11.35, 2.12.24, 2.13.17, 3.0.7
PowerStore T - update to 3.5.0.1-2083289
libXpm - addressed in versions 3.5.10-2.10, 3.5.15-2
libXpm4-debuginfo-32bit - update to 3.5.11-6.7.1
libXpm-tools-debuginfo - addressed in versions 3.5.11-6.7.1, 3.5.12-150000.3.7.2
libXpm-tools - addressed in versions 3.5.11-6.7.1, 3.5.12-150000.3.7.2
libXpm-devel - addressed in versions 3.5.11-6.7.1, 3.5.12-150000.3.7.2
libXpm4-debuginfo - addressed in versions 3.5.11-6.7.1, 3.5.12-150000.3.7.2
libXpm4-32bit - addressed in versions 3.5.11-6.7.1, 3.5.12-150000.3.7.2
libXpm4 - addressed in versions 3.5.11-6.7.1, 3.5.12-150000.3.7.2
libXpm-debugsource - addressed in versions 3.5.11-6.7.1, 3.5.12-150000.3.7.2
libXpm - addressed in versions 3.5.12-2, 3.5.12-9.0.1, 3.5.13-8
libXpm-devel - addressed in versions 3.5.12-2, 3.5.12-9.0.1, 3.5.13-8
libXpm (Red Hat package) - addressed in versions 3.5.12-2.el7_9, 3.5.12-9.el8_1, 3.5.12-9.el8_2, 3.5.12-9.el8_4, 3.5.12-9.el8_6, 3.5.12-9.el8_7, 3.5.13-8.el9_0, 3.5.13-8.el9_1
libXpm-devel-32bit - update to 3.5.12-150000.3.7.2
libXpm4-32bit-debuginfo - update to 3.5.12-150000.3.7.2
libXpm-help - update to 3.5.13-2
libXpm-devel - update to 3.5.13-2
libXpm-debugsource - update to 3.5.13-2
libXpm-debuginfo - update to 3.5.13-2
libXpm - update to 3.5.13-2
libXpm - update to 3.5.15
libXpm - addressed in versions 3.5.15-2.fc36, 3.5.15-2.fc37
x11-libs/libXpm - update to 3.5.17
Enterprise SONiC - update to 4.1.2
XtremIO X2 - update to 6.4.1-11
IBM Qradar SIEM - addressed in versions 7.4.3 Fix Pack 9, 7.5.0 Update Pack 5
IBM Power Hardware Management Console (HMC) - addressed in versions 9.2.950.0 SP3, 10.1.1020.0 SP1, 10.2.1030.0, 10.2.1030.0 SP1
Dell PowerProtect Cyber Recovery - update to 19.14.0.1
IBM DS8000 Hardware Management Console - update to 89.33.34.0

External References

Related Security Bulletins