Skip to content
Fencer Intel
high 7.5

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 products
    not 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

Sources

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.