Bug 1733509 (CVE-2019-10217) - CVE-2019-10217 Ansible: gcp modules do not flag sensitive data fields properly
Summary: CVE-2019-10217 Ansible: gcp modules do not flag sensitive data fields properly
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-10217
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1733510 1743501
Blocks: 1732560
TreeView+ depends on / blocked
 
Reported: 2019-07-26 10:22 UTC by Borja Tarraso
Modified: 2021-02-16 21:36 UTC (History)
20 users (show)

Fixed In Version: ansible-engine 2.8.4
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the gcp module of ansible. Certain fields managing sensitive data should be marked by the no_log feature. The service_account_contents(), which is common class for all gcp modules, is not being set as no_log to True. Any sensitive data managed by that function would be leaked as an output when running ansible playbooks. Data confidentiality is the highest threat with this vulnerability.
Clone Of:
Environment:
Last Closed: 2019-08-21 20:47:14 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:2542 0 None None None 2019-08-21 18:06:29 UTC
Red Hat Product Errata RHSA-2019:2543 0 None None None 2019-08-21 18:03:54 UTC

Description Borja Tarraso 2019-07-26 10:22:34 UTC
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.

Comment 1 Borja Tarraso 2019-07-26 10:22:36 UTC
Acknowledgments:

Name: Abhijeet Kasurde (Red Hat)

Comment 4 Brian Coca 2019-08-01 14:41:08 UTC
https://github.com/ansible/ansible-stage/pull/7

Comment 7 errata-xmlrpc 2019-08-21 18:03:54 UTC
This issue has been addressed in the following products:

  Red Hat Ansible Engine 2 for RHEL 7
  Red Hat Ansible Engine 2 for RHEL 8

Via RHSA-2019:2543 https://access.redhat.com/errata/RHSA-2019:2543

Comment 8 errata-xmlrpc 2019-08-21 18:06:28 UTC
This issue has been addressed in the following products:

  Red Hat Ansible Engine 2.8 for RHEL 7
  Red Hat Ansible Engine 2.8 for RHEL 8

Via RHSA-2019:2542 https://access.redhat.com/errata/RHSA-2019:2542

Comment 9 Product Security DevOps Team 2019-08-21 20:47:14 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-10217

Comment 16 Eric Christensen 2020-03-05 16:40:59 UTC
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).


Note You need to log in before you can comment on or make changes to this bug.