PYSEC-2020-160: Medium severity Ansible Ansible vulnerability
Ansible, versions 2.9.x before 2.9.1, 2.8.x before 2.8.7 and Ansible versions 2.7.x before 2.7.15, is not respecting the flag nolog set it to True when Sumologic and Splunk callback plugins are used send tasks results events to collectors. This would discloses and collects any sensitive data.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Ansibleto a version that resolves this vulnerability.Fixed in 2.9.1 - Upgrade
Upgrade
Ansibleto a version that resolves this vulnerability.Fixed in 2.8.7 - Upgrade
Upgrade
Ansibleto a version that resolves this vulnerability.Fixed in 2.7.15 - Configuration
Set no_log to True for tasks whose results may contain sensitive data when using the Sumologic or Splunk callback plugins.
Ansible no_log = True