Insertion of Sensitive Information into Log File, Invocation of Process Using Visible Sensitive Information, and Exposure of Sensitive Information to an Unauthorized Actor in Ansible
Moderate severity
GitHub Reviewed
Published
Apr 7, 2021
to the GitHub Advisory Database
•
Updated Sep 9, 2024
Package
Affected versions
>= 2.7.0a1, < 2.7.18
>= 2.8.0a1, < 2.8.12
>= 2.9.0a1, < 2.9.7
Patched versions
2.7.18
2.8.12
2.9.7
Description
Published by the National Vulnerability Database
Mar 16, 2020
Reviewed
Apr 5, 2021
Published to the GitHub Advisory Database
Apr 7, 2021
Last updated
Sep 9, 2024
A security flaw was found in Ansible Engine, all Ansible 2.7.x versions prior to 2.7.17, all Ansible 2.8.x versions prior to 2.8.11 and all Ansible 2.9.x versions prior to 2.9.7, when managing kubernetes using the k8s module. Sensitive parameters such as passwords and tokens are passed to kubectl from the command line, not using an environment variable or an input configuration file. This will disclose passwords and tokens from process list and no_log directive from debug module would not have any effect making these secrets being disclosed on stdout and log files.
References