CVE-2012-0212 Command injection in n/a

Critical 9.3 Published Updated

Remote attackers can execute arbitrary code via shell metacharacters in file names processed by debdiff.pl, requiring user interaction to trigger.

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-0212?

CVE-2012-0212 is a critical command injection vulnerability in n/a, published on 16 Jun 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

debdiff.pl in devscripts 2.10.x before 2.10.69 and 2.11.x before 2.11.4 allows remote attackers to execute arbitrary code via shell metacharacters in the file name argument.

Weakness: CWE-20

Which versions are affected by CVE-2012-0212?

It affects 1 product.

Products include Devscripts Devel Team Devscripts.

How do I fix CVE-2012-0212?

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-0212 being exploited?

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

Sources

Also known as DEBIAN-CVE-2012-0212, GHSA-qmmg-7772-cxg7.

Is CVE-2012-0212 in your software?

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

Check your SBOMs for free