Vulnerability · Published Mar 9, 2020 · Assigned by redhat
CVE-2020-1737
High 7.5
In plain English
A high-severity path traversal in Ansible from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ansible | 2.9.7+dfsg-1 | DEBIAN-CVE-2020-1737 |
| Debian:13 | ansible | 2.9.7+dfsg-1 | DEBIAN-CVE-2020-1737 |
| Debian:14 | ansible | 2.9.7+dfsg-1 | DEBIAN-CVE-2020-1737 |
| PyPI | ansible | 2.8.9 | GHSA-893h-35v4-mxqx |
| PyPI | ansible | 2.7.17, 2.8.9, 2.9.6 | PYSEC-2020-9 |
| PyPI | ansible | 2.9.6 | GHSA-893h-35v4-mxqx |
| PyPI | ansible | 2.7.17 | GHSA-893h-35v4-mxqx |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1737 x_refsource_CONFIRM
- https://github.com/ansible/ansible/issues/67795 x_refsource_MISC
- FEDORA-2020-a3f12bcff4 vendor-advisory, x_refsource_FEDORA
- FEDORA-2020-0cab7041f7 vendor-advisory, x_refsource_FEDORA
- FEDORA-2020-87f5e1e829 vendor-advisory, x_refsource_FEDORA
- GLSA-202006-11 vendor-advisory, x_refsource_GENTOO