CVE-2011-1842 Command injection in n/a

High 7.2 Published Updated

Local attackers can execute arbitrary commands and gain privileges via shell metacharacters in D-Bus arguments in the language-selector component.

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

What is CVE-2011-1842?

CVE-2011-1842 is a high-severity command injection vulnerability in n/a, published on 3 May 2011. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

dbus_backend/lsd.py in the D-Bus backend in language-selector before 0.6.7 does not validate the arguments to the (1) SetSystemDefaultLangEnv and (2) SetSystemDefaultLanguageEnv functions, which allows local users to gain privileges via shell metacharacters in a string argument, a different vulnerability than CVE-2011-0729.

Weakness: CWE-20

Which versions are affected by CVE-2011-1842?

It affects 1 product.

Products include Ubuntu Language-Selector.

How do I fix CVE-2011-1842?

No fix has been published for CVE-2011-1842 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2011-1842 being exploited?

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

Sources

Also known as GHSA-vgg4-r596-q6v8.

Is CVE-2011-1842 in your software?

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

Check your SBOMs for free