CVE-2013-2005: Buffer Overflow
It was found that multiple functions in libXt, an X.Org X11 libXt runtime library, did not check for the failure of XGetWindowProperty() function to initiase certain valid window properties. This could lead to use of uninitialized pointers for reading, writing or even passing to functions such as free(), this could lead to arbitrary code execution with the privileges of the user running the X client.
Affected functions: ReqCleanup(), HandleSelectionEvents(), ReqTimedOut(), HandleNormal(), HandleSelectionReplies()
Other sources
X.org libXt 1.1.3 and earlier does not check the return value of the XGetWindowProperty function, which allows X servers to trigger use of an uninitialized pointer and memory corruption via vectors related to the (1) ReqCleanup, (2) HandleSelectionEvents, (3) ReqTimedOut, (4) HandleNormal, and (5) HandleSelectionReplies functions.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/libXtto a version that resolves this vulnerability.Fixed in 1.1.4
Event History
Frequently Asked Questions
What is the severity of CVE-2013-2005?
CVE-2013-2005 has been rated as having moderate severity due to potential memory corruption issues.
How do I fix CVE-2013-2005?
To fix CVE-2013-2005, update libXt to version 1.1.4 or later.
Which versions of libXt are affected by CVE-2013-2005?
CVE-2013-2005 affects libXt versions 1.1.3 and earlier, as well as specific earlier versions down to 1.0.3.
What kind of vulnerability is CVE-2013-2005?
CVE-2013-2005 is a vulnerability that allows for memory corruption due to uninitialized pointers.
Is CVE-2013-2005 exploitable remotely?
Yes, CVE-2013-2005 can potentially be exploited remotely by triggering events in the X server.