Name | CVE-2024-31081 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3787-1, DSA-5657-1, ELA-1072-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
xorg-server (PTS) | jessie, jessie (lts) | 2:1.16.4-1+deb8u17 | fixed |
stretch (security) | 2:1.19.2-1+deb9u9 | vulnerable | |
stretch (lts), stretch | 2:1.19.2-1+deb9u20 | fixed | |
buster, buster (lts) | 2:1.20.4-1+deb10u15 | fixed | |
buster (security) | 2:1.20.4-1+deb10u14 | fixed | |
bullseye | 2:1.20.11-1+deb11u13 | fixed | |
bullseye (security) | 2:1.20.11-1+deb11u14 | fixed | |
bookworm (security), bookworm | 2:21.1.7-3+deb12u8 | fixed | |
sid, trixie | 2:21.1.14-2 | fixed | |
xwayland (PTS) | bookworm | 2:22.1.9-1 | vulnerable |
sid, trixie | 2:24.1.4-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
xorg-server | source | jessie | 2:1.16.4-1+deb8u16 | ELA-1072-1 | ||
xorg-server | source | stretch | 2:1.19.2-1+deb9u19 | ELA-1072-1 | ||
xorg-server | source | buster | 2:1.20.4-1+deb10u14 | DLA-3787-1 | ||
xorg-server | source | bullseye | 2:1.20.11-1+deb11u13 | DSA-5657-1 | ||
xorg-server | source | bookworm | 2:21.1.7-3+deb12u7 | DSA-5657-1 | ||
xorg-server | source | (unstable) | 2:21.1.11-3 | |||
xwayland | source | (unstable) | 2:23.2.6-1 |
[bookworm] - xwayland <ignored> (Minor issue; Xwayland shouldn't be running as root)
Fixed by: https://gitlab.freedesktop.org/xorg/xserver/-/commit/3e77295f888c67fc7645db5d0c00926a29ffecee
https://lists.x.org/archives/xorg-announce/2024-April/003497.html