GitHub Advisoryadvisory · PyPI

GHSA-3c67-gc48-983w Path Traversal in Ansible

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

Affected packages

• PyPI ansible: >= 2.9.0a1, < 2.9.7 → fixed in 2.9.7

Description

An archive traversal flaw was found in all ansible-engine versions 2.9.x prior to 2.9.7, when running `ansible-galaxy collection` install. When extracting a collection .tar.gz file, the directory is created without sanitizing the filename. An attacker could take advantage to overwrite any file within the system.

Related

Alias · CVE (1)

  • CVE-2020-10691 An archive traversal flaw was found in all ansible-engine versions 2.9.x prior to 2.9.7, when running ansible-galaxy collection install. vulnerability

Weakness · CWE (1)

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

References