CVE-2020-10691
JSON

5.2medium

Path Traversal in Ansible

Severity
5.2medium CVSS:3.1 by redhat
Exploit likelihood
0.30% (higher than 24% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
Also known as
GHSA-3c67-gc48-983wPYSEC-2020-2

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.

Affected

Product or packageVersionsReported by
Red Hat Ansibleall ansible-engine versions 2.9.x prior to 2.9.7CVE List
ansible (PyPI)from 2.9.0a1 before 2.9.7, from 2.9.0 before 2.9.7GitHub Advisory Database, PyPA Advisory Database
redhat ansible_enginefrom 2.9.0 before 2.9.7NVD
redhat ansible_tower3.0NVD

All scores

redhat5.2medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L
GitHub5.2medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L
GitHubmedium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
NVD5.2medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L
NVD3.6low CVSS:2.0AV:L/AC:L/Au:N/C:N/I:P/A:P

Classification

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

Se ha detectado un fallo de salto de archivo en todas las versiones de ansible-engine 2.9.x anteriores a 2.9.7, cuando se ejecuta una instalación de una colección ansible-galaxy. Al extraer un archivo .tar.gz de la colección, el directorio es creado sin sanear el nombre del archivo. Un atacante podría aprovechar para sobrescribir cualquier archivo dentro del sistema.

References

Sources

SourceRecordLicence
CVE ListCVE-2020-10691 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-3c67-gc48-983w changed 2024-09-04CC-BY-4.0
NVDCVE-2020-10691 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2020-2 changed 2023-11-08CC-BY-4.0