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.
CVSS breakdown
CVSS 3.1
Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
Affected products
- Red Hat / Ansible2.7.17 and prior – 2.7.17 and prior
- Red Hat / Ansible2.8.9 and prior – 2.8.9 and prior
- Red Hat / Ansible2.9.6 and prior – 2.9.6 and prior
- Red Hat / Ansiblefixed in 2.10 – fixed in 2.10
References
- MISChttps://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1737
- MISChttps://github.com/ansible/ansible/issues/67795
- MAILING_LISThttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FWDK3QUVBULS3Q3PQTGEKUQYPSNOU5M3/
- MAILING_LISThttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QT27K5ZRGDPCH7GT3DRI3LO4IVDVQUB7/
- MAILING_LISThttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U3IMV3XEIUXL6S4KPLYYM4TVJQ2VNEP2/
- MISChttps://security.gentoo.org/glsa/202006-11