CVE-2022-46343: Use After Free
A vulnerability was found in X.Org. This security flaw occurs because the handler for the ScreenSaverSetAttributes request may write to memory after it has been freed. This issue can lead to local privileges elevation on systems where the X server is running privileged and remote code execution for ssh X forwarding sessions.
Other sources
CVE-2022-46343/ZDI-CAN-19404: X.Org Server ScreenSaverSetAttributes use-after-free
The handler for the ScreenSaverSetAttributes request may write to memory after it has been freed.
— Red Hat
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2022-46343?
The severity of CVE-2022-46343 is high with a severity value of 8.8.
What software is affected by CVE-2022-46343?
The X.Org X Server versions 2:1.20.4-1+deb10u4, 2:1.20.4-1+deb10u9, 2:1.20.11-1+deb11u6, 2:21.1.7-3, and 2:21.1.8-1 are affected by CVE-2022-46343. The Debian xorg-server package versions mentioned are also affected.
How can CVE-2022-46343 be exploited?
CVE-2022-46343 can be exploited to cause local privileges elevation on systems where the X server is running privileged and remote code execution.
What is the remedy for CVE-2022-46343?
The remedy for CVE-2022-46343 is to update the X.Org X Server to versions 2:1.20.4-1+deb10u9, 2:1.20.11-1+deb11u6, 2:21.1.7-3, or 2:21.1.8-1.
Is Redhat Enterprise Linux vulnerable to CVE-2022-46343?
No, Redhat Enterprise Linux versions 6.0, 7.0, 8.0, and 9.0 are not vulnerable to CVE-2022-46343.