CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2021-31535

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.
Publish Date : 2021-05-27 Last Update Date : 2021-06-10
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
7.5
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Execute Code
CWE ID 120

- Products Affected By CVE-2021-31535

# Product Type Vendor Product Version Update Edition Language
1 Application X.org Libx11 * * * * Version Details Vulnerabilities
2 OS X.org X Window System * * * * Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
X.org Libx11 1
X.org X Window System 1

- References For CVE-2021-31535

https://security.gentoo.org/glsa/202105-16
GENTOO GLSA-202105-16
https://www.debian.org/security/2021/dsa-4920
DEBIAN DSA-4920
http://www.openwall.com/lists/oss-security/2021/05/18/2
MLIST [oss-security] 20210518 libX11 security advisory: May 18, 2021
https://unparalleled.eu/blog/2021/20210518-using-xterm-to-navigate-the-huge-color-space/
http://seclists.org/fulldisclosure/2021/May/52
FULLDISC 20210520 CVE-2021-31535 libX11 Insufficient Length Checks PoC and Archeology
http://packetstormsecurity.com/files/162737/libX11-Insufficient-Length-Check-Injection.html
https://lists.debian.org/debian-lts-announce/2021/05/msg00021.html
MLIST [debian-lts-announce] 20210524 [SECURITY] [DLA 2666-1] libx11 security update
https://unparalleled.eu/publications/2021/advisory-unpar-2021-1.txt
https://lists.x.org/archives/xorg-announce/2021-May/003088.html
https://www.openwall.com/lists/oss-security/2021/05/18/3
https://www.openwall.com/lists/oss-security/2021/05/18/2
https://lists.freedesktop.org/archives/xorg/
https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/8d2e02ae650f00c4a53deb625211a0527126c605

- Metasploit Modules Related To CVE-2021-31535

There are not any metasploit modules related to this CVE entry (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.