Infinite loop in libXpm - CVE-2022-44617

 

Infinite loop in libXpm - CVE-2022-44617

Published: January 17, 2023


Vulnerability identifier: #VU71235
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-44617
CWE-ID: CWE-835
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to infinite loop within the ParsePixels() function when handling XPM files with width set to 0 and a very large height value. A remote attacker can trick the victim to open a specially crafted XPM file and perform a denial of service (DoS) attack.


Affected software

libXpm
cflinuxfs3
Cloud Pak for Network Automation
PowerStore T
Enterprise SONiC
Dell PowerProtect Cyber Recovery
Amazon Linux AMI
Gentoo Linux
SUSE CaaS Platform
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Manager Server
SUSE Enterprise Storage
Anolis OS
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
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 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 Software Development Kit
SUSE Linux Enterprise Server for SAP Applications
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)
motif-help
motif-devel
motif-debugsource
motif-debuginfo
motif
libXpm
libXpm4-32bit
libXpm-debugsource
libXpm-tools-debuginfo
libXpm-tools
libXpm-devel
libXpm4-debuginfo-32bit
libXpm4-debuginfo
libXpm4
libXpm (Red Hat package)
libXpm-devel-32bit
libXpm4-32bit-debuginfo
libXpm-debuginfo
libXpm-help
x11-libs/libXpm
IBM DS8000 Hardware Management Console

How to mitigate CVE-2022-44617

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
motif-help - update to 2.3.8-6
motif-devel - update to 2.3.8-6
motif-debugsource - update to 2.3.8-6
motif-debuginfo - update to 2.3.8-6
motif - update to 2.3.8-6
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-32bit - 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-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-32bit - update to 3.5.11-6.7.1
libXpm4-debuginfo - 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 (Red Hat package) - addressed in versions 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 - addressed in versions 3.5.12-9.0.1, 3.5.13-8
libXpm - addressed in versions 3.5.12-9.0.1, 3.5.13-8
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-debuginfo - update to 3.5.13-2
libXpm - update to 3.5.13-2
libXpm-debugsource - update to 3.5.13-2
libXpm-devel - update to 3.5.13-2
libXpm-help - 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
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