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
| Product | Affected versions | Fixed 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
- nvd.nist.gov third-party-advisory vendor-advisory
- bitbucket.org product
- code.google.com
- code.google.com exploit
- github.com vendor-advisory
- github.com
- [oss-security] 20140204 Re: CVE request: python-gnupg before 0.3.5 shell injection exploit mailing-list
- [oss-security] 20140209 Re: CVE request: python-gnupg before 0.3.5 shell injection exploit mailing-list
- DSA-2946 vendor-advisory
- 59031 third-party-advisory vendor-advisory
- 56616 third-party-advisory vendor-advisory
- Debian Security Tracker CVE-2014-1927 vendor-advisory
- bugs.debian.org issue-tracking