Path Traversal in Ansible
High severity
GitHub Reviewed
Published
Apr 20, 2021
to the GitHub Advisory Database
•
Updated Sep 6, 2024
Package
Affected versions
>= 2.8.0a1, < 2.8.9
>= 2.9.0a1, < 2.9.6
>= 0, < 2.7.17
Patched versions
2.8.9
2.9.6
2.7.17
Description
Published by the National Vulnerability Database
Mar 9, 2020
Reviewed
Apr 5, 2021
Published to the GitHub Advisory Database
Apr 20, 2021
Last updated
Sep 6, 2024
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.
References