CVE-2020-1737
Ansible Tower vulnerability analysis and mitigation

Overview

A path traversal vulnerability (CVE-2020-1737) was discovered in Ansible versions 2.7.17 and prior, 2.8.9 and prior, and 2.9.6 and prior. The vulnerability exists in the Extract-Zip function of the win_unzip module, where extracted files are not properly checked if they belong to the destination folder (NVD, CVE).

Technical details

The vulnerability stems from improper validation in the win_unzip module's Extract-Zip function, which fails to verify if extracted files belong to the intended destination folder. This is classified as a CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) vulnerability. The CVSS v3.1 base score is 7.8 (HIGH) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

An attacker could exploit this vulnerability by crafting a malicious archive that, when extracted, places files in arbitrary locations in the file system using path traversal techniques. This could potentially lead to unauthorized file system access and manipulation (Red Hat Bugzilla).

Mitigation and workarounds

The vulnerability was fixed in Ansible 2.10. Users should upgrade to Ansible version 2.7.17, 2.8.11, or 2.9.7 or later depending on their branch. If immediate upgrading is not possible, users should avoid using the affected win_unzip module (Red Hat Bugzilla).

Community reactions

Multiple Linux distributions including Fedora and Gentoo released security advisories and patches to address this vulnerability. Red Hat rated this vulnerability as having an 'Important' security impact (Gentoo Security, Fedora Update).

Additional resources


SourceThis report was generated using AI

Related Ansible Tower vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2021-4112HIGH8.8
  • Ansible TowerAnsible Tower
  • cpe:2.3:a:redhat:ansible_tower
NoYesAug 25, 2022
CVE-2021-3583HIGH7.1
  • Ansible TowerAnsible Tower
  • ansible
NoYesSep 22, 2021
CVE-2020-14327MEDIUM5.5
  • Ansible TowerAnsible Tower
  • cpe:2.3:a:redhat:ansible_tower
NoYesMay 27, 2021
CVE-2020-14329LOW3.3
  • Ansible TowerAnsible Tower
  • cpe:2.3:a:redhat:ansible_tower
NoYesMay 27, 2021
CVE-2020-14328LOW3.3
  • Ansible TowerAnsible Tower
  • cpe:2.3:a:redhat:ansible_tower
NoYesMay 27, 2021

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management