Information disclosure in Red Hat Ansible
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 9 fixed, 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-200.
Summary
A security flaw was found in Ansible Engine, all Ansible 2.7.x versions prior to 2.7.17, all Ansible 2.8.x versions prior to 2.8.11 and all Ansible 2.9.x versions prior to 2.9.7, when managing kubernetes using the k8s module. Sensitive parameters such as passwords and tokens are passed to kubectl from the command line, not using an environment variable or an input configuration file. This will disclose passwords and tokens from process list and no_log directive from debug module would not have any effect making these secrets being disclosed on stdout and log files.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | Ansible | all Ansible 2.7.x versions prior to 2.7.17; all Ansible 2.8.x versions prior to 2.8.11; all Ansible 2.9.x versions prior to 2.9.7 | — | No fix listed | CNA |
| — | ansible (PyPI) | 2.7.0a1 to before 2.7.18 | 2.7.18 | Patch available | GHSA-86hp-cj9j-33vv |
| — | ansible (PyPI) | 2.8.0a1 to before 2.8.12 | 2.8.12 | Patch available | GHSA-86hp-cj9j-33vv |
| — | ansible (PyPI) | 2.9.0a1 to before 2.9.7 | 2.9.7 | Patch available | GHSA-86hp-cj9j-33vv |
- Ansible VendorRed Hat Affected all Ansible 2.7.x versions prior to 2.7.17; all Ansible 2.8.x versions prior to 2.8.11; all Ansible 2.9.x versions prior to 2.9.7 Fixed in — No fix listed CNA
- ansible (PyPI) Vendor— Affected 2.7.0a1 to before 2.7.18 Fixed in 2.7.18 Patch available GHSA-86hp-cj9j-33vv
- ansible (PyPI) Vendor— Affected 2.8.0a1 to before 2.8.12 Fixed in 2.8.12 Patch available GHSA-86hp-cj9j-33vv
- ansible (PyPI) Vendor— Affected 2.9.0a1 to before 2.9.7 Fixed in 2.9.7 Patch available GHSA-86hp-cj9j-33vv
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:* | before 2.7.18; 2.8.0 to before 2.8.11; 2.9.0 to before 2.9.7 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* | up to 3.3.4; 3.4.0 – 3.4.5; 3.5.0 – 3.5.5; 3.6.0 – 3.6.3 | Vulnerable | Red Hat |
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Debian |
| cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* | 30 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* | 31 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* | 32 | Vulnerable | Fedoraproject |
- cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:* Versions before 2.7.18; 2.8.0 to before 2.8.11; 2.9.0 to before 2.9.7 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* Versions up to 3.3.4; 3.4.0 – 3.4.5; 3.5.0 – 3.5.5; 3.6.0 – 3.6.3 Vulnerable ·Red Hat
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
- cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* Versions 30 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* Versions 31 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* Versions 32 Vulnerable ·Fedoraproject
Remediation
- Fix · GHSA-86hp-cj9j-33vv ansible (PyPI) Fixed in 2.7.18 Advisory →
- Fix · GHSA-86hp-cj9j-33vv ansible (PyPI) Fixed in 2.8.12 Advisory →
- Fix · GHSA-86hp-cj9j-33vv ansible (PyPI) Fixed in 2.9.7 Advisory →
Red Hat 3 advisories
- RHSA-2020:2142 Released 2020-05-13 · Red Hat rating ModerateAnsible security and bug fix update (2.7.18)
- Red Hat Ansible Engine 2.7 for RHEL 7 Server ansible-2.7.18-1.el7ae
- RHSA-2020:1542 Released 2020-04-22 · Red Hat rating ImportantAnsible security and bug fix update (2.9.7)
- Red Hat Ansible Engine 2 for RHEL 7 ansible-2.9.7-1.el7ae, ansible-test-2.9.7-1.el7ae
- Red Hat Ansible Engine 2 for RHEL 8 ansible-2.9.7-1.el8ae, ansible-test-2.9.7-1.el8ae
- RHSA-2020:1541 Released 2020-04-22 · Red Hat rating ImportantAnsible security and bug fix update (2.9.7)
- Red Hat Ansible Engine 2.9 for RHEL 7 Server ansible-2.9.7-1.el7ae, ansible-test-2.9.7-1.el7ae
- Red Hat Ansible Engine 2.9 for RHEL 8 ansible-2.9.7-1.el8ae, ansible-test-2.9.7-1.el8ae
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Red Hat Ansible — FEDORA-2020-3990f03ba3
4 records Highest priority Priority LOW 4 LOW
Other records, highest priority first
- TI-2020-01677 Race condition in Red Hat AnsiblePriority LOW 23
- TI-2020-01684 Information disclosure in Red Hat ansiblePriority LOW 22
- TI-2020-01679 Path traversal in Red Hat ansiblePriority LOW 22
- Advisory ·
Red Hat Ansible — FEDORA-2020-f80154b5b4
4 records Highest priority Priority LOW 4 LOW
Other records, highest priority first
- TI-2020-01677 Race condition in Red Hat AnsiblePriority LOW 23
- TI-2020-01684 Information disclosure in Red Hat ansiblePriority LOW 22
- TI-2020-01679 Path traversal in Red Hat ansiblePriority LOW 22
Show 1 more group
- Advisory ·
Red Hat Ansible — FEDORA-2020-1b6ce91e37
4 records Highest priority Priority LOW 4 LOW
Other records, highest priority first
- TI-2020-01677 Race condition in Red Hat AnsiblePriority LOW 23
- TI-2020-01684 Information disclosure in Red Hat ansiblePriority LOW 22
- TI-2020-01679 Path traversal in Red Hat ansiblePriority LOW 22
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenStack Platform 10 (Newton) | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 13 (Queens) | Affected | No fix planned: Will not fix |
| Red Hat Ansible Engine 2 for RHEL 7 | Fixed | RHSA-2020:1542 |
| Red Hat Ansible Engine 2 for RHEL 8 | Fixed | RHSA-2020:1542 |
| Red Hat Ansible Engine 2.7 for RHEL 7 Server | Fixed | RHSA-2020:2142 |
| Red Hat Ansible Engine 2.8 for RHEL 7 Server | Fixed | — |
| Red Hat Ansible Engine 2.8 for RHEL 8 | Fixed | — |
| Red Hat Ansible Engine 2.9 for RHEL 7 Server | Fixed | RHSA-2020:1541 |
| Red Hat Ansible Engine 2.9 for RHEL 8 | Fixed | RHSA-2020:1541 |
| Red Hat Ansible Tower 3.4 for RHEL 7 Server | Fixed | — |
| Red Hat Ansible Tower 3.5 for RHEL 7 Server | Fixed | — |
Not affected: 3 products
- Red Hat Ceph Storage 2
- Red Hat Ceph Storage 3
- Red Hat Storage 3
Timeline
- 2026-10-02 Threatist record created from CVE-2020-1753
- 2026-10-03 Alias added: GHSA-86hp-cj9j-33vv
References
Advisory 8
Other 9
- https://github.com/ansible/ansible/pull/68195
- https://github.com/ansible/ansible/commit/04ba05e003b268b83df6c106ba5c0f08548b1380
- https://github.com/ansible/ansible/commit/137caed836ef096945086cfe75dc11587b68db3a
- https://github.com/ansible/ansible/commit/273d8538dbe5a7b5c9954f1929d3bb00904c43f6
- https://github.com/ansible-collections/kubernetes
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-210.yaml
- https://lists.fedoraproject.org/archives/list/[email protected]/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW
- https://lists.fedoraproject.org/archives/list/[email protected]/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S
- https://lists.fedoraproject.org/archives/list/[email protected]/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB
More Red Hat Ansible Engine vulnerabilities
- TI-2018-05593 transport.py in the SSH server implementation of Paramiko before 1.17.6, 1.18.x before… CVSS 3.1CRITICAL 9.8
- TI-2017-05127 Improper input validation in [UNKNOWN] ansible CVSS 3.1CRITICAL 9.8
- TI-2021-03523 Information disclosure in ansible CVSS 3.1HIGH 7.5
- TI-2019-11051 Sensitive information in log files in Red Hat Ansible CVSS 3.1HIGH 7.8
- TI-2018-07689 Untrusted search path in [UNKNOWN] ansible CVSS 3.1HIGH 7.8
- TI-2018-07688 Untrusted search path in [UNKNOWN] ansible CVSS 3.0HIGH 7.8
Sources
- CVE-2020-1753 · CVE Program
- CVE-2020-1753 · NVD
- FIRST EPSS
- GHSA-86hp-cj9j-33vv · GitHub Advisory Database · CC BY 4.0
- CVE-2020-1753 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences