CVE-2012-2242 Command injection in n/a
Remote attackers can execute arbitrary commands via crafted .dsc or .changes files due to improper escaping in devscripts.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2012-2242?
CVE-2012-2242 is a medium-severity command injection vulnerability in n/a, published on 1 Oct 2012. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
scripts/dget.pl in devscripts before 2.10.73 allows remote attackers to execute arbitrary commands via a crafted (1) .dsc or (2) .changes file, related to "arguments to external commands" that are not properly escaped, a different vulnerability than CVE-2012-2240.
Weakness: CWE-20
Which versions are affected by CVE-2012-2242?
It affects 1 product.
Products include Devscripts Devel Team Devscripts.
How do I fix CVE-2012-2242?
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-2012-2242 being exploited?
There is no known exploitation of CVE-2012-2242 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2012-2242, GHSA-2wxg-g468-wm44.