cve.bz

CVE-2021-4009

7.8 highEPSS 0.6%

High (7.8). EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in xorg-x11-server in versions before 21.1.2 and before 1.20.14. An out-of-bounds access can occur in the SProcXFixesCreatePointerBarrier function. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 50th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-4009 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-4009?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-4009?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-4009 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
x.org:x_serverbefore 1.20.14
x.org:x_server21.1.0
x.org:x_server21.1.1
fedoraproject:fedora34
fedoraproject:fedora35
debian:debian_linux9.0
debian:debian_linux10.0
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9xorg-server2:1.19.2-1+deb9u9DLA-2869-1
Debian10xorg-server2:1.20.4-1+deb10u4DSA-5027-1
Debian11xorg-server2:1.20.11-1+deb11u1DSA-5027-1
Debian12, 13, 14xorg-server2:1.20.13-3DEBIAN-CVE-2021-4009
Debian12, 13, 14xwayland2:21.1.4-1DEBIAN-CVE-2021-4009
Ubuntu18.04:LTSxorg-server2:1.19.6-1ubuntu4.10UBUNTU-CVE-2021-4009 USN-5193-1
Ubuntu18.04:LTSxorg-server-hwe-18.042:1.20.8-2ubuntu2.2~18.04.6UBUNTU-CVE-2021-4009 USN-5193-1
Ubuntu20.04:LTSxorg-server2:1.20.13-1ubuntu1~20.04.2UBUNTU-CVE-2021-4009 USN-5193-1
Ubuntu22.04:LTSxorg-server2:1.20.13-1ubuntu2UBUNTU-CVE-2021-4009
Ubuntu22.04:LTSxwayland2:21.1.3-1ubuntu1UBUNTU-CVE-2021-4009
UbuntuPro:14.04:LTSxorg-server2:1.15.1-0ubuntu2.11+esm5UBUNTU-CVE-2021-4009 USN-5193-2
UbuntuPro:16.04:LTSxorg-server2:1.18.4-0ubuntu0.12+esm1UBUNTU-CVE-2021-4009 USN-5193-2
UbuntuPro:16.04:LTSxorg-server-hwe-16.042:1.19.6-1ubuntu4.1~16.04.6+esm5UBUNTU-CVE-2021-4009 USN-5193-3
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morexorg-x11-server, xorg-x11-server-Xdmx, xorg-x11-server-Xorg and 8 more0:1.20.4-17.el7_9RHSA-2022:0003
Red Hatenterprise_linux:8::appstreamxorg-x11-server, xorg-x11-server-Xdmx, xorg-x11-server-Xorg and 11 more0:1.20.11-5.el8RHSA-2022:1917
Red Hatenterprise_linux:8::appstreamxorg-x11-server-Xwayland, xorg-x11-server-Xwayland-debuginfo, xorg-x11-server-Xwayland-debugsource0:21.1.3-2.el8RHSA-2022:1917
Red Hatenterprise_linux:8::crbxorg-x11-server-devel, xorg-x11-server-source, xorg-x11-server-debuginfo and 6 more0:1.20.11-5.el8RHSA-2022:1917
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 3 morexorg-x11-server1.20.3-14.5.22.1SUSE-SU-2021:4122-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 9 morexorg-x11-server1.20.3-22.5.42.1SUSE-SU-2021:4136-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 4 morexorg-x11-server7.6_1.18.3-76.46.1SUSE-SU-2021:4124-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 morexorg-x11-server1.19.6-8.36.1SUSE-SU-2021:4121-1
SUSELinux Enterprise Real Time 15 SP2xorg-x11-server1.20.3-22.5.42.1SUSE-SU-2021:4136-2
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server for SAP Applications 12 SP4, OpenStack Cloud 9 and 1 morexorg-x11-server1.19.6-4.28.1SUSE-SU-2021:4120-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5xorg-x11-server1.19.6-10.29.1SUSE-SU-2021:4119-1
openSUSELeap 15.2xorg-x11-server1.20.3-lp152.8.36.1openSUSE-SU-2021:1606-1
openSUSELeap 15.3xorg-x11-server1.20.3-22.5.42.1openSUSE-SU-2021:4136-1
openSUSETumbleweedxorg-x11-server21.1.2-1.1openSUSE-SU-2024:11685-1
openSUSETumbleweedxwayland21.1.4-1.1openSUSE-SU-2024:11699-1
AlmaLinux8xorg-x11-server-Xdmx, xorg-x11-server-Xorg, xorg-x11-server-Xvfb and 5 more1.20.11-5.el8ALSA-2022:1917
AlmaLinux8xorg-x11-server-Xwayland21.1.3-2.el8ALSA-2022:1917
AlmaLinux8xorg-x11-server-devel1.20.11-5.el8_6.2ALSA-2022:1917
Rocky Linux8xorg-x11-server0:1.20.11-5.el8RLSA-2022:1917
Rocky Linux8xorg-x11-server-Xwayland0:21.1.3-2.el8RLSA-2022:1917
Alpinev3.15, v3.16, v3.17 and 7 morexorg-server21.1.2-r0ALPINE-CVE-2021-4009
Alpinev3.16, v3.17, v3.18 and 6 morexwayland21.1.4-r0ALPINE-CVE-2021-4009

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Xorg server does not run with root privileges in Red Hat Enterprise Linux 8, therefore this flaw has been rated as having moderate impact.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7xorg-x11-server-0:1.20.4-17.el7_9Fixed 2022-01-03RHSA-2022:0003
Red Hat Enterprise Linux 8xorg-x11-server-0:1.20.11-5.el8Fixed 2022-05-10RHSA-2022:1917
Red Hat Enterprise Linux 8xorg-x11-server-Xwayland-0:21.1.3-2.el8Fixed 2022-05-10RHSA-2022:1917
Red Hat Enterprise Linux 6xorg-x11-serverOut of support scope
Red Hat Enterprise Linux 9xorg-x11-serverNot affected
Red Hat Enterprise Linux 9xorg-x11-server-XwaylandNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-4009.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON