{"id":"CVE-2014-1927","aliases":["DEBIAN-CVE-2014-1927","DSA-2946-1","EUVD-2014-0088","GHSA-r3vr-prwv-86g9","PYSEC-2014-90","UBUNTU-CVE-2014-1927"],"status":"published","title":"python-gnupg's shell_quote function does not properly quote strings","description":"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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.03417,"percentile":0.88976,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2014-06-04T00:00:00Z","modified":"2026-10-23T15:47:31Z","fixes":[{"ecosystem":"PyPI","package":"python-gnupg","fixed_in":["0.3.6"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"python-gnupg","fixed_in":["0.3.6-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"python-gnupg","fixed_in":["0.3.6-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"python-gnupg","fixed_in":["0.3.6-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"python-gnupg","fixed_in":["0.3.6-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"python-gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.5"},{"last_affected":"0.3.5"},{"fixed":"0.3.6"}]}],"versions":["0.3.5"]},{"source":"osv","ecosystem":"Debian:12","package":"python-gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.6-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"python-gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.6-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"python-gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.6-1"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"python-gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.6-1~deb7u1"}]}],"versions":["0.3.0-1.1","0.3.4-1","0.3.5-1","0.3.5-2"],"bundled":4},{"source":"osv","ecosystem":"PyPI","package":"python-gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.5"},{"fixed":"0.3.6"}]}],"versions":["0.3.5"]},{"source":"osv","ecosystem":"PyPI","package":"python-gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.5"},{"fixed":"0.3.6"}]}],"versions":["0.3.5"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"python-gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.6-1"}]}],"versions":["0.3.5-2"]}],"products":[{"vendor":"python-gnupg_project","product":"python-gnupg"}],"references":[{"url":"http://secunia.com/advisories/56616","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.debian.org/security/2014/dsa-2946","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory","web"]},{"url":"http://seclists.org/oss-sec/2014/q1/245","tags":["mailing-list","x_refsource_MLIST","x_transferred","Exploit","evidence","web"]},{"url":"https://code.google.com/p/python-gnupg/issues/detail?id=98","tags":["x_refsource_CONFIRM","x_transferred","Exploit","evidence","web"]},{"url":"https://code.google.com/p/python-gnupg/","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://seclists.org/oss-sec/2014/q1/294","tags":["mailing-list","x_refsource_MLIST","x_transferred","Exploit","evidence","web"]},{"url":"http://secunia.com/advisories/59031","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-1927","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-r3vr-prwv-86g9","tags":["advisory"]},{"url":"https://code.google.com/p/python-gnupg","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/python-gnupg/PYSEC-2014-90.yaml","tags":["web"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2014-1927","tags":["advisory"]},{"url":"https://bitbucket.org/vinay.sajip/python-gnupg","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2014-1927","tags":["report"]},{"url":"http://www.openwall.com/lists/oss-security/2014/02/09/1","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2014-1927","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2014-1927","description":"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.","status":"published","published":"2014-10-25T21:00:00Z","modified":"2024-08-06T09:58:15.702Z","updated_at":"2026-11-02T14:33:46.310517Z"}],"euvd":[{"id":"EUVD-2014-0088","description":"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.","status":"published","published":"2014-10-25T21:00:00Z","modified":"2024-08-06T09:58:15Z","updated_at":"2026-11-03T01:57:16.268492Z"}],"ghsa":[{"id":"GHSA-r3vr-prwv-86g9","title":"python-gnupg's shell_quote function does not properly quote strings","description":"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.","status":"published","published":"2018-11-06T23:14:39Z","modified":"2024-10-25T21:18:51Z","cvss":[{"version":"4.0","score":8.7,"vector":"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","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:38:13.09489Z"}],"nvd":[{"id":"CVE-2014-1927","description":"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.","status":"published","published":"2014-10-25T21:55:03.787Z","modified":"2026-06-17T00:05:45.81Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:02:56.921017Z"}],"osv":[{"id":"GHSA-r3vr-prwv-86g9","title":"python-gnupg's shell_quote function does not properly quote strings","description":"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.","status":"published","published":"2018-11-06T23:14:39Z","modified":"2024-10-25T21:18:50Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"},{"version":"4.0","score":8.7,"vector":"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","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:55.122811Z"},{"id":"CVE-2014-1927","description":"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.","status":"published","published":"2014-10-25T21:55:03Z","modified":"2026-04-10T03:43:37.611688Z","updated_at":"2026-11-02T15:43:59.361892Z"},{"id":"DEBIAN-CVE-2014-1927","description":"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.","status":"published","published":"2014-10-25T21:55:03.787Z","modified":"2026-10-23T15:47:31.214908501Z","updated_at":"2026-11-02T15:45:25.819707Z"},{"id":"DSA-2946-1","title":"python-gnupg - security update","status":"published","published":"2014-06-04T00:00:00Z","modified":"2026-03-09T01:19:36.379737Z","updated_at":"2026-11-02T15:46:15.843838Z"},{"id":"PYSEC-2014-90","description":"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.","status":"published","published":"2014-10-25T21:55:00Z","modified":"2023-11-08T03:57:35.612037Z","updated_at":"2026-11-02T15:52:51.645172Z"},{"id":"UBUNTU-CVE-2014-1927","description":"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.","status":"published","published":"2014-10-25T21:55:00Z","modified":"2025-07-16T07:31:49.993635Z","updated_at":"2026-11-02T15:54:07.855521Z"}]}}
