CVE-2024-31080

high

Description

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.

References

https://lists.fedoraproject.org/archives/list/[email protected]/message/P73U4DAAWLFZAPD75GLXTGMSTTQWW5AP/

https://lists.fedoraproject.org/archives/list/[email protected]/message/EBLQJIAXEDMEGRGZMSH7CWUJHSVKUWLV/

https://lists.fedoraproject.org/archives/list/[email protected]/message/6TF7FZXOKHIKPZXYIMSQXKVH7WITKV3V/

https://lists.debian.org/debian-lts-announce/2024/04/msg00009.html

https://bugzilla.redhat.com/show_bug.cgi?id=2271997

https://access.redhat.com/security/cve/CVE-2024-31080

https://access.redhat.com/errata/RHSA-2024:2080

https://access.redhat.com/errata/RHSA-2024:2042

https://access.redhat.com/errata/RHSA-2024:2041

https://access.redhat.com/errata/RHSA-2024:2040

https://access.redhat.com/errata/RHSA-2024:2039

https://access.redhat.com/errata/RHSA-2024:2038

https://access.redhat.com/errata/RHSA-2024:2037

https://access.redhat.com/errata/RHSA-2024:2036

https://access.redhat.com/errata/RHSA-2024:1785

Details

Source: Mitre, NVD

Published: 2024-04-04

Updated: 2024-04-29

Risk Information

CVSS v2

Base Score: 8

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:C

Severity: High

CVSS v3

Base Score: 7.3

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H

Severity: High