GHSA-h39q-95q5-9jfp

OS Command Injection in ansible

En bref

Publiée
Mise à jour
CVE
CVE-2020-1734
Alias
PYSEC-2020-6
CVSS_V3
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L
CVSS_V4
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L

Description

A flaw was found in the pipe lookup plugin of ansible. Arbitrary commands can be run, when the pipe lookup plugin uses `subprocess.Popen()` with `shell=True`, by overwriting ansible facts and the variable is not escaped by quote plugin. An attacker could take advantage and run arbitrary commands by overwriting the ansible facts.

Paquets affectés

PaquetVersions
PyPI · ansibleintroduced 2.10.0a1, fixed 2.10.0rc1
PyPI · ansibleintroduced 2.9.0a1, fixed 2.9.11
PyPI · ansibleintroduced 0, fixed 2.8.13

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database