CVE-2014-1928
python-gnupg's shell_quote function does not properly escape characters
Reported by mitre · Published October 25, 2014
python-gnupg is fixed in 0.3.6 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python-gnupg | PyPI | 0.3.6 |
| python-gnupg | python-gnupg_project | 0.3.5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| PyPI | python-gnupg | 0.3.5, 0.3.5 |
Timeline
- Oct 25, 2014 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 9, 2026 Security Advisory (2 in total, the first dated here)
- Apr 10, 2026 Distribution Patch
- Jun 17, 2026 CVE Updated
- Oct 20, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2014-1928
vulnetix vdb fixes CVE-2014-1928
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2014-1928/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 56616 third-party-advisoryx_refsource_SECUNIA
- [oss-security] 20140204 Re: CVE request: python-gnupg before 0.3.5 shell injection mailing-listx_refsource_MLIST
- DSA-2946 vendor-advisoryx_refsource_DEBIAN
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- [oss-security] 20140209 Re: CVE request: python-gnupg before 0.3.5 shell injection mailing-listx_refsource_MLIST
- 59031 third-party-advisoryx_refsource_SECUNIA
- https://nvd.nist.gov/vuln/detail/CVE-2014-1928 advisory
- https://github.com/advisories/GHSA-2jc8-4r6g-282j advisory
- https://code.google.com/p/python-gnupg url
- https://github.com/pypa/advisory-database/tree/main/vulns/python-gnupg/PYSEC-2014-91.yaml advisory