CVE-2024-31081

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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
vdb-entry https://access.redhat.com/security/cve/CVE-2024-31081
issue-tracking https://bugzilla.redhat.com/show_bug.cgi?id=2271998
vendor-advisory https://access.redhat.com/errata/RHSA-2024:1785
secalert@redhat.com https://lists.debian.org/debian-lts-announce/2024/04/msg00009.html
secalert@redhat.com https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/P73U4DAAWLFZAPD75GLXTGMSTTQWW5AP/
secalert@redhat.com https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6TF7FZXOKHIKPZXYIMSQXKVH7WITKV3V/
secalert@redhat.com https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EBLQJIAXEDMEGRGZMSH7CWUJHSVKUWLV/
vendor-advisory https://access.redhat.com/errata/RHSA-2024:2036
vendor-advisory https://access.redhat.com/errata/RHSA-2024:2037
vendor-advisory https://access.redhat.com/errata/RHSA-2024:2038
vendor-advisory https://access.redhat.com/errata/RHSA-2024:2039
vendor-advisory https://access.redhat.com/errata/RHSA-2024:2040
vendor-advisory https://access.redhat.com/errata/RHSA-2024:2041
vendor-advisory https://access.redhat.com/errata/RHSA-2024:2042
vendor-advisory https://access.redhat.com/errata/RHSA-2024:2080
vendor-advisory https://access.redhat.com/errata/RHSA-2024:2616
secalert@redhat.com http://www.openwall.com/lists/oss-security/2024/04/03/13
secalert@redhat.com http://www.openwall.com/lists/oss-security/2024/04/12/10
vendor-advisory https://access.redhat.com/errata/RHSA-2024:3258
vendor-advisory https://access.redhat.com/errata/RHSA-2024:3261
vendor-advisory https://access.redhat.com/errata/RHSA-2024:3343

Match rules

CPE URI Source package Min version Max version
cpe:/a:redhat:enterprise_linux:8::appstream shopxo >= 0:1.13.1-2.el8_9.10 < *
cpe:/a:redhat:enterprise_linux:8::appstream shopxo >= 0:1.13.1-10.el8_10 < *
cpe:/a:redhat:enterprise_linux:8::appstream shopxo >= 0:21.1.3-16.el8_10 < *
cpe:/a:redhat:rhel_eus:8.6::appstream shopxo >= 0:1.12.0-6.el8_6.11 < *
cpe:/a:redhat:rhel_eus:8.8::appstream shopxo >= 0:1.12.0-15.el8_8.10 < *
cpe:/a:redhat:enterprise_linux:9::appstream shopxo >= 0:1.13.1-8.el9_4.3 < *
cpe:/a:redhat:rhel_eus:9.0::appstream shopxo >= 0:1.11.0-22.el9_0.11 < *
cpe:/a:redhat:rhel_eus:9.2::appstream shopxo >= 0:1.12.0-14.el9_2.8 < *
cpe:/o:redhat:enterprise_linux:7::client shopxo >= 0:1.20.4-29.el7_9 < *
cpe:/o:redhat:enterprise_linux:7::client shopxo >= 0:1.8.0-33.el7_9 < *
cpe:/a:redhat:enterprise_linux:8::crb shopxo >= 0:1.20.11-23.el8_10 < *
cpe:/a:redhat:rhel_tus:8.2::appstream shopxo >= 0:1.9.0-15.el8_2.11 < *
cpe:/a:redhat:rhel_tus:8.4::appstream shopxo >= 0:1.11.0-8.el8_4.10 < *

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
xorg-server 3.19-community 21.1.12-r0 Natanael Copa <ncopa@alpinelinux.org> fixed