CVE-2014-1927: python-gnupg's shell_quote function does not properly quote strings

CVE-2014-1927 · Severity: low · CVSS 3.1 · Published 2014-10-25

The shell_quote function in python-gnupg 0.3.5 does not properly quote strings, which allows context-dependent attackers to execute arbitrary code via shell metacharacters in unspecified vectors, as demonstrated using "$(" command-substitution sequences, a different vulnerability than CVE-2014-1928. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-7323.

Technologies: python-gnupg (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2014-1927 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2014-1927 being exploited in the wild.
How severe is CVE-2014-1927?
Low severity, with a CVSS score of 3.1, published 25 October 2014.
Which products and versions are affected?
python-gnupg (PyPI) ECOSYSTEM:introduced=0.3.5,fixed=0.3.6.
Is there a fix for CVE-2014-1927?
Yes. python-gnupg (PyPI): upgrade to 0.3.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2014-1927?
Check whether you run python-gnupg (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • python-gnupg (PyPI): upgrade to 0.3.6 or later
    pip install "python-gnupg>=0.3.6"

Affected products

  • python-gnupg (PyPI) ECOSYSTEM:introduced=0.3.5,fixed=0.3.6

Identifiers

  • CVE-2014-1927
  • GHSA-r3vr-prwv-86g9
  • PYSEC-2014-90

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.