CVE-2020-1737
HIGH 7.8CVSS 3.1Path Traversal in Ansible
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.
- Published
- 9 Mar 2020
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-893h-35v4-mxqxPYSEC-2020-9
- Sources
- NVDJSONOSV GHSA-893h-35v4-mxqxJSONOSV PYSEC-2020-9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | ansible_enginecpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:* |
< 2.7.17 | 2.7.17 |
| NVD | redhat | ansible_enginecpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:* |
>= 2.8.0, < 2.8.9 | 2.8.9 |
| NVD | redhat | ansible_enginecpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:* |
>= 2.9.0, < 2.9.6 | 2.9.6 |
| NVD | redhat | ansible_towercpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* |
<= 3.3.4 | |
| NVD | redhat | ansible_towercpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* |
>= 3.4.0, <= 3.4.5 | |
| NVD | redhat | ansible_towercpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* |
>= 3.5.0, <= 3.5.5 | |
| NVD | redhat | ansible_towercpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* |
>= 3.6.0, <= 3.6.3 | |
| OSV | PyPI | ansible | >= 2.8.0a1, < 2.8.9 | 2.8.9 |
| OSV | PyPI | ansible | >= 2.9.0a1, < 2.9.6 | 2.9.6 |
| OSV | PyPI | ansible | < 2.7.17 | 2.7.17 |
| OSV | PyPI | ansible | < 2.7.17; >= 2.8.0, < 2.8.9; >= 2.9.0, < 2.9.6 | 2.7.17, 2.8.9, 2.9.6 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1737 · Issue Tracking, Vendor Advisory, WEB, REPORT
- https://github.com/ansible/ansible/issues/67795 · Third Party Advisory, WEB, REPORT
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FWDK3QUVBULS3Q3PQTGEKUQYPSNOU5M3/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QT27K5ZRGDPCH7GT3DRI3LO4IVDVQUB7/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U3IMV3XEIUXL6S4KPLYYM4TVJQ2VNEP2/
- https://security.gentoo.org/glsa/202006-11 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-1737 · ADVISORY
- https://github.com/ansible/ansible/pull/67799 · WEB
- https://github.com/samdoran/ansible/commit/1de638b4d38d6d916588e2ad48d01f90dab8c36d · WEB
- https://github.com/samdoran/ansible/commit/aaf549d7870b8687209a3282841b59207735b676 · WEB
- https://github.com/samdoran/ansible/commit/b60aa26e2313a8d52c0e0d3fd01696e797605b72 · WEB
- https://github.com/advisories/GHSA-893h-35v4-mxqx · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-9.yaml · WEB
- https://github.com/samdoran/ansible · PACKAGE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FWDK3QUVBULS3Q3PQTGEKUQYPSNOU5M3 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QT27K5ZRGDPCH7GT3DRI3LO4IVDVQUB7 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U3IMV3XEIUXL6S4KPLYYM4TVJQ2VNEP2 · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 9 Mar 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Mar 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Apr 2021)