CVE-2011-1095
Summary
| CVE | CVE-2011-1095 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2011-04-10 02:55:01 UTC |
| Updated | 2026-04-29 01:13:23 UTC |
| Description | locale/programs/locale.c in locale in the GNU C Library (aka glibc or libc6) before 2.13 does not quote its output, which might allow local users to gain privileges via a crafted localization environment variable, in conjunction with a program that executes a script that uses the eval function. |
Risk And Classification
CVSS v2.0 Breakdown
Access Vector
LocalAccess Complexity
HighAuthentication
NoneConfidentiality
CompleteIntegrity
CompleteAvailability
CompleteAV:L/AC:H/Au:N/C:C/I:C/A:C
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Gnu | Glibc | 1.00 | All | All | All |
| Application | Gnu | Glibc | 1.01 | All | All | All |
| Application | Gnu | Glibc | 1.02 | All | All | All |
| Application | Gnu | Glibc | 1.03 | All | All | All |
| Application | Gnu | Glibc | 1.04 | All | All | All |
| Application | Gnu | Glibc | 1.05 | All | All | All |
| Application | Gnu | Glibc | 1.06 | All | All | All |
| Application | Gnu | Glibc | 1.07 | All | All | All |
| Application | Gnu | Glibc | 1.08 | All | All | All |
| Application | Gnu | Glibc | 1.09 | All | All | All |
| Application | Gnu | Glibc | 1.09.1 | All | All | All |
| Application | Gnu | Glibc | 2.0 | All | All | All |
| Application | Gnu | Glibc | 2.0.1 | All | All | All |
| Application | Gnu | Glibc | 2.0.2 | All | All | All |
| Application | Gnu | Glibc | 2.0.3 | All | All | All |
| Application | Gnu | Glibc | 2.0.4 | All | All | All |
| Application | Gnu | Glibc | 2.0.5 | All | All | All |
| Application | Gnu | Glibc | 2.0.6 | All | All | All |
| Application | Gnu | Glibc | 2.1 | All | All | All |
| Application | Gnu | Glibc | 2.1.1 | All | All | All |
| Application | Gnu | Glibc | 2.1.1.6 | All | All | All |
| Application | Gnu | Glibc | 2.1.2 | All | All | All |
| Application | Gnu | Glibc | 2.1.3 | All | All | All |
| Application | Gnu | Glibc | 2.1.3.10 | All | All | All |
| Application | Gnu | Glibc | 2.1.9 | All | All | All |
| Application | Gnu | Glibc | 2.10 | All | All | All |
| Application | Gnu | Glibc | 2.10.1 | All | All | All |
| Application | Gnu | Glibc | 2.10.2 | All | All | All |
| Application | Gnu | Glibc | 2.11 | All | All | All |
| Application | Gnu | Glibc | 2.11.1 | All | All | All |
| Application | Gnu | Glibc | 2.11.2 | All | All | All |
| Application | Gnu | Glibc | 2.11.3 | All | All | All |
| Application | Gnu | Glibc | 2.12.0 | All | All | All |
| Application | Gnu | Glibc | 2.12.1 | All | All | All |
| Application | Gnu | Glibc | 2.2 | All | All | All |
| Application | Gnu | Glibc | 2.2.1 | All | All | All |
| Application | Gnu | Glibc | 2.2.2 | All | All | All |
| Application | Gnu | Glibc | 2.2.3 | All | All | All |
| Application | Gnu | Glibc | 2.2.4 | All | All | All |
| Application | Gnu | Glibc | 2.2.5 | All | All | All |
| Application | Gnu | Glibc | 2.3 | All | All | All |
| Application | Gnu | Glibc | 2.3.1 | All | All | All |
| Application | Gnu | Glibc | 2.3.10 | All | All | All |
| Application | Gnu | Glibc | 2.3.2 | All | All | All |
| Application | Gnu | Glibc | 2.3.3 | All | All | All |
| Application | Gnu | Glibc | 2.3.4 | All | All | All |
| Application | Gnu | Glibc | 2.3.5 | All | All | All |
| Application | Gnu | Glibc | 2.3.6 | All | All | All |
| Application | Gnu | Glibc | 2.4 | All | All | All |
| Application | Gnu | Glibc | 2.5 | All | All | All |
| Application | Gnu | Glibc | 2.5.1 | All | All | All |
| Application | Gnu | Glibc | 2.6 | All | All | All |
| Application | Gnu | Glibc | 2.6.1 | All | All | All |
| Application | Gnu | Glibc | 2.7 | All | All | All |
| Application | Gnu | Glibc | 2.8 | All | All | All |
| Application | Gnu | Glibc | 2.9 | All | All | All |
| Application | Gnu | Glibc | All | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| 11904 – (CVE-2011-1095) locale command does not quote (invalid) locale strings (CVE-2011-1095) | af854a3a-2127-422b-91ae-364da2661108 | sourceware.org | Exploit |
| 11904 – (CVE-2011-1095) locale command does not quote (invalid) locale strings (CVE-2011-1095) | af854a3a-2127-422b-91ae-364da2661108 | sources.redhat.com | Exploit |
| Support | af854a3a-2127-422b-91ae-364da2661108 | www.redhat.com | |
| Red Hat update for glibc - Secunia.com | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | Vendor Advisory |
| 625893 – (CVE-2011-1095) CVE-2011-1095 glibc: insufficient quoting in the locale command output | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | Exploit, Patch |
| SecurityFocus | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| GNU C Library "locale" Quoting Weakness - Secunia.com | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | Vendor Advisory |
| Repository / Oval Repository | af854a3a-2127-422b-91ae-364da2661108 | oval.cisecurity.org | |
| Gentoo Linux Documentation -- GNU C library: Multiple vulnerabilities | af854a3a-2127-422b-91ae-364da2661108 | security.gentoo.org | Vendor Advisory |
| sourceware.org Git | af854a3a-2127-422b-91ae-364da2661108 | sourceware.org | |
| About Secunia Research | Flexera | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| VMSA-2011-0012.2 | af854a3a-2127-422b-91ae-364da2661108 | www.vmware.com | |
| Support | af854a3a-2127-422b-91ae-364da2661108 | www.redhat.com | |
| Glibc Locale Command May Let Local Users Gain Elevated Privileges - SecurityTracker | af854a3a-2127-422b-91ae-364da2661108 | securitytracker.com | |
| Security Advisories | Mandriva Linux | af854a3a-2127-422b-91ae-364da2661108 | www.mandriva.com | |
| Red Hat update for glibc - Secunia.com | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | Vendor Advisory |
| Webmail : Solution de messagerie professionnelle - OVHcloud- OVH | af854a3a-2127-422b-91ae-364da2661108 | www.vupen.com | Vendor Advisory |
| oss-security - Re: glibc locale escaping issue | af854a3a-2127-422b-91ae-364da2661108 | openwall.com | Exploit, Patch |
| oss-security - Re: glibc locale escaping issue | af854a3a-2127-422b-91ae-364da2661108 | openwall.com | |
| Gentoo Bug 330923 - <sys-libs/glibc-2.11.2-r1: locale command does not sanitize user environment | af854a3a-2127-422b-91ae-364da2661108 | bugs.gentoo.org | Exploit, Patch |
| oss-security - glibc locale escaping issue | af854a3a-2127-422b-91ae-364da2661108 | openwall.com | Exploit, Patch |
| CONFIRM:http://sourceware.org/git/?p=glibc.git;a=patch;h=026373745eab50a683536d950cb7e17dc98c4259 | MITRE | sourceware.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.