Ansible leaks sensitive information to logs when told not to
Moderate severity
GitHub Reviewed
Published
May 24, 2022
to the GitHub Advisory Database
•
Updated Sep 10, 2024
Package
Affected versions
>= 2.9.0a1, < 2.9.0rc4
>= 2.8.0a1, < 2.8.6
>= 2.7.0a1, < 2.7.14
>= 2.0, < 2.6.20
Patched versions
2.9.0rc4
2.8.6
2.7.14
2.6.20
Description
Published by the National Vulnerability Database
Oct 14, 2019
Published to the GitHub Advisory Database
May 24, 2022
Reviewed
Apr 22, 2024
Last updated
Sep 10, 2024
A vulnerability was found in Ansible engine 2.x up to 2.8 and Ansible tower 3.x up to 3.5. When a module has an argument_spec with sub parameters marked as
no_log
, passing an invalid parameter name to the module will cause the task to fail before theno_log
options in the sub parameters are processed. As a result, data in the sub parameter fields will not be masked and will be displayed if Ansible is run with increased verbosity and present in the module invocation arguments for the task.References