Arbitrary Code Execution Affecting python-gnupg package, versions [0.3.5]


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.19% (57th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-PYTHONGNUPG-40271
  • published1 Aug 2017
  • disclosed4 Feb 2014
  • creditUnknown

Introduced: 4 Feb 2014

CVE-2014-1928  (opens in a new tab)
CWE-94  (opens in a new tab)

Overview

python-gnupg is a wrapper for the Gnu Privacy Guard (GPG or GnuPG).

The shell_quote function in python-gnupg 0.3.5 does not properly escape characters, which allows context-dependent attackers to execute arbitrary code via shell metacharacters in unspecified vectors, as demonstrated using "" (backslash) characters to form multi-command sequences, a different vulnerability than CVE-2014-1927.

NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-7323.

References

CVSS Scores

version 3.1