Lack of data validation - Path Traversal In ansible
Description
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.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
pypi | 2.8.9, 2.9.6, 2.7.17 | ||
alpine v3.10 | 2.8.9-r0 | ||
alpine v3.11 | 2.9.6-r0 | ||
alpine v3.13 | 2.9.6-r0 | ||
alpine v3.14 | 2.9.6-r0 | ||
alpine v3.12 | 2.9.6-r0 | ||
alpine v3.9 | 2.7.17-r0 | ||
debian 13 | 2.9.7+dfsg-1 | ||
debian 14 | 2.9.7+dfsg-1 | ||
debian 12 | 2.9.7+dfsg-1 |
Aliases
1. 2. 3. 4. 5. 6. 7. 8. 9. 10.
References
1. 2. 3. 4. 5. 6. 7. 8. 9. 10.