{"id":"CVE-2014-1928","aliases":["DEBIAN-CVE-2014-1928","DSA-2946-1","EUVD-2014-0089","GHSA-2jc8-4r6g-282j","PYSEC-2014-91","UBUNTU-CVE-2014-1928"],"status":"published","title":"python-gnupg's shell_quote function does not properly escape characters","description":"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.","severity":{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.0061,"percentile":0.49475,"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:26Z","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"]}],"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"},{"fixed":"0.3.6"}]}],"versions":["0.2.3","0.2.4","0.2.6","0.2.7","0.2.8","0.2.9","0.3.0","0.3.1","0.3.2","0.3.3","0.3.4","0.3.5"]}],"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://seclists.org/oss-sec/2014/q1/246","tags":["mailing-list","x_refsource_MLIST","x_transferred","Exploit","evidence","web"]},{"url":"http://www.debian.org/security/2014/dsa-2946","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory","web"]},{"url":"https://code.google.com/p/python-gnupg/issues/detail?id=98","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Vendor Advisory","advisory","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-1928","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-2jc8-4r6g-282j","tags":["advisory"]},{"url":"https://code.google.com/p/python-gnupg","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/python-gnupg/PYSEC-2014-91.yaml","tags":["web"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2014-1928","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2014-1928","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-1928","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2014-1928","description":"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.","status":"published","published":"2014-10-25T21:00:00Z","modified":"2024-08-06T09:58:15.659Z","updated_at":"2026-11-02T14:33:46.310517Z"}],"euvd":[{"id":"EUVD-2014-0089","description":"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.","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-2jc8-4r6g-282j","title":"python-gnupg's shell_quote function does not properly escape characters","description":"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.","status":"published","published":"2018-11-06T23:13:02Z","modified":"2024-10-25T20:46:24Z","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-1928","description":"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.","status":"published","published":"2014-10-25T21:55:03.85Z","modified":"2026-06-17T00:05:45.927Z","cvss":[{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:02:56.921017Z"}],"osv":[{"id":"GHSA-2jc8-4r6g-282j","title":"python-gnupg's shell_quote function does not properly escape characters","description":"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.","status":"published","published":"2018-11-06T23:13:02Z","modified":"2024-10-25T20:46:24Z","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:34.338541Z"},{"id":"CVE-2014-1928","description":"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.","status":"published","published":"2014-10-25T21:55:03Z","modified":"2026-04-10T03:43:38.746454Z","updated_at":"2026-11-02T15:43:59.361892Z"},{"id":"DEBIAN-CVE-2014-1928","description":"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.","status":"published","published":"2014-10-25T21:55:03.85Z","modified":"2026-10-23T15:47:26.840022522Z","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-91","description":"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.","status":"published","published":"2014-10-25T21:55:00Z","modified":"2023-11-08T03:57:35.672992Z","updated_at":"2026-11-02T15:52:51.645172Z"},{"id":"UBUNTU-CVE-2014-1928","description":"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.","status":"withdrawn","published":"2014-10-25T21:55:00Z","modified":"2025-07-16T07:31:50.060087Z","updated_at":"2026-11-02T15:54:07.855521Z"}]}}
