Vulnerabilidades / CVE-2021-31535

crítica

CVE-2021-31535

libX11: missing request length checks

Publicada Modificada CWE 120
En la Trivy database desde, como mínimo, el 24 oct 2026, 07:11 UTCNo consta cuándo entró antes de ese build.

Severidad por fuente

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Julia9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, Julia. Más baja según Red Hat (alta), Amazon (alta), AlmaLinux (media), Oracle (media), Rocky Linux (media), Ubuntu (media).

Descripción

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.

Paquetes afectados y versiones corregidas

FuentePaqueteCorregido en
julia::Julia Ecosystem Security AdvisoriesXorg_libX11_jll1.8.6+0
alma 8libX11, libX11-common, libX11-devel y 1 más1.6.8-5.el8
alpine 3.10libx111.6.12-r1
alpine 3.11libx111.6.12-r1
alpine 3.12libx111.6.12-r1
alpine 3.13libx111.7.1-r0
alpine 3.14libx111.7.1-r0
alpine 3.15libx111.7.1-r0
alpine 3.16libx111.7.1-r0
alpine 3.17libx111.7.1-r0
alpine 3.18libx111.7.1-r0
alpine 3.19libx111.7.1-r0
Mostrar las 60 entradas de 41 fuentes
FuentePaqueteCorregido en
julia::Julia Ecosystem Security AdvisoriesXorg_libX11_jll1.8.6+0
alma 8libX111.6.8-5.el8
alma 8libX11-common1.6.8-5.el8
alma 8libX11-devel1.6.8-5.el8
alma 8libX11-xcb1.6.8-5.el8
alpine 3.10libx111.6.12-r1
alpine 3.11libx111.6.12-r1
alpine 3.12libx111.6.12-r1
alpine 3.13libx111.7.1-r0
alpine 3.14libx111.7.1-r0
alpine 3.15libx111.7.1-r0
alpine 3.16libx111.7.1-r0
alpine 3.17libx111.7.1-r0
alpine 3.18libx111.7.1-r0
alpine 3.19libx111.7.1-r0
alpine 3.20libx111.7.1-r0
alpine 3.21libx111.7.1-r0
alpine 3.22libx111.7.1-r0
alpine 3.23libx111.7.1-r0
alpine 3.24libx111.7.1-r0
alpine edgelibx111.7.1-r0
amazon linux 1libX111.6.0-2.2.14.amzn1
amazon linux 1libX11-common1.6.0-2.2.14.amzn1
amazon linux 1libX11-debuginfo1.6.0-2.2.14.amzn1
amazon linux 1libX11-devel1.6.0-2.2.14.amzn1
amazon linux 2libX111.6.7-3.amzn2.0.2
amazon linux 2libX11-common1.6.7-3.amzn2.0.2
amazon linux 2libX11-debuginfo1.6.7-3.amzn2.0.2
amazon linux 2libX11-devel1.6.7-3.amzn2.0.2
debian 10libx112:1.6.7-1+deb10u2
debian 11libx112:1.7.1-1
debian 12libx112:1.7.1-1
debian 13libx112:1.7.1-1
debian 14libx112:1.7.1-1
debian 9libx112:1.6.4-3+deb9u4
echolibx112:1.7.1-1
Oracle Linux 7libX111.6.7-4.el7_9
Oracle Linux 7libX11-common1.6.7-4.el7_9
Oracle Linux 7libX11-devel1.6.7-4.el7_9
Oracle Linux 8libX111.6.8-5.el8
Oracle Linux 8libX11-common1.6.8-5.el8
Oracle Linux 8libX11-devel1.6.8-5.el8
Oracle Linux 8libX11-xcb1.6.8-5.el8
Red HatlibX11sin corrección indicada
Red HatlibX11-commonsin corrección indicada
Red HatlibX11-develsin corrección indicada
rocky 8libX111.6.8-5.el8
rocky 8libX11-common1.6.8-5.el8
rocky 8libX11-devel1.6.8-5.el8
rocky 8libX11-xcb1.6.8-5.el8
ubuntu 14.04-ESMlibx112:1.6.2-1ubuntu2.1+esm2
ubuntu 16.04-ESMlibx112:1.6.3-1ubuntu2.2+esm1
ubuntu 18.04libx112:1.6.4-3ubuntu0.4
ubuntu 18.04-ESMlibx112:1.6.4-3ubuntu0.4
ubuntu 20.04libx112:1.6.9-2ubuntu1.2
ubuntu 20.04-ESMlibx112:1.6.9-2ubuntu1.2
ubuntu 20.10libx112:1.6.12-1ubuntu0.1
ubuntu 21.04libx112:1.7.0-2ubuntu0.1
ubuntu 21.10libx111.7.0-2ubuntu1
ubuntu 22.04libx111.7.0-2ubuntu1

Referencias

Las 30 referencias

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.