Skip to content
OpenAdvisories
High · 7.5 CVE-2014-1928 EUVD-2014-0089GHSA-2jc8-4r6g-282jPYSEC-2014-91

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

Published Oct 25, 2014 · Updated Aug 6, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-gnupg 0.3.6-1 —
Debian 13 python-gnupg 0.3.6-1 —
Debian 12 python-gnupg 0.3.6-1 —
Debian 7 python-gnupg 0.3.6-1~deb7u1 DSA-2946-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI python-gnupg >= 0.3.5, < 0.3.6 0.3.6 GHSA-2jc8-4r6g-282j
PyPI python-gnupg < 0.3.6 0.3.6 PYSEC-2014-91

Advisories 1

References