Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | nscd +6 | 2.12-1.7.el6_0.5 | RHSA-2011:0413 |
| RHEL 5 | nscd +6 | 2.5-58.el5_6.2 | RHSA-2011:0412 |
Advisories 2
- RHSA-2011:0413 Red Hat Security Advisory: glibc security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2011:0412 Red Hat Security Advisory: glibc security update Red Hat Security Advisories (RHSA) · Jan 29, 2026
References
- http://sourceware.org/bugzilla/show_bug.cgi?id=12393
- 20111013 VMSA-2011-0012 VMware ESXi and ESX updates to third party libraries and ESX Service Console mailing-list
- 46397 third-party-advisory
- gnuclibrary-ldso-priv-esc(66820) vdb-entry
- http://www.vmware.com/security/advisories/VMSA-2011-0012.html
- https://bugzilla.redhat.com/show_bug.cgi?id=667974