CVE-2021-4011
Rocky Linux vulnerability analysis and mitigation

Overview

CVE-2021-4011 is a security vulnerability discovered in xorg-x11-server versions before 21.1.2 and before 1.20.14. The vulnerability involves an out-of-bounds access that can occur in the SwapCreateRegister function within the Record extension of the X.Org X server (Xorg Announce, NVD).

Technical details

The vulnerability stems from improper validation of request lengths in the handlers for the RecordCreateContext and RecordRegisterClients requests of the Record extension, which can lead to out-of-bounds memory write. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NetApp Advisory).

Impact

The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability. When successfully exploited, it can lead to local privilege escalation on systems where the X server is running with privileged access and remote code execution for ssh X forwarding sessions (Xorg Announce).

Mitigation and workarounds

The vulnerability has been fixed in xorg-x11-server versions 21.1.2 and 1.20.14. The fix was implemented through a patch (commit e56f61c79fc3cee26d83cda0f84ae56d5979f768) in the xorg server git repository. Users are advised to upgrade to the patched versions (Xorg Announce).

Additional resources


SourceThis report was generated using AI

Related Rocky Linux vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13020HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesNov 11, 2025
CVE-2025-59088HIGH8.6
  • Rocky LinuxRocky Linux
  • idm:DL1::python3-ipaserver
NoYesNov 12, 2025
CVE-2025-13019HIGH8.1
  • NixOSNixOS
  • firefox-x11
NoYesNov 11, 2025
CVE-2025-59089MEDIUM5.9
  • Rocky LinuxRocky Linux
  • idm:DL1::ipa-common
NoYesNov 12, 2025
CVE-2025-40185N/AN/A
  • Linux KernelLinux Kernel
  • linux-riscv-6.14
NoYesNov 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management