CVE-2014-1928
MEDIUM 4.6CVSS 2.0python-gnupg's shell_quote function does not properly escape characters
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.
- Published
- 25 Oct 2014
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-2jc8-4r6g-282jPYSEC-2014-91
- Sources
- NVDJSONOSV GHSA-2jc8-4r6g-282jJSONOSV PYSEC-2014-91JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python-gnupg_project | python-gnupgcpe:2.3:a:python-gnupg_project:python-gnupg:*:*:*:*:*:*:*:* |
<= 0.3.5 | |
| OSV | PyPI | python-gnupg | >= 0.3.5, < 0.3.6 | 0.3.6 |
| OSV | PyPI | python-gnupg | < 0.3.6 | 0.3.6 |
References
- http://seclists.org/oss-sec/2014/q1/246 · Exploit, WEB
- http://seclists.org/oss-sec/2014/q1/294 · Exploit, WEB
- http://secunia.com/advisories/56616 · ADVISORY
- http://secunia.com/advisories/59031 · ADVISORY
- http://www.debian.org/security/2014/dsa-2946 · WEB, ADVISORY
- https://code.google.com/p/python-gnupg/ · PACKAGE, WEB
- https://code.google.com/p/python-gnupg/issues/detail?id=98 · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2014-1928 · ADVISORY
- https://github.com/advisories/GHSA-2jc8-4r6g-282j · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/python-gnupg/PYSEC-2014-91.yaml · WEB
History
- 25 Nov 2026 20:18 UTC · NVD: first stored (published 25 Oct 2014)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 25 Oct 2014)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Nov 2018)