GitHub Advisoryadvisory · PyPI

GHSA-893h-35v4-mxqx Path Traversal in Ansible

HIGH Published 2021-04-20 Modified 2024-09-06 Official page ↗
Aliases
CVE-2020-1737
Ecosystem
PyPI
Packages
ansible
Severity
High
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-22
Reviewed
2021-04-05

Affected packages

• PyPI ansible: >= 2.8.0a1, < 2.8.9 → fixed in 2.8.9 • PyPI ansible: >= 2.9.0a1, < 2.9.6 → fixed in 2.9.6 • PyPI ansible: < 2.7.17 → fixed in 2.7.17

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.

Related

Alias · CVE (1)

  • CVE-2020-1737 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… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References