Path traversal in Red Hat Ansible
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 9 fixed, 5 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
Summary
A flaw was found in Ansible 2.7.17 and prior, 2.8.9 and prior, and 2.9.6 and prior when using the Extract-Zip function from the win_unzip module as the extracted file(s) are not checked if they belong to the destination folder. An attacker could take advantage of this flaw by crafting an archive anywhere in the file system, using a path traversal. This issue is fixed in 2.10.
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 | up to 2.7.17; up to 2.8.9; up to 2.9.6; fixed in 2.10 | — | No fix listed | CNA |
| — | ansible (PyPI) | 2.8.0a1 to before 2.8.9 | 2.8.9 | Patch available | GHSA-893h-35v4-mxqx |
| — | ansible (PyPI) | 2.9.0a1 to before 2.9.6 | 2.9.6 | Patch available | GHSA-893h-35v4-mxqx |
| — | ansible (PyPI) | before 2.7.17 | 2.7.17 | Patch available | GHSA-893h-35v4-mxqx |
- Ansible VendorRed Hat Affected up to 2.7.17; up to 2.8.9; up to 2.9.6; fixed in 2.10 Fixed in — No fix listed CNA
- ansible (PyPI) Vendor— Affected 2.8.0a1 to before 2.8.9 Fixed in 2.8.9 Patch available GHSA-893h-35v4-mxqx
- ansible (PyPI) Vendor— Affected 2.9.0a1 to before 2.9.6 Fixed in 2.9.6 Patch available GHSA-893h-35v4-mxqx
- ansible (PyPI) Vendor— Affected before 2.7.17 Fixed in 2.7.17 Patch available GHSA-893h-35v4-mxqx
Remediation
- Fix · GHSA-893h-35v4-mxqx ansible (PyPI) Fixed in 2.8.9 Advisory →
- Fix · GHSA-893h-35v4-mxqx ansible (PyPI) Fixed in 2.9.6 Advisory →
- Fix · GHSA-893h-35v4-mxqx ansible (PyPI) Fixed in 2.7.17 Advisory →
Red Hat 4 advisories
- RHSA-2020:1543 Released 2020-04-22 · Red Hat rating ImportantAnsible security and bug fix update (2.8.11)
- Red Hat Ansible Engine 2.8 for RHEL 7 Server ansible-2.8.11-1.el7ae
- Red Hat Ansible Engine 2.8 for RHEL 8 ansible-2.8.11-1.el8ae
- RHSA-2020:1544 Released 2020-04-22 · Red Hat rating ImportantAnsible security and bug fix update (2.7.17)
- Red Hat Ansible Engine 2.7 for RHEL 7 Server ansible-2.7.17-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
Show 1 more Red Hat advisories
- 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-a3f12bcff4
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2020-01683 Information disclosure in Red Hat AnsiblePriority LOW 18
- Advisory ·
Red Hat Ansible — FEDORA-2020-0cab7041f7
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2020-01683 Information disclosure in Red Hat AnsiblePriority LOW 18
Show 1 more group
- Advisory ·
Red Hat Ansible — FEDORA-2020-87f5e1e829
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2020-01683 Information disclosure in Red Hat AnsiblePriority LOW 18
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ceph Storage 2 | Affected | No fix planned: Out of support scope |
| Red Hat Ceph Storage 3 | Affected | No fix planned: Will not 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 Storage 3 | 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:1544 |
| Red Hat Ansible Engine 2.8 for RHEL 7 Server | Fixed | RHSA-2020:1543 |
| Red Hat Ansible Engine 2.8 for RHEL 8 | Fixed | RHSA-2020:1543 |
| 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: 1 product
- CloudForms Management Engine 5
Timeline
- 2026-10-02 Threatist record created from CVE-2020-1737
- 2026-10-03 Alias added: GHSA-893h-35v4-mxqx
References
Advisory 8
Other 9
- https://github.com/ansible/ansible/pull/67799
- https://github.com/samdoran/ansible/commit/1de638b4d38d6d916588e2ad48d01f90dab8c36d
- https://github.com/samdoran/ansible/commit/aaf549d7870b8687209a3282841b59207735b676
- https://github.com/samdoran/ansible/commit/b60aa26e2313a8d52c0e0d3fd01696e797605b72
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-9.yaml
- https://github.com/samdoran/ansible
- https://lists.fedoraproject.org/archives/list/[email protected]/message/FWDK3QUVBULS3Q3PQTGEKUQYPSNOU5M3
- https://lists.fedoraproject.org/archives/list/[email protected]/message/QT27K5ZRGDPCH7GT3DRI3LO4IVDVQUB7
- https://lists.fedoraproject.org/archives/list/[email protected]/message/U3IMV3XEIUXL6S4KPLYYM4TVJQ2VNEP2
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-1737 · CVE Program
- CVE-2020-1737 · NVD
- FIRST EPSS
- GHSA-893h-35v4-mxqx · GitHub Advisory Database · CC BY 4.0
- CVE-2020-1737 · 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