CVE-2014-1928 python-gnupg's shell_quote function does not properly escape characters
MediumCVSS 4.6
EPSS 0.61%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
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 |
| pypi python-gnupg(PyPI) | < 0.3.6 | 0.3.6 |
| pypi python-gnupg(PyPI) | = 0.2.3 | No fix listed |
| pypi python-gnupg(PyPI) | = 0.2.4 | No fix listed |
| pypi python-gnupg(PyPI) | = 0.2.6 | No fix listed |
| pypi python-gnupg(PyPI) | = 0.2.7 | No fix listed |
| pypi python-gnupg(PyPI) | = 0.2.8 | No fix listed |
| pypi python-gnupg(PyPI) | = 0.2.9 | No fix listed |
| pypi python-gnupg(PyPI) | = 0.3.0 | No fix listed |
| pypi python-gnupg(PyPI) | = 0.3.1 | No fix listed |
| pypi python-gnupg(PyPI) | = 0.3.2 | No fix listed |
| pypi python-gnupg(PyPI) | = 0.3.3 | No fix listed |
| pypi python-gnupg(PyPI) | = 0.3.4 | 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
- code.google.com product
- code.google.com exploit vendor-advisory
- 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
- 56616 third-party-advisory vendor-advisory
- 59031 third-party-advisory vendor-advisory
- Debian Security Tracker CVE-2014-1928 vendor-advisory
- bugs.debian.org issue-tracking