Skip to content
OpenAdvisories
High ALAS2-2023-1982 7 CVEs

Important: xorg-x11-server security update (Amazon Linux 2)

Published Mar 2, 2023 · Updated May 23, 2024

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2023-0494: A vulnerability was found in X.Org. This issue occurs due to a dangling pointer in DeepCopyPointerClasses that can be exploited by ProcXkbSetDeviceInfo() and ProcXkbGetDeviceInfo() to read and write into freed memory. This can lead to local privilege elevation on systems where the X server runs privileged and remote code execution for ssh X forwarding sessions. CVE-2022-46344: A vulnerability was found in X.Org. This security flaw occurs because the handler for the XIChangeProperty request has a length-validation issues, resulting in out-of-bounds memory reads and potential information disclosure. 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. CVE-2022-46343: 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. CVE-2022-46342: A vulnerability was found in X.Org. This security flaw occurs because the handler for the XvdiSelectVideoNotify request may write to memory after it has been freed. This issue can lead to local privileges elevation on systems where the X se CVE-2022-46341: A vulnerability was found in X.Org. This security flaw occurs because the handler for the XIPassiveUngrab request accesses out-of-bounds memory when invoked with a high keycode or button code. 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. CVE-2022-46340: A vulnerability was found in X.Org. This security flaw occurs becuase the swap handler for the XTestFakeInput request of the XTest extension may corrupt the stack if GenericEvents with lengths larger than 32 bytes are sent through a the XTestFakeInput request. 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. This issue does not affect systems where client and server use the same byte order. CVE-2022-4283: A vulnerability was found in X.Org. This security flaw occurs because the XkbCopyNames function left a dangling pointer to freed memory, resulting in out-of-bounds memory access on subsequent XkbGetKbdByName requests.. 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.

Fixed packages 10

ReleasePackageFixed in
Amazon Linux · 2 xorg-x11-server-common 0:1.20.4-22.amzn2
Amazon Linux · 2 xorg-x11-server-debuginfo 0:1.20.4-22.amzn2
Amazon Linux · 2 xorg-x11-server-devel 0:1.20.4-22.amzn2
Amazon Linux · 2 xorg-x11-server-source 0:1.20.4-22.amzn2
Amazon Linux · 2 xorg-x11-server-Xdmx 0:1.20.4-22.amzn2
Amazon Linux · 2 xorg-x11-server-Xephyr 0:1.20.4-22.amzn2
Amazon Linux · 2 xorg-x11-server-Xnest 0:1.20.4-22.amzn2
Amazon Linux · 2 xorg-x11-server-Xorg 0:1.20.4-22.amzn2
Amazon Linux · 2 xorg-x11-server-Xvfb 0:1.20.4-22.amzn2
Amazon Linux · 2 xorg-x11-server-Xwayland 0:1.20.4-22.amzn2

Vulnerabilities 7

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-4283.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-46340.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-46341.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-46342.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-46343.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-46344.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-0494.html