CVE-2014-1929 python-gnupg vulnerable to shell injection

Medium 4.4 Published Updated

Attackers can inject commands via positional arguments in python-gnupg, potentially leading to code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2014-1929?

CVE-2014-1929 is a medium-severity command injection vulnerability in n/a, published on 25 Oct 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

python-gnupg 0.3.5 and 0.3.6 allows context-dependent attackers to have an unspecified impact via vectors related to "option injection through positional arguments." NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-7323.

Weakness: CWE-20

Which versions are affected by CVE-2014-1929?

3 open source packages ship an affected version, including python-gnupg. It affects 1 product.

PackageAffectedFixed in
python-gnupg PyPIFrom 0.3.50.3.7
python-gnupg PyPIFrom 0.3.50.3.7
python-gnupg PyPIFrom 0.3.50.3.7

Products include Python-Gnupg Project Python-Gnupg.

How do I fix CVE-2014-1929?

Upgrade python-gnupg to 0.3.7 or later.

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

Is CVE-2014-1929 being exploited?

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

Sources

Also known as DEBIAN-CVE-2014-1929, GHSA-vcr5-xr9h-mvc5, PYSEC-2014-92.

Is CVE-2014-1929 in your software?

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

Check your SBOMs for free