CVE-2024-31080

Publication date 4 March 2024

Last updated 24 July 2024


Ubuntu priority

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
xorg 24.10 oracular
Not affected
24.04 LTS noble
Not affected
23.10 mantic
Not affected
22.04 LTS jammy
Not affected
20.04 LTS focal
Not affected
18.04 LTS bionic
Not affected
16.04 LTS xenial
Not affected
xorg-hwe-16.04 24.10 oracular Not in release
24.04 LTS noble Not in release
23.10 mantic Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
16.04 LTS xenial
Not affected
xorg-hwe-18.04 24.10 oracular Not in release
24.04 LTS noble Not in release
23.10 mantic Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
18.04 LTS bionic
Not affected
xorg-server 24.10 oracular
Fixed 2:21.1.12-1ubuntu1
24.04 LTS noble
Fixed 2:21.1.12-1ubuntu1
23.10 mantic
Fixed 2:21.1.7-3ubuntu2.8
22.04 LTS jammy
Fixed 2:21.1.4-2ubuntu1.7~22.04.9
20.04 LTS focal
Fixed 2:1.20.13-1ubuntu1~20.04.16
18.04 LTS bionic
16.04 LTS xenial
14.04 LTS trusty
xorg-server-hwe-16.04 24.10 oracular Not in release
24.04 LTS noble Not in release
23.10 mantic Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
16.04 LTS xenial
Needs evaluation
xorg-server-hwe-18.04 24.10 oracular Not in release
24.04 LTS noble Not in release
23.10 mantic Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
18.04 LTS bionic
Needs evaluation
xwayland 24.10 oracular
Not affected
24.04 LTS noble
Not affected
23.10 mantic
Fixed 2:23.2.0-1ubuntu0.5
22.04 LTS jammy
Fixed 2:22.1.1-1ubuntu0.12
20.04 LTS focal Not in release

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro

Notes


mdeslaur

xorg server is actually the xorg-server package the xorg package only contains docs xwayland package contains parts of xorg-server


leosilva

introduced in xorg-server-1.7.0

References

Related Ubuntu Security Notices (USN)

    • USN-6721-1
    • X.Org X Server vulnerabilities
    • 4 April 2024

Other references