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.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.4%top 69.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12ansible2.9.7+dfsg-1DEBIAN-CVE-2020-1737
Debian:13ansible2.9.7+dfsg-1DEBIAN-CVE-2020-1737
Debian:14ansible2.9.7+dfsg-1DEBIAN-CVE-2020-1737
PyPIansible2.8.9GHSA-893h-35v4-mxqx
PyPIansible2.7.17, 2.8.9, 2.9.6PYSEC-2020-9
PyPIansible2.9.6GHSA-893h-35v4-mxqx
PyPIansible2.7.17GHSA-893h-35v4-mxqx

Affected products (as reported)

VendorProductVersions
Red Hat Ansible 2.7.17 and prior2.8.9 and prior2.9.6 and priorfixed in 2.10

Weakness: CWE-22 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H

References