CVE-2019-10217
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.
What to do
Fixed builds are available from Alpine, Debian, PyPI: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | ansible | Not affected vulnerable_code_not_present | ||
| Debian 14 | ansible | Fixed | 2.8.6+dfsg-1 | DEBIAN-CVE-2019-10217 |
| Debian 13 | ansible | Fixed | 2.8.6+dfsg-1 | DEBIAN-CVE-2019-10217 |
| Debian 12 | ansible | Fixed | 2.8.6+dfsg-1 | DEBIAN-CVE-2019-10217 |
| Alpine Linux 3.15 | ansible-base | Fixed | 2.8.4-r0 | ALPINE-CVE-2019-10217 |
| Alpine Linux 3.14 | ansible-base | Fixed | 2.8.4-r0 | ALPINE-CVE-2019-10217 |
| Alpine Linux 3.13 | ansible-base | Fixed | 2.8.4-r0 | ALPINE-CVE-2019-10217 |
| Alpine Linux 3.12 | ansible | Fixed | 2.8.4-r0 | ALPINE-CVE-2019-10217 |
| Alpine Linux 3.11 | ansible | Fixed | 2.8.4-r0 | ALPINE-CVE-2019-10217 |
| Alpine Linux 3.10 | ansible | Fixed | 2.8.4-r0 | ALPINE-CVE-2019-10217 |
| PyPI library | ansible | Fixed | 2.8.4 | PYSEC-2019-3 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Ansible: affected: ansible 2.8.0 before 2.8.4
Vendor advisories:
- http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html (vendor-advisory)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10217
- https://github.com/ansible/ansible/issues/56269
- https://github.com/ansible/ansible/pull/59427
- http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html
- http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.