Skip to main content
← All vulnerabilities
CVE-2020-1737PYSEC-2020-9GHSA-893H-35V4-MXQX

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 mo

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.7.17, 2.8.9, 2.9.6
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Red Hat Ansible

    fixed in 2.10

  • ansiblePyPI

    fixed in 2.7.17; From 2.8.0 · fixed in 2.8.9; From 2.9.0 · fixed in 2.9.6

  • ansiblePyPI

    From 2.8.0a1 · fixed in 2.8.9

  • ansiblePyPI

    From 2.9.0a1 · fixed in 2.9.6

  • ansiblePyPI

    fixed in 2.7.17

References 6

bugzilla.redhat.com

GitHub · ansible/ansible

lists.fedoraproject.org

security.gentoo.org