ansible
Affected
- introduced
2.8.0a1, fixed2.8.9(ecosystem)
Fixed versions
2.8.9
Fix
- Fixed version
2.8.9pip install --upgrade ansible==2.8.9
Advisory
Also known as: CVE-2020-1737, PYSEC-2020-9
Path 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.
High Basis: The source's own band: HIGH
2.8.0a1, fixed 2.8.9 (ecosystem)2.8.9
2.8.9pip install --upgrade ansible==2.8.92.9.0a1, fixed 2.9.6 (ecosystem)2.9.6
2.9.6pip install --upgrade ansible==2.9.60, fixed 2.7.17 (ecosystem)2.7.17
2.7.17pip install --upgrade ansible==2.7.17Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0