ADVISORIES

GitHub Advisory Database

GHSA-2jc8-4r6g-282j

python-gnupg's shell_quote function does not properly escape characters

Details

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.

Affected packages

EcosystemPackageAffected versions
PyPIpython-gnupg
From 0.3.5 before 0.3.6 (fixed in 0.3.6)

References