Red Hat Bugzilla – Bug 960357
CVE-2013-1995 libXi: Sign extension issues resulting in heap-based buffer overflow
Last modified: 2014-10-17 03:52:01 EDT
A sign extension issue was found in libXi, X.Org X11 libXi runtime library. The XListInputDevices() function did not check the sign of the returned data, leading to negative numbers being used in memory size calculations. This can result in allocating too little memory and then writing the returned data past the end of the buffer. When a X client is connected to a malcicious X server , (modified to return invalid values), it can cause arbirary code execution with the privileges of the user running the X client.
These issues affect the versions of the libXi package, as shipped with Fedora release of 17 and 18. Please schedule an update.
Created libXi tracking bugs for this issue
Affects: fedora-all [bug 966698]
libXi-1.7.1-4.20130524git661c45ca1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
libXi-126.96.36.1991-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
This issue affects the version of libXi as shipped with Red Hat Enterprise Linux 5 and 6.
This issue affects the libXi package in Red Hat Enterprise Linux 5. Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not planned to be fixed in Red Hat Enterprise Linux 5 as it is now in Production 3 Phase of the support and maintenance life cycle: https://access.redhat.com/support/policy/updates/errata/
A buffer overflow flaw was found in the way the XListInputDevices() function of X.Org X11's libXi runtime library handled signed numbers. A malicious X11 server could possibly use this flaw to execute arbitrary code with the privileges of the user running an X11 client.
This issue has been addressed in the following products:
Red Hat Enterprise Linux 6
Via RHSA-2014:1436 https://rhn.redhat.com/errata/RHSA-2014-1436.html