OESA-2021-1235

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2021-1235
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2021-1235.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2021-1235
Upstream
Published
2021-06-22T11:02:59Z
Modified
2025-08-12T05:08:10.073455Z
Summary
libX11 security update
Details

Core X11 protocol client library.

Security Fix(es):

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.(CVE-2021-31535)

Database specific
{
    "severity": "Critical"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / libX11

Package

Name
libX11
Purl
pkg:rpm/openEuler/libX11&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.6.9-5.oe1

Ecosystem specific

{
    "noarch": [
        "libX11-help-1.6.9-5.oe1.noarch.rpm"
    ],
    "src": [
        "libX11-1.6.9-5.oe1.src.rpm"
    ],
    "x86_64": [
        "libX11-devel-1.6.9-5.oe1.x86_64.rpm",
        "libX11-debugsource-1.6.9-5.oe1.x86_64.rpm",
        "libX11-1.6.9-5.oe1.x86_64.rpm",
        "libX11-debuginfo-1.6.9-5.oe1.x86_64.rpm"
    ],
    "aarch64": [
        "libX11-debuginfo-1.6.9-5.oe1.aarch64.rpm",
        "libX11-devel-1.6.9-5.oe1.aarch64.rpm",
        "libX11-debugsource-1.6.9-5.oe1.aarch64.rpm",
        "libX11-1.6.9-5.oe1.aarch64.rpm"
    ]
}