{"id":"GHSA-r3vr-prwv-86g9","summary":"python-gnupg's shell_quote function does not properly quote strings","details":"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.","aliases":["CVE-2014-1927","PYSEC-2014-90"],"modified":"2024-10-25T21:18:50Z","published":"2018-11-06T23:14:39Z","database_specific":{"cwe_ids":["CWE-20"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:53:37Z","nvd_published_at":null},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-1927"},{"type":"PACKAGE","url":"https://bitbucket.org/vinay.sajip/python-gnupg"},{"type":"WEB","url":"https://code.google.com/p/python-gnupg"},{"type":"WEB","url":"https://code.google.com/p/python-gnupg/issues/detail?id=98"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-r3vr-prwv-86g9"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/python-gnupg/PYSEC-2014-90.yaml"},{"type":"WEB","url":"http://seclists.org/oss-sec/2014/q1/245"},{"type":"WEB","url":"http://seclists.org/oss-sec/2014/q1/294"},{"type":"WEB","url":"http://www.debian.org/security/2014/dsa-2946"}],"affected":[{"package":{"name":"python-gnupg","ecosystem":"PyPI","purl":"pkg:pypi/python-gnupg"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.5"},{"fixed":"0.3.6"}]}],"versions":["0.3.5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/11/GHSA-r3vr-prwv-86g9/GHSA-r3vr-prwv-86g9.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"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"}]}