CVE-2014-1928 json
python-gnupg's shell_quote function does not properly escape characters
published 2014-10-25 12 y ago modified 2026-06-17 4 mo ago also GHSA-2jc8-4r6g-282j , PYSEC-2014-91 , EUVD-2014-0089
- cvss
- 7.5
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi python-gnupg 0.3.6
- python-gnupg Debian 14, Debian 13, Debian 12 0.3.6-1
debian advisories DEBIAN-CVE-2014-1928
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2014-1928 updated cvss 6.8
python-gnupg: incorrect fix against shell injection
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.61% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- seclists.org http://seclists.org/oss-sec/2014/q1/246 referenced PoC, tagged "exploit" by a source, unverified
- code.google.com https://code.google.com/p/python-gnupg/issues/detail?id=98 referenced PoC, tagged "exploit" by a source, unverified
- seclists.org http://seclists.org/oss-sec/2014/q1/294 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | python-gnupg | >=0.3.5, <0.3.6 <0.3.6 |
0.3.6 |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
seclists.org
/oss-sec/2014/q1/246
mailing-list, web, exploit
-
code.google.com
/p/python-gnupg/issues/detail?id=98
web, exploit, vendor-advisory
-
seclists.org
/oss-sec/2014/q1/294
mailing-list, web, exploit
-
debian.org
/security/2014/dsa-2946
vendor-advisory, web, advisory
-
secunia.com
/advisories/56616
third-party-advisory, advisory
-
code.google.com
/p/python-gnupg/
web
-
secunia.com
/advisories/59031
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2014-1928
advisory
-
code.google.com
/p/python-gnupg
package
-
github.com
/advisories/GHSA-2jc8-4r6g-282j
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/python-gnupg/PYSEC-2014-91.yaml
web
Sources
- CVE List CVE-2014-1928
- GitHub Advisory GHSA-2jc8-4r6g-282j
- NVD CVE-2014-1928
- OSV PYSEC-2014-91
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.