ALAS-2024-1928

Related 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-31083)

ALAS-2024-1928


Amazon Linux 1 Security Advisory: ALAS-2024-1928
Advisory Release Date: 2024-04-11 01:43 Pacific
Advisory Updated Date: 2024-04-15 12:00 Pacific
Severity: Important

Issue Overview:

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-31083)


Affected Packages:

xorg-x11-server


Issue Correction:
Run yum update xorg-x11-server to update your system.

New Packages:
i686:
    xorg-x11-server-devel-1.17.4-18.55.amzn1.i686
    xorg-x11-server-Xephyr-1.17.4-18.55.amzn1.i686
    xorg-x11-server-Xdmx-1.17.4-18.55.amzn1.i686
    xorg-x11-server-Xnest-1.17.4-18.55.amzn1.i686
    xorg-x11-server-debuginfo-1.17.4-18.55.amzn1.i686
    xorg-x11-server-Xvfb-1.17.4-18.55.amzn1.i686
    xorg-x11-server-common-1.17.4-18.55.amzn1.i686
    xorg-x11-server-Xorg-1.17.4-18.55.amzn1.i686

noarch:
    xorg-x11-server-source-1.17.4-18.55.amzn1.noarch

src:
    xorg-x11-server-1.17.4-18.55.amzn1.src

x86_64:
    xorg-x11-server-devel-1.17.4-18.55.amzn1.x86_64
    xorg-x11-server-Xvfb-1.17.4-18.55.amzn1.x86_64
    xorg-x11-server-Xdmx-1.17.4-18.55.amzn1.x86_64
    xorg-x11-server-Xorg-1.17.4-18.55.amzn1.x86_64
    xorg-x11-server-Xnest-1.17.4-18.55.amzn1.x86_64
    xorg-x11-server-debuginfo-1.17.4-18.55.amzn1.x86_64
    xorg-x11-server-Xephyr-1.17.4-18.55.amzn1.x86_64
    xorg-x11-server-common-1.17.4-18.55.amzn1.x86_64