Skip to content

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

HighCVSS 7.5 EPSS 3.4%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
pypi python-gnupg(PyPI) >= 0.3.5, < 0.3.6 0.3.6
pypi python-gnupg(PyPI) = 0.3.5 No fix listed
debian/python-gnupg(Debian:12) < 0.3.6-1 0.3.6-1
debian/python-gnupg(Debian:13) < 0.3.6-1 0.3.6-1
debian/python-gnupg(Debian:14) < 0.3.6-1 0.3.6-1
python-gnupg project python-gnupg = 0.3.5 No fix listed

References