GitHub Advisoryadvisory · PyPI

GHSA-r3vr-prwv-86g9 python-gnupg's shell_quote function does not properly quote strings

HIGH Published 2018-11-06 Modified 2024-10-25 Official page ↗
Aliases
CVE-2014-1927
Ecosystem
PyPI
Packages
python-gnupg
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-20
Reviewed
2020-06-16

Affected packages

• PyPI python-gnupg: >= 0.3.5, < 0.3.6 → fixed in 0.3.6

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.

Related

Alias · CVE (1)

  • CVE-2014-1927 The shell_quote function in python-gnupg 0.3.5 does not properly quote strings, which allows context-dependent attackers to execute… vulnerability

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References