CVE-2011-1658
ld.so in the GNU C Library (aka glibc or libc6) 2.13 and earlier expands the $ORIGIN dynamic string token when RPATH is composed entirely of this token, which might allow local users to gain privileges by creating a hard link in an arbitrary directory to a (1) setuid or (2) setgid program with this RPATH value, and then executing the program with a crafted value for the LD_PRELOAD environment variable, a different vulnerability than CVE-2010-3847 and CVE-2011-0536. NOTE: it is not expected that any standard operating-system distribution would ship an applicable setuid or setgid program.
What to do
Fixed builds are available from 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 |
|---|---|---|---|---|
| Red Hat Enterprise Linux 6 | glibc | Fixed | 0:2.12-1.7.el6_0.5 | RHSA-2011:0413 |
| Red Hat Enterprise Linux 6 | glibc-common | Fixed | 0:2.12-1.7.el6_0.5 | RHSA-2011:0413 |
| Red Hat Enterprise Linux 6 | glibc-devel | Fixed | 0:2.12-1.7.el6_0.5 | RHSA-2011:0413 |
| Red Hat Enterprise Linux 6 | glibc-headers | Fixed | 0:2.12-1.7.el6_0.5 | RHSA-2011:0413 |
| Red Hat Enterprise Linux 6 | glibc-static | Fixed | 0:2.12-1.7.el6_0.5 | RHSA-2011:0413 |
| Red Hat Enterprise Linux 6 | glibc-utils | Fixed | 0:2.12-1.7.el6_0.5 | RHSA-2011:0413 |
| Red Hat Enterprise Linux 6 | nscd | Fixed | 0:2.12-1.7.el6_0.5 | RHSA-2011:0413 |
| Red Hat Enterprise Linux 5 | glibc | Fixed | 0:2.5-58.el5_6.2 | RHSA-2011:0412 |
| Red Hat Enterprise Linux 5 | glibc-common | Fixed | 0:2.5-58.el5_6.2 | RHSA-2011:0412 |
| Red Hat Enterprise Linux 5 | glibc-debuginfo-common | Fixed | 0:2.5-58.el5_6.2 | RHSA-2011:0412 |
| Red Hat Enterprise Linux 5 | glibc-devel | Fixed | 0:2.5-58.el5_6.2 | RHSA-2011:0412 |
| Red Hat Enterprise Linux 5 | glibc-headers | Fixed | 0:2.5-58.el5_6.2 | RHSA-2011:0412 |
| Red Hat Enterprise Linux 5 | glibc-utils | Fixed | 0:2.5-58.el5_6.2 | RHSA-2011:0412 |
| Red Hat Enterprise Linux 5 | nscd | Fixed | 0:2.5-58.el5_6.2 | RHSA-2011:0412 |
| Red Hat Enterprise Linux 4 | glibc | Will not fix Will not fix |
References
- http://sourceware.org/bugzilla/show_bug.cgi?id=12393
- http://www.securityfocus.com/archive/1/520102/100/0/threaded
- http://secunia.com/advisories/46397
- https://exchange.xforce.ibmcloud.com/vulnerabilities/66820
- http://www.vmware.com/security/advisories/VMSA-2011-0012.html
- https://bugzilla.redhat.com/show_bug.cgi?id=667974
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.