~ / search / GHSA-h39q-95q5-9jfp

GHSA-h39q-95q5-9jfp

OS Command Injection in ansible

Source: GitHub Advisory Database (reviewed) High CVE-2020-1734

Packages

EcosystemPackageAffectedFixed in
PyPI ansible >= 2.10.0a1, < 2.10.0rc1 2.10.0rc1
PyPI ansible >= 2.9.0a1, < 2.9.11 2.9.11
PyPI ansible < 2.8.13 2.8.13

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.