NetSight
high7.8

CVE-2020-1737

Path Traversal in Ansible

Impact

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

EcosystemPackageAffectedFixed in
pipansible>= 2.8.0a1, < 2.8.92.8.9

Affected products

VendorProductAffected versions
RedhatAnsible Engine
before 2.7.17
from 2.8.0 before 2.8.9
from 2.9.0 before 2.9.6
RedhatAnsible Tower
through 3.3.4
from 3.4.0 through 3.4.5
from 3.5.0 through 3.5.5
from 3.6.0 through 3.6.3

Weakness classification

References