CVEfocus › CVE database › CVE-2011-1095

CVE-2011-1095

EPSS 0.5% (higher than 45% of CVEs)Published 2011-04-10Updated 2024-08-06Assigner: redhat

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.

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

26Fixed

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.

ReleasePackageStatusFixed versionAdvisory
Debian 14glibcFixed2.13-16DEBIAN-CVE-2011-1095
Debian 13glibcFixed2.13-16DEBIAN-CVE-2011-1095
Debian 12glibcFixed2.13-16DEBIAN-CVE-2011-1095
Red Hat Enterprise Linux 6glibcFixed0:2.12-1.7.el6_0.5RHSA-2011:0413
Red Hat Enterprise Linux 6glibc-commonFixed0:2.12-1.7.el6_0.5RHSA-2011:0413
Red Hat Enterprise Linux 6glibc-develFixed0:2.12-1.7.el6_0.5RHSA-2011:0413
Red Hat Enterprise Linux 6glibc-headersFixed0:2.12-1.7.el6_0.5RHSA-2011:0413
Red Hat Enterprise Linux 6glibc-staticFixed0:2.12-1.7.el6_0.5RHSA-2011:0413
Red Hat Enterprise Linux 6glibc-utilsFixed0:2.12-1.7.el6_0.5RHSA-2011:0413
Red Hat Enterprise Linux 6nscdFixed0:2.12-1.7.el6_0.5RHSA-2011:0413
Red Hat Enterprise Linux 5glibcFixed0:2.5-58.el5_6.2RHSA-2011:0412
Red Hat Enterprise Linux 5glibc-commonFixed0:2.5-58.el5_6.2RHSA-2011:0412
Red Hat Enterprise Linux 5glibc-debuginfo-commonFixed0:2.5-58.el5_6.2RHSA-2011:0412
Red Hat Enterprise Linux 5glibc-develFixed0:2.5-58.el5_6.2RHSA-2011:0412
Red Hat Enterprise Linux 5glibc-headersFixed0:2.5-58.el5_6.2RHSA-2011:0412
Red Hat Enterprise Linux 5glibc-utilsFixed0:2.5-58.el5_6.2RHSA-2011:0412
Red Hat Enterprise Linux 5nscdFixed0:2.5-58.el5_6.2RHSA-2011:0412
Red Hat Enterprise Linux 4glibcFixed0:2.3.4-2.57RHSA-2012:0125
Red Hat Enterprise Linux 4glibc-commonFixed0:2.3.4-2.57RHSA-2012:0125
Red Hat Enterprise Linux 4glibc-debuginfo-commonFixed0:2.3.4-2.57RHSA-2012:0125
Red Hat Enterprise Linux 4glibc-develFixed0:2.3.4-2.57RHSA-2012:0125
Red Hat Enterprise Linux 4glibc-headersFixed0:2.3.4-2.57RHSA-2012:0125
Red Hat Enterprise Linux 4glibc-profileFixed0:2.3.4-2.57RHSA-2012:0125
Red Hat Enterprise Linux 4glibc-utilsFixed0:2.3.4-2.57RHSA-2012:0125
Red Hat Enterprise Linux 4nptl-develFixed0:2.3.4-2.57RHSA-2012:0125
Red Hat Enterprise Linux 4nscdFixed0:2.3.4-2.57RHSA-2012:0125

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

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.