{"id":"CVE-2020-1737","published":"2020-03-09T15:11:38Z","modified":"2024-08-04T06:46:30Z","title":"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…","vendor":"Red Hat","product":"Ansible","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00357,"percentile":0.30157,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1737","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ansible/ansible/issues/67795","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FWDK3QUVBULS3Q3PQTGEKUQYPSNOU5M3/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QT27K5ZRGDPCH7GT3DRI3LO4IVDVQUB7/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U3IMV3XEIUXL6S4KPLYYM4TVJQ2VNEP2/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://security.gentoo.org/glsa/202006-11","tags":["vendor-advisory","x_refsource_GENTOO"]}],"priority":{"score":11.3,"factors":[{"name":"EPSS percentile","points":6.03},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Ansible","versions":["2.7.17 and prior","2.8.9 and prior","2.9.6 and prior","fixed in 2.10"]}],"affected":[{"ecosystem":"PyPI","package":"ansible","vulnerableRanges":[">=2.8.0a1, <2.8.9",">=2.9.0a1, <2.9.6","<2.7.17",">=2.8.0, <2.8.9",">=2.9.0, <2.9.6"],"patched":["2.8.9","2.9.6","2.7.17"],"from":["GHSA-893h-35v4-mxqx","PYSEC-2020-9"],"provenance":"source"}],"summary":{"text":"A path traversal flaw exists in Red Hat Ansible's win_unzip module, specifically in its Extract-Zip function, where extracted file paths are not checked to ensure they stay within the destination folder. An attacker who can supply a crafted archive can use directory traversal sequences to write files outside the intended destination, provided they can get a user to process that archive, which requires local access and the victim's interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:52Z"},"euvd":{"id":"EUVD-2020-0031","exploited":false,"provenance":"source"}}