CVE-2014-1927 json
python-gnupg's shell_quote function does not properly quote strings
published 12y ago modified 4mo ago also GHSA-r3vr-prwv-86g9 , PYSEC-2014-90 , EUVD-2014-0088
- cvss
- 7.5
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.4%
- EPSS 3.4% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
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.
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-1927
- python-gnupg Ubuntu 14.04 LTS 0.3.6-1
ubuntu advisories UBUNTU-CVE-2014-1927
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2014-1927 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor 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-1927 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
3.42% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- seclists.org http://seclists.org/oss-sec/2014/q1/245 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 | 7.5 | AV:N/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 |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
seclists.org
/oss-sec/2014/q1/245
mailing-list, web, exploit
-
code.google.com
/p/python-gnupg/issues/detail?id=98
web, exploit
-
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-1927
advisory
-
bitbucket.org
/vinay.sajip/python-gnupg
package
-
code.google.com
/p/python-gnupg
web
-
github.com
/advisories/GHSA-r3vr-prwv-86g9
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/python-gnupg/PYSEC-2014-90.yaml
web
Sources
- CVE List CVE-2014-1927
- GitHub Advisory GHSA-r3vr-prwv-86g9
- NVD CVE-2014-1927
- OSV PYSEC-2014-90
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.