Input validation error in libx11 - CVE-2021-31535

 

Input validation error in libx11 - CVE-2021-31535

Published: May 19, 2021 / Updated: May 19, 2021


Vulnerability identifier: #VU53336
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-31535
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of color names within the XLookupColor() function. A local user can run a specially crafted application on the system and perform a denial of service (DoS) attack.


Affected software

libx11
cflinuxfs3
Dell EMC PowerStore Family Operating System
Arch Linux
Amazon Linux AMI
Gentoo Linux
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE CaaS Platform
SUSE MicroOS
SUSE Enterprise Storage
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
CentOS
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Scientific Computing
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 for ARM 64
Red Hat Enterprise Linux for x86_64
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
HPE Helion Openstack
SUSE Linux Enterprise Debuginfo
SUSE Linux Enterprise Point of Sale
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Software Development Kit
Slackware Linux
Ubuntu
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Basesystem
openEuler
Fedora
libx11 (Debian package)
libX11 (Red Hat package)
redhat-release-virtualization-host (Red Hat package)
redhat-virtualization-host (Red Hat package)
libX11-6
libX11-devel
libX11-debugsource
libX11-6-debuginfo
libX11-xcb1
libX11-xcb1-debuginfo
libX11-6-32bit
libX11-6-debuginfo-32bit
libX11-xcb1-32bit
libX11-xcb1-debuginfo-32bit
libX11-data
libx11-6 (Ubuntu package)
libX11-xcb1-32bit-debuginfo
libX11-6-32bit-debuginfo
libX11-help
libX11-debuginfo
libX11
xorg-x11-libX11-debugsource
xorg-x11-libX11-debuginfo
xorg-x11-libX11-32bit
xorg-x11-libX11
Red Hat Advanced Cluster Management for Kubernetes
watsonx.data
Red Hat Virtualization Host
Contrail Networking
Red Hat Virtualization
OpenShift Virtualization
Red Hat OpenShift Container Platform
Dell EMC Unity Operating Environment (OE)
Dell EMC Unity VSA Operating Environment (OE)
Dell EMC Unity XT Operating Environment (OE)
Dell EMC VxRail Appliance

How to mitigate CVE-2021-31535

Install updates from vendor's website.

libx11 - update to 1.7.1
cflinuxfs3 - update to 0.239.0
libx11 (Debian package) - update to 1.6.7-1+deb10u2
libX11 (Red Hat package) - addressed in versions 1.6.7-4.el7_9, 1.6.8-5.el8
Red Hat Advanced Cluster Management for Kubernetes - addressed in versions 2.1.11, 2.3.2
watsonx.data - update to 2.2
redhat-release-virtualization-host (Red Hat package) - update to 4.3.18-1.el7ev
redhat-virtualization-host (Red Hat package) - update to 4.3.18-20210903.0.el7_9
libX11-6 - addressed in versions 1.6.2-12.18.1, 1.6.2-12.21.1, 1.6.5-3.18.1, 1.6.5-3.21.1
libX11-devel - addressed in versions 1.6.2-12.18.1, 1.6.2-12.21.1, 1.6.5-3.18.1, 1.6.5-3.21.1
libX11-debugsource - addressed in versions 1.6.2-12.18.1, 1.6.2-12.21.1, 1.6.5-3.18.1, 1.6.5-3.21.1
libX11-6-debuginfo - addressed in versions 1.6.2-12.18.1, 1.6.2-12.21.1, 1.6.5-3.18.1, 1.6.5-3.21.1
libX11-xcb1 - addressed in versions 1.6.2-12.18.1, 1.6.2-12.21.1, 1.6.5-3.18.1, 1.6.5-3.21.1
libX11-xcb1-debuginfo - addressed in versions 1.6.2-12.18.1, 1.6.2-12.21.1, 1.6.5-3.18.1, 1.6.5-3.21.1
libX11-6-32bit - addressed in versions 1.6.2-12.18.1, 1.6.2-12.21.1, 1.6.5-3.18.1, 1.6.5-3.21.1
libX11-6-debuginfo-32bit - addressed in versions 1.6.2-12.18.1, 1.6.2-12.21.1
libX11-xcb1-32bit - addressed in versions 1.6.2-12.18.1, 1.6.2-12.21.1, 1.6.5-3.18.1, 1.6.5-3.21.1
libX11-xcb1-debuginfo-32bit - addressed in versions 1.6.2-12.18.1, 1.6.2-12.21.1
libX11-data - addressed in versions 1.6.2-12.18.1, 1.6.2-12.21.1, 1.6.5-3.18.1, 1.6.5-3.21.1
libx11-6 (Ubuntu package) - addressed in versions 2:1.6.4-3ubuntu0.4, 2:1.6.9-2ubuntu1.2, 2:1.6.12-1ubuntu0.1, 2:1.6.31ubuntu2.2+esm1, 2:1.7.0-2ubuntu0.1
libX11-xcb1-32bit-debuginfo - addressed in versions 1.6.5-3.18.1, 1.6.5-3.21.1
libX11-6-32bit-debuginfo - addressed in versions 1.6.5-3.18.1, 1.6.5-3.21.1
libX11-help - update to 1.6.9-5
libX11-debugsource - update to 1.6.9-5
libX11-devel - update to 1.6.9-5
libX11-debuginfo - update to 1.6.9-5
libX11 - update to 1.6.9-5
libX11 - update to 1.7.2-3.fc33
Dell EMC PowerStore Family Operating System - update to 2.1.1.2- 1885194
OpenShift Virtualization - update to 4.11.0
Red Hat OpenShift Container Platform - update to 4.11.0
Dell EMC Unity Operating Environment (OE) - update to 5.1.2.0.5.007
Dell EMC Unity VSA Operating Environment (OE) - update to 5.1.2.0.5.007
Dell EMC Unity XT Operating Environment (OE) - update to 5.1.2.0.5.007
Dell EMC VxRail Appliance - update to 7.0.203
xorg-x11-libX11-debugsource - update to 7.4-5.11.72.27.1
xorg-x11-libX11-debuginfo - update to 7.4-5.11.72.27.1
xorg-x11-libX11-32bit - update to 7.4-5.11.72.27.1
xorg-x11-libX11 - update to 7.4-5.11.72.27.1
Contrail Networking - update to 2011.L5

External References

Related Security Bulletins