GHSA-r3vr-prwv-86g9
python-gnupg's shell_quote function does not properly quote strings
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| PyPI | python-gnupg | >= 0.3.5, < 0.3.6 | 0.3.6 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2014-1927
- https://bitbucket.org/vinay.sajip/python-gnupg
- https://code.google.com/p/python-gnupg
- https://code.google.com/p/python-gnupg/issues/detail?id=98
- https://github.com/advisories/GHSA-r3vr-prwv-86g9
- https://github.com/pypa/advisory-database/tree/main/vulns/python-gnupg/PYSEC-2014-90.yaml
- http://seclists.org/oss-sec/2014/q1/245
- http://seclists.org/oss-sec/2014/q1/294
- http://www.debian.org/security/2014/dsa-2946