CVE-2011-1095 Command injection in n/a

Medium 6.2 Published Updated

Local attackers can gain privileges via crafted environment variables exploiting unquoted output in glibc's locale utility.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2011-1095?

CVE-2011-1095 is a medium-severity command injection vulnerability in Gnu Glibc, published on 10 Apr 2011. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-264

Which versions are affected by CVE-2011-1095?

It affects 1 product.

Products include Gnu Glibc.

How do I fix CVE-2011-1095?

Upgrade to a fixed version.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2011-1095 being exploited?

There is no known exploitation of CVE-2011-1095 in the wild and no public exploit code.

All Gnu Glibc vulnerabilities

Sources

Also known as DEBIAN-CVE-2011-1095, GHSA-hhjf-9w4x-vhhf.

Is CVE-2011-1095 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free