Skip to content
OpenAdvisories
High ALAS2-2024-2511 3 CVEs

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

Published Apr 11, 2024 · Updated Apr 15, 2024

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2024-31083: The ProcRenderAddGlyphs() function calls the AllocateGlyph() function to store new glyphs sent by the client to the X server. AllocateGlyph() would return a new glyph with refcount=0 and a re-used glyph would end up not changing the refcount at all. The resulting glyph_new array would thus have multiple entries pointing to the same non-refcounted glyphs. ProcRenderAddGlyphs() may free a glyph, resulting in a use-after-free when the same glyph pointer is then later used. CVE-2024-31081: A heap-based buffer over-read vulnerability was found in the X.org server's ProcXIPassiveGrabDevice() function. This issue occurs when byte-swapped length values are used in replies, potentially leading to memory leakage and segmentation faults, particularly when triggered by a client with a different endianness. This vulnerability could be exploited by an attacker to cause the X server to read heap memory values and then transmit them back to the client until encountering an unmapped page, resulting in a crash. Despite the attacker's inability to control the specific memory copied into the replies, the small length values typically stored in a 32-bit integer can result in significant attempted out-of-bounds reads. CVE-2024-31080: A heap-based buffer over-read vulnerability was found in the X.org server's ProcXIGetSelectedEvents() function. This issue occurs when byte-swapped length values are used in replies, potentially leading to memory leakage and segmentation faults, particularly when triggered by a client with a different endianness. This vulnerability could be exploited by an attacker to cause the X server to read heap memory values and then transmit them back to the client until encountering an unmapped page, resulting in a crash. Despite the attacker's inability to control the specific memory copied into the replies, the small length values typically stored in a 32-bit integer can result in significant attempted out-of-bounds reads.

Fixed packages 10

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

Vulnerabilities 3

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-31080.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-31081.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-31083.html