CVE-2014-1928
HIGH7.5EPSS 0.21%python-gnupg's shell_quote function does not properly escape characters
Published: 11/6/2018Modified: 4/28/2026
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 packages (3)
- Debian/python-gnupgfrom 0, < 0.3.6-1
- PyPI/python-gnupg>= 0.3.5, < 0.3.6
- PyPI/python-gnupgfrom 0, < 0.3.6
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
References (12)
- ADVISORYhttp://secunia.com/advisories/56616
- ADVISORYhttp://secunia.com/advisories/59031
- ADVISORYhttps://github.com/advisories/GHSA-2jc8-4r6g-282j
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2014-1928
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2014-1928
- PATCHhttps://code.google.com/p/python-gnupg
- WEBhttps://code.google.com/p/python-gnupg/
- WEBhttps://code.google.com/p/python-gnupg/issues/detail?id=98
- WEBhttp://seclists.org/oss-sec/2014/q1/246
- WEBhttp://seclists.org/oss-sec/2014/q1/294
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/python-gnupg/PYSEC-2014-91.yaml
- WEBhttp://www.debian.org/security/2014/dsa-2946