CVE-2021-31535
Fixed in a distro release EPSS 11%
LookupCol.c in X.Org X through X11R7.7 and libX11 before 1.7.1 might allow remote attackers to execute arbitrary code. The libX11 XLookupColor request (intended for server-side color lookup) contains a flaw allowing a client to send color-name requests with a name longer than the maximum size allowed by the protocol (and also longer than the maximum packet size for normal-sized packets). The user-controlled data exceeding the maximum size is then interpreted by the server as additional X protocol requests and executed, e.g., to disable X server authorization completely. For example, if the victim encounters malicious terminal control sequences for color codes, then the attacker may be able to take full control of the running graphical session.
Products: x.org libx11, x.org x_window_system, fedoraproject fedora
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 8 | libX11 | 1.6.8-5.el8 |
| AlmaLinux 8 | libX11-common | 1.6.8-5.el8 |
| AlmaLinux 8 | libX11-devel | 1.6.8-5.el8 |
| AlmaLinux 8 | libX11-xcb | 1.6.8-5.el8 |
| Alpine 3.10 | libx11 | 1.6.12-r1 |
| Alpine 3.11 | libx11 | 1.6.12-r1 |
| Alpine 3.12 | libx11 | 1.6.12-r1 |
| Alpine 3.13 | libx11 | 1.7.1-r0 |
| Alpine 3.14 | libx11 | 1.7.1-r0 |
| Alpine 3.15 | libx11 | 1.7.1-r0 |
| Alpine 3.16 | libx11 | 1.7.1-r0 |
| Alpine 3.17 | libx11 | 1.7.1-r0 |
| Alpine 3.18 | libx11 | 1.7.1-r0 |
| Alpine 3.19 | libx11 | 1.7.1-r0 |
| Alpine 3.20 | libx11 | 1.7.1-r0 |
| Alpine 3.21 | libx11 | 1.7.1-r0 |
| Alpine 3.22 | libx11 | 1.7.1-r0 |
| Alpine 3.23 | libx11 | 1.7.1-r0 |
| Alpine 3.24 | libx11 | 1.7.1-r0 |
| Amazon Linux 2 | libX11 | 1.6.7-3.amzn2.0.2 |
| Amazon Linux 2 | libX11-common | 1.6.7-3.amzn2.0.2 |
| Amazon Linux 2 | libX11-devel | 1.6.7-3.amzn2.0.2 |
| Arch Linux | libx11 | 1.7.1-1 |
| Debian 10 | libx11 | 2:1.6.7-1+deb10u2 |
| Debian 12 | libx11 | 2:1.7.1-1 |
| Debian 13 | libx11 | 2:1.7.1-1 |
| Debian 14 | libx11 | 2:1.7.1-1 |
| Debian 9 | libx11 | 2:1.6.4-3+deb9u4 |
| Red Hat Enterprise Linux 7 | libX11 | 0:1.6.7-4.el7_9 |
| Red Hat Enterprise Linux 7 | libX11-common | 0:1.6.7-4.el7_9 |
| Red Hat Enterprise Linux 7 | libX11-debuginfo | 0:1.6.7-4.el7_9 |
| Red Hat Enterprise Linux 7 | libX11-devel | 0:1.6.7-4.el7_9 |
| Red Hat Enterprise Linux 7 | redhat-virtualization-host | 0:4.3.18-20210903.0.el7_9 |
| Red Hat Enterprise Linux 7 | redhat-virtualization-host-image-update | 0:4.3.18-20210903.0.el7_9 |
| Red Hat Enterprise Linux 8 | libX11 | 0:1.6.8-5.el8 |
| Red Hat Enterprise Linux 8 | libX11-common | 0:1.6.8-5.el8 |
| Red Hat Enterprise Linux 8 | libX11-debuginfo | 0:1.6.8-5.el8 |
| Red Hat Enterprise Linux 8 | libX11-debugsource | 0:1.6.8-5.el8 |
| Red Hat Enterprise Linux 8 | libX11-devel | 0:1.6.8-5.el8 |
| Red Hat Enterprise Linux 8 | libX11-xcb | 0:1.6.8-5.el8 |
| Red Hat Enterprise Linux 8 | libX11-xcb-debuginfo | 0:1.6.8-5.el8 |
| Rocky Linux 8 | libX11 | 0:1.6.8-5.el8 |
| SUSE Enterprise Storage 6 | libX11 | 1.6.5-3.21.1 |
| SUSE HPE Helion OpenStack 8 | libX11 | 1.6.2-12.21.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | libX11 | 1.6.5-3.21.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | libX11 | 1.6.5-3.21.1 |
| SUSE Linux Enterprise High Performance Computing 15-ESPOS | libX11 | 1.6.5-3.21.1 |
| SUSE Linux Enterprise High Performance Computing 15-LTSS | libX11 | 1.6.5-3.21.1 |
| SUSE Linux Enterprise Micro 5.0 | libX11 | 1.6.5-3.21.1 |
| SUSE Linux Enterprise Micro 5.0 | libX11 | 1.6.5-3.18.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP2 | libX11 | 1.6.5-3.18.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP2 | libX11 | 1.6.5-3.21.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP3 | libX11 | 1.6.5-3.18.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP3 | libX11 | 1.6.5-3.21.1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | xorg-x11-libX11 | 7.4-5.11.72.27.1 |
| SUSE Linux Enterprise Server 11 SP4-LTSS | xorg-x11-libX11 | 7.4-5.11.72.27.1 |
| SUSE Linux Enterprise Server 12 SP2-BCL | libX11 | 1.6.2-12.21.1 |
| SUSE Linux Enterprise Server 12 SP3-BCL | libX11 | 1.6.2-12.21.1 |
| SUSE Linux Enterprise Server 12 SP3-LTSS | libX11 | 1.6.2-12.21.1 |
| SUSE Linux Enterprise Server 12 SP4-LTSS | libX11 | 1.6.2-12.21.1 |
| SUSE Linux Enterprise Server 12 SP5 | libX11 | 1.6.2-12.18.1 |
| SUSE Linux Enterprise Server 12 SP5 | libX11 | 1.6.2-12.21.1 |
| SUSE Linux Enterprise Server 15 SP1-BCL | libX11 | 1.6.5-3.21.1 |
| SUSE Linux Enterprise Server 15 SP1-LTSS | libX11 | 1.6.5-3.21.1 |
| SUSE Linux Enterprise Server 15-LTSS | libX11 | 1.6.5-3.21.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP3 | libX11 | 1.6.2-12.21.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP4 | libX11 | 1.6.2-12.21.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP5 | libX11 | 1.6.2-12.18.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP5 | libX11 | 1.6.2-12.21.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 | libX11 | 1.6.5-3.21.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | libX11 | 1.6.5-3.21.1 |
| SUSE Linux Enterprise Software Development Kit 12 SP5 | libX11 | 1.6.2-12.18.1 |
| SUSE Linux Enterprise Software Development Kit 12 SP5 | libX11 | 1.6.2-12.21.1 |
| SUSE Manager Proxy 4.0 | libX11 | 1.6.5-3.21.1 |
| SUSE Manager Retail Branch Server 4.0 | libX11 | 1.6.5-3.21.1 |
| SUSE Manager Server 4.0 | libX11 | 1.6.5-3.21.1 |
| SUSE OpenStack Cloud 8 | libX11 | 1.6.2-12.21.1 |
| SUSE OpenStack Cloud 9 | libX11 | 1.6.2-12.21.1 |
| SUSE OpenStack Cloud Crowbar 8 | libX11 | 1.6.2-12.21.1 |
| SUSE OpenStack Cloud Crowbar 9 | libX11 | 1.6.2-12.21.1 |
| Ubuntu 18.04 LTS | libx11 | 2:1.6.4-3ubuntu0.4 |
| Ubuntu 20.04 LTS | libx11 | 2:1.6.9-2ubuntu1.2 |
| Ubuntu Pro 14.04 LTS | libx11 | 2:1.6.2-1ubuntu2.1+esm2 |
| Ubuntu Pro 16.04 LTS | libx11 | 2:1.6.3-1ubuntu2.2+esm1 |
| openSUSE Leap 15.2 | libX11 | 1.6.5-lp152.5.15.1 |
| openSUSE Leap 15.2 | libX11 | 1.6.5-lp152.5.18.1 |
| openSUSE Leap 15.3 | libX11 | 1.6.5-3.21.1 |
| openSUSE Tumbleweed | libX11 | 1.7.2-1.2 |