GHSA-893h-35v4-mxqx

Path Traversal in Ansible

At a glance

Published
Updated
CVE
CVE-2020-1737
Aliases
PYSEC-2020-9
CVSS_V3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS_V4
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

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

PackageVersions
PyPI · ansibleintroduced 2.8.0a1, fixed 2.8.9
PyPI · ansibleintroduced 2.9.0a1, fixed 2.9.6
PyPI · ansibleintroduced 0, fixed 2.7.17

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database