GitHub Advisoryadvisory · PyPI

GHSA-2jc8-4r6g-282j python-gnupg's shell_quote function does not properly escape characters

HIGH Published 2018-11-06 Modified 2024-10-25 Official page ↗
Aliases
CVE-2014-1928
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 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.

Related

Alias · CVE (1)

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

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References