ansible: Multiple vulnerabilities (CVE-2019-10206, CVE-2019-10217)
CVE-2019-10206: disclosure data when prompted for password and template characters are passed
ansible-playbook -k and ansible cli tools prompt passwords by expanding them from templates as they could contain special characters. Passwords should be wrapped to prevent templates trigger and exposing them.
Fixed In Version:
ansible 2.8.4, 2.7.13, 2.6.19
References:
- https://github.com/ansible/ansible/pull/59246
- https://github.com/ansible/ansible/blob/stable-2.7/changelogs/CHANGELOG-v2.7.rst
- https://github.com/ansible/ansible/blob/stable-2.8/changelogs/CHANGELOG-v2.8.rst#bugfixes
- 2.8.x https://github.com/ansible/ansible/pull/59552
- 2.7.x https://github.com/ansible/ansible/pull/59553
- 2.6.x https://github.com/ansible/ansible/pull/59554
CVE-2019-10217: gcp modules do not flag sensitive data fields properly
Fields managing sensitive data should be set as such by no_log feature. Some of these fields in GCP modules are not set properly. service_account_contents() which is common class for all gcp modules is not setting no_log to True. Any sensitive data managed by that function would be leak as an output when running ansible playbooks.
Fixed In Version:
ansible 2.8.4
References:
- https://github.com/ansible/ansible/blob/stable-2.8/changelogs/CHANGELOG-v2.8.rst#bugfixes
- https://github.com/ansible/ansible/issues/56269
- https://github.com/ansible/ansible/pull/59427