CVE-2021-4008 Memory corruption in xorg-x11-server

High 7.8 Published Updated

An out-of-bounds access in the X11 server allows attackers to compromise data confidentiality, integrity, and system availability.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-4008?

CVE-2021-4008 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 17 Dec 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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 SProcRenderCompositeGlyphs function. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

Weakness: CWE-119

Which versions are affected by CVE-2021-4008?

It affects 3 products.

Linux distribution packages (34)
xorg-x11-server SUSE:Enterprise Storage 6All versions1.20.3-14.5.19.1
xorg-x11-server SUSE:HPE Helion OpenStack 8All versions7.6_1.18.3-76.43.1
xorg-x11-server SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOSAll versions1.20.3-14.5.19.1
xorg-x11-server SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSAll versions1.20.3-14.5.19.1
xorg-x11-server SUSE:Linux Enterprise High Performance Computing 15-ESPOSAll versions1.19.6-8.33.1
xorg-x11-server SUSE:Linux Enterprise High Performance Computing 15-LTSSAll versions1.19.6-8.33.1
xorg-x11-server SUSE:Linux Enterprise Module for Basesystem 15 SP2All versions1.20.3-22.5.39.1
xorg-x11-server SUSE:Linux Enterprise Module for Basesystem 15 SP3All versions1.20.3-22.5.39.1
xorg-x11-server SUSE:Linux Enterprise Module for Development Tools 15 SP2All versions1.20.3-22.5.39.1
xorg-x11-server SUSE:Linux Enterprise Module for Development Tools 15 SP3All versions1.20.3-22.5.39.1
xorg-x11-server SUSE:Linux Enterprise Point of Sale 11 SP3All versions7.4-27.122.43.1
xorg-x11-server SUSE:Linux Enterprise Server 11 SP4-LTSSAll versions7.4-27.122.43.1
xorg-x11-server SUSE:Linux Enterprise Server 12 SP2-BCLAll versions7.6_1.18.3-76.43.1
xorg-x11-server SUSE:Linux Enterprise Server 12 SP3-BCLAll versions7.6_1.18.3-76.43.1
xorg-x11-server SUSE:Linux Enterprise Server 12 SP3-LTSSAll versions7.6_1.18.3-76.43.1
xorg-x11-server SUSE:Linux Enterprise Server 12 SP4-LTSSAll versions1.19.6-4.25.1
xorg-x11-server SUSE:Linux Enterprise Server 12 SP5All versions1.19.6-10.26.1
xorg-x11-server SUSE:Linux Enterprise Server 15 SP1-BCLAll versions1.20.3-14.5.19.1
xorg-x11-server SUSE:Linux Enterprise Server 15 SP1-LTSSAll versions1.20.3-14.5.19.1
xorg-x11-server SUSE:Linux Enterprise Server 15-LTSSAll versions1.19.6-8.33.1
xorg-x11-server SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions7.6_1.18.3-76.43.1
xorg-x11-server SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions1.19.6-4.25.1
xorg-x11-server SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions1.19.6-10.26.1
xorg-x11-server SUSE:Linux Enterprise Server for SAP Applications 15All versions1.19.6-8.33.1
xorg-x11-server SUSE:Linux Enterprise Server for SAP Applications 15 SP1All versions1.20.3-14.5.19.1
xorg-x11-server SUSE:Linux Enterprise Software Development Kit 12 SP5All versions1.19.6-10.26.1
xorg-x11-server SUSE:Linux Enterprise Workstation Extension 15 SP2All versions1.20.3-22.5.39.1
xorg-x11-server SUSE:Linux Enterprise Workstation Extension 15 SP3All versions1.20.3-22.5.39.1
xorg-x11-server SUSE:OpenStack Cloud 8All versions7.6_1.18.3-76.43.1
xorg-x11-server SUSE:OpenStack Cloud 9All versions1.19.6-4.25.1
xorg-x11-server SUSE:OpenStack Cloud Crowbar 8All versions7.6_1.18.3-76.43.1
xorg-x11-server SUSE:OpenStack Cloud Crowbar 9All versions1.19.6-4.25.1
xorg-x11-server openSUSE:Leap 15.2All versions1.20.3-lp152.8.33.1
xorg-x11-server openSUSE:Leap 15.3All versions1.20.3-22.5.39.1

Products include Debian Debian Linux, Fedoraproject Fedora, X.org X Server.

How do I fix CVE-2021-4008?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-4008 being exploited?

There is no known exploitation of CVE-2021-4008 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-44349, DEBIAN-CVE-2021-4008, GHSA-h4h6-8v79-695g, SUSE-SU-2021:14863-1, SUSE-SU-2021:4064-1, SUSE-SU-2021:4065-1 and 7 more.

Is CVE-2021-4008 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free