Bug 1732623 (CVE-2019-10206) - CVE-2019-10206 Ansible: disclosure data when prompted for password and template characters are passed
Summary: CVE-2019-10206 Ansible: disclosure data when prompted for password and templa...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-10206
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: 1732624 1743498 1743499 1743500 1747979 1747980 1747981 1748852
Blocks: 1732617
TreeView+ depends on / blocked
 
Reported: 2019-07-23 22:13 UTC by Borja Tarraso
Modified: 2022-10-02 21:49 UTC (History)
19 users (show)

Fixed In Version: ansible-engine 2.8.4, ansible-engine 2.7.13, ansible-engine 2.6.19
Doc Type: If docs needed, set a value
Doc Text:
A data disclosure flaw was found in ansible. Password prompts in ansible-playbook and ansible-cli tools could expose passwords with special characters as they are not properly wrapped. A password with special characters is exposed starting with the first of these special characters. The highest threat from this vulnerability is to data confidentiality.
Clone Of:
Environment:
Last Closed: 2019-08-21 20:47:12 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:25 UTC
Red Hat Product Errata RHSA-2019:2543 0 None None None 2019-08-21 18:03:54 UTC
Red Hat Product Errata RHSA-2019:2544 0 None None None 2019-08-21 18:02:30 UTC
Red Hat Product Errata RHSA-2019:2545 0 None None None 2019-08-21 18:02:42 UTC
Red Hat Product Errata RHSA-2019:3744 0 None None None 2019-11-06 15:26:43 UTC
Red Hat Product Errata RHSA-2019:3789 0 None None None 2019-11-07 13:46:23 UTC

Description Borja Tarraso 2019-07-23 22:13:47 UTC
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.

Comment 3 Borja Tarraso 2019-07-24 09:13:22 UTC
Acknowledgments:

Name: Paul Rubin

Comment 6 errata-xmlrpc 2019-08-21 18:02:29 UTC
This issue has been addressed in the following products:

  Red Hat Ansible Engine 2.7 for RHEL 7

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

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

  Red Hat Ansible Engine 2.6 for RHEL 7

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

Comment 8 errata-xmlrpc 2019-08-21 18:03:53 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 9 errata-xmlrpc 2019-08-21 18:06:24 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 10 Product Security DevOps Team 2019-08-21 20:47:12 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-10206

Comment 12 Hardik Vyas 2019-09-04 09:40:25 UTC
Gluster uses Ansible package from Ansible repository and hence it will consume fixes from core Ansible.
For Ceph-3 we still maintain Ansible atleast for Ubuntu, Ceph-2 has reached end of life and hence out of support scope.

Comment 14 Joshua Padman 2019-09-04 23:32:15 UTC
The vulnerable code was included in all versions shipped with OpenStack 10, 13 and 14.

Comment 15 errata-xmlrpc 2019-11-06 15:26:42 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 14.0 (Rocky)

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

Comment 16 errata-xmlrpc 2019-11-07 13:46:22 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 13.0 (Queens)

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

Comment 19 Eric Christensen 2020-03-05 16:35:18 UTC
External References:

https://github.com/ansible/ansible/pull/59246


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