Ansible: gcp modules do not flag sensitive data fields properly
Published Nov 25, 2019
7.1
HIGHCVSS 4.0
EPSS 1.87%
Description
A flaw was found in ansible 2.8.0 before 2.8.4. 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.
Affected products
-
- Version ansible 2.8.0 before 2.8.4StatusaffectedConstraints-
- Version
No data.
Red Hat Ansible Engine 2 for RHEL 7
ansible-0:2.8.4-1.el7ae
Fixed · RHSA-2019:2543
Red Hat Ansible Engine 2 for RHEL 8
ansible-0:2.8.4-1.el8ae
Fixed · RHSA-2019:2543
Red Hat Ansible Engine 2.8 for RHEL 7
ansible-0:2.8.4-1.el7ae
Fixed · RHSA-2019:2542
Red Hat Ansible Engine 2.8 for RHEL 8
ansible-0:2.8.4-1.el8ae
Fixed · RHSA-2019:2542
Red Hat Ceph Storage 2
ansible
Not affected
Red Hat Ceph Storage 3
ansible
Not affected
Red Hat OpenStack Platform 10 (Newton)
ansible
Not affected
Red Hat OpenStack Platform 13 (Queens)
ansible
Not affected
Red Hat OpenStack Platform 14 (Rocky)
ansible
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Engine 2 for RHEL 7 | ansible-0:2.8.4-1.el7ae | Fixed | RHSA-2019:2543 |
| Red Hat Ansible Engine 2 for RHEL 8 | ansible-0:2.8.4-1.el8ae | Fixed | RHSA-2019:2543 |
| Red Hat Ansible Engine 2.8 for RHEL 7 | ansible-0:2.8.4-1.el7ae | Fixed | RHSA-2019:2542 |
| Red Hat Ansible Engine 2.8 for RHEL 8 | ansible-0:2.8.4-1.el8ae | Fixed | RHSA-2019:2542 |
| Red Hat Ceph Storage 2 | ansible | Not affected | n/a |
| Red Hat Ceph Storage 3 | ansible | Not affected | n/a |
| Red Hat OpenStack Platform 10 (Newton) | ansible | Not affected | n/a |
| Red Hat OpenStack Platform 13 (Queens) | ansible | Not affected | n/a |
| Red Hat OpenStack Platform 14 (Rocky) | ansible | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Ansible shipped with Red Hat Ceph Storage 3; Red Hat OpenStack 10, 13, and 14; and Ansible Engine 2.6 and 2.7 are not vulnerable as they do not include the cred_type implementation (service_account_contents).
References (13)
- http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html vendor-advisoryx_refsource_SUSE
- https://access.redhat.com/security/cve/CVE-2019-10217 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1733509 Issue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10217 x_refsource_CONFIRMIssue TrackingThird Party Advisory
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2019-0007 Advisory
- https://github.com/advisories/GHSA-p75j-wc34-527c Advisory
- https://github.com/ansible/ansible/commit/c1ee1f142db1e669b710a65147ea32be47a91519
- https://github.com/ansible/ansible/issues/56269 x_refsource_CONFIRMExploitThird Party Advisory
- https://github.com/ansible/ansible/pull/59427 x_refsource_CONFIRMThird Party Advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-3.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2019-10217
- https://www.cve.org/CVERecord?id=CVE-2019-10217
Change history (0)
No recorded changes yet.