CVE-2009-5064
ldd in the GNU C Library (aka glibc or libc6) 2.13 and earlier allows local users to gain privileges via a Trojan horse executable file linked with a modified loader that omits certain LD_TRACE_LOADED_OBJECTS checks. NOTE: the GNU C Library vendor states "This is just nonsense. There are a gazillion other ways to introduce code if people are downloading arbitrary binaries and install them in appropriate directories or set LD_LIBRARY_PATH etc.
What to do
Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Debian 14 | glibc | Fixed | 2.10.1-7 | DEBIAN-CVE-2009-5064 |
| Debian 13 | glibc | Fixed | 2.10.1-7 | DEBIAN-CVE-2009-5064 |
| Debian 12 | glibc | Fixed | 2.10.1-7 | DEBIAN-CVE-2009-5064 |
| Red Hat Enterprise Linux 6 | glibc | Fixed | 0:2.12-1.47.el6 | RHSA-2011:1526 |
| Red Hat Enterprise Linux 6 | glibc-common | Fixed | 0:2.12-1.47.el6 | RHSA-2011:1526 |
| Red Hat Enterprise Linux 6 | glibc-debuginfo-common | Fixed | 0:2.12-1.47.el6 | RHSA-2011:1526 |
| Red Hat Enterprise Linux 6 | glibc-devel | Fixed | 0:2.12-1.47.el6 | RHSA-2011:1526 |
| Red Hat Enterprise Linux 6 | glibc-headers | Fixed | 0:2.12-1.47.el6 | RHSA-2011:1526 |
| Red Hat Enterprise Linux 6 | glibc-static | Fixed | 0:2.12-1.47.el6 | RHSA-2011:1526 |
| Red Hat Enterprise Linux 6 | glibc-utils | Fixed | 0:2.12-1.47.el6 | RHSA-2011:1526 |
| Red Hat Enterprise Linux 6 | nscd | Fixed | 0:2.12-1.47.el6 | RHSA-2011:1526 |
| Red Hat Enterprise Linux 5 | glibc | Fixed | 0:2.5-65.el5_7.3 | RHSA-2012:0126 |
| Red Hat Enterprise Linux 5 | glibc-common | Fixed | 0:2.5-65.el5_7.3 | RHSA-2012:0126 |
| Red Hat Enterprise Linux 5 | glibc-debuginfo-common | Fixed | 0:2.5-65.el5_7.3 | RHSA-2012:0126 |
| Red Hat Enterprise Linux 5 | glibc-devel | Fixed | 0:2.5-65.el5_7.3 | RHSA-2012:0126 |
| Red Hat Enterprise Linux 5 | glibc-headers | Fixed | 0:2.5-65.el5_7.3 | RHSA-2012:0126 |
| Red Hat Enterprise Linux 5 | glibc-utils | Fixed | 0:2.5-65.el5_7.3 | RHSA-2012:0126 |
| Red Hat Enterprise Linux 5 | nscd | Fixed | 0:2.5-65.el5_7.3 | RHSA-2012:0126 |
| Red Hat Enterprise Linux 4 | glibc | Fixed | 0:2.3.4-2.57 | RHSA-2012:0125 |
| Red Hat Enterprise Linux 4 | glibc-common | Fixed | 0:2.3.4-2.57 | RHSA-2012:0125 |
| Red Hat Enterprise Linux 4 | glibc-debuginfo-common | Fixed | 0:2.3.4-2.57 | RHSA-2012:0125 |
| Red Hat Enterprise Linux 4 | glibc-devel | Fixed | 0:2.3.4-2.57 | RHSA-2012:0125 |
| Red Hat Enterprise Linux 4 | glibc-headers | Fixed | 0:2.3.4-2.57 | RHSA-2012:0125 |
| Red Hat Enterprise Linux 4 | glibc-profile | Fixed | 0:2.3.4-2.57 | RHSA-2012:0125 |
| Red Hat Enterprise Linux 4 | glibc-utils | Fixed | 0:2.3.4-2.57 | RHSA-2012:0125 |
| Red Hat Enterprise Linux 4 | nptl-devel | Fixed | 0:2.3.4-2.57 | RHSA-2012:0125 |
| Red Hat Enterprise Linux 4 | nscd | Fixed | 0:2.3.4-2.57 | RHSA-2012:0125 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.redhat.com/support/errata/RHSA-2011-1526.html (vendor-advisory)
References
- http://openwall.com/lists/oss-security/2011/03/07/7
- http://openwall.com/lists/oss-security/2011/03/08/10
- https://bugzilla.redhat.com/show_bug.cgi?id=682998
- http://openwall.com/lists/oss-security/2011/03/08/7
- http://openwall.com/lists/oss-security/2011/03/08/3
- http://reverse.lostrealm.com/protect/ldd.html
- http://openwall.com/lists/oss-security/2011/03/07/10
- http://www.catonmat.net/blog/ldd-arbitrary-code-execution/
- http://openwall.com/lists/oss-security/2011/03/08/2
- http://openwall.com/lists/oss-security/2011/03/07/13
- http://openwall.com/lists/oss-security/2011/03/08/1
- http://www.redhat.com/support/errata/RHSA-2011-1526.html
- https://bugzilla.redhat.com/show_bug.cgi?id=531160
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.