CVE-2020-1733Redhat Ansible
Media 5.0
Seguir: esta CVE · Redhat · Redhat Ansible Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 30
- CVSS 3.1
- 5.0
- EPSS
- 0.4% probabilidad de explotación en 30 días · percentil 36
- Requiere autenticación
- Sí
- Publicada
- 11 mar 2020
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
Qué pasa
A race condition flaw was found in Ansible Engine 2.7.17 and prior, 2.8.9 and prior, 2.9.6 and prior when running a playbook with an unprivileged become user. When Ansible needs to run a module with become user, the temporary directory is created in /var/tmp. This directory is created with "umask 77 && mkdir -p <dir>"; this operation does not fail if the directory already exists and is owned by another user. An attacker could take advantage to gain control of the become user as the target directory can be retrieved by iterating '/proc/<pid>/cmdline'.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Ansible.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | ansible |
< 2.7.17 |
2.7.17 |
pip install "ansible>=2.7.17" |
| PyPI | ansible |
≥ 2.8.0a1 < 2.8.11 |
2.8.11 |
pip install "ansible>=2.8.11" |
| PyPI | ansible |
≥ 2.9.0a1 < 2.9.7 |
2.9.7 |
pip install "ansible>=2.9.7" |
| PyPI | ansible |
< 2.7.17 |
2.7.17 |
pip install "ansible>=2.7.17" |
| PyPI | ansible |
≥ 2.8.0 < 2.8.8 |
2.8.8 |
pip install "ansible>=2.8.8" |
| PyPI | ansible |
≥ 2.9.0 < 2.9.6 |
2.9.6 |
pip install "ansible>=2.9.6" |
Según OSV / GitHub Advisories (GHSA-g4mq-6fp5-qwcf, PYSEC-2020-5). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| redhat | ansible | ≤ 2.7.16 |
| redhat | ansible | ≥ 2.8.0 < 2.8.8 |
| redhat | ansible | ≥ 2.9.0 ≤ 2.9.5 |
| redhat | ansible_tower | ≤ 3.3.4 |
| redhat | ansible_tower | ≥ 3.3.5 ≤ 3.4.5 |
| redhat | ansible_tower | ≥ 3.5.0 ≤ 3.5.5 |
| redhat | ansible_tower | ≥ 3.6.0 ≤ 3.6.3 |
| redhat | cloudforms_management_engine | 5.0 |
| redhat | openstack | 13 |
| fedoraproject | fedora | 30 |
| fedoraproject | fedora | 31 |
| fedoraproject | fedora | 32 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 10.0 |
Boletines oficiales
- ansible-14-14.6.0-1.1 on GA media · SUSE · openSUSE-SU-2026:12447-1 · 6 nov 2026 Crítica
- ansible-13-13.7.0-1.1 on GA media · SUSE · openSUSE-SU-2026:10944-1 · 3 jun 2026 Crítica
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- bugzilla.redhat.com Issue Tracking Vendor Advisory
- github.com Exploit Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org Third Party Advisory
- www.debian.org Third Party Advisory