Vulnerability
CVE-2020-1733
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'.
22 advisories report this vulnerability, across 7 ecosystems.
Advisories
-
ALPINE-CVE-2020-1733
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…
-
DEBIAN-CVE-2020-1733
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…
-
DLA-2202-1
ansible - security update
-
DSA-4950-1
ansible - security update
-
GHSA-g4mq-6fp5-qwcf
Ansible vulnerable to Exposure of Resource to Wrong Sphere and Insecure Temporary File
-
PYSEC-2020-5
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…
-
RHSA-2020:1541
Red Hat Security Advisory: Ansible security and bug fix update (2.9.7)
-
RHSA-2020:1542
Red Hat Security Advisory: Ansible security and bug fix update (2.9.7)
-
RHSA-2020:1543
Red Hat Security Advisory: Ansible security and bug fix update (2.8.11)
-
RHSA-2020:1544
Red Hat Security Advisory: Ansible security and bug fix update (2.7.17)
-
SUSE-SU-2020:2911-1
Security update for ansible, crowbar-core, crowbar-openstack, grafana, grafana-natel-discrete-panel, openstack-aodh, openstack-barbican, openstack-cinder, openstack-gnocchi, openstack-heat, openstack-ironic,…
-
SUSE-SU-2020:3309-1
Security update for ansible, ardana-ansible, ardana-cinder, ardana-glance, ardana-mq, ardana-nova, ardana-osconfig, crowbar-core, crowbar-openstack, documentation-suse-openstack-cloud, grafana,…
-
SUSEVEX-CVE-2020-1733
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…
-
UBUNTU-CVE-2020-1733
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…
-
USN-5315-1
ansible vulnerabilities
-
openSUSE-SU-2022:0081-1
Security update for ansible
-
openSUSE-SU-2024:14244-1
ansible-9-9.8.0-1.1 on GA media
-
openSUSE-SU-2024:14536-1
ansible-10-10.6.0-1.1 on GA media
-
openSUSE-SU-2025:15605-1
ansible-11-11.11.0-1.1 on GA media
-
openSUSE-SU-2025:15753-1
ansible-12-12.2.0-1.1 on GA media
-
openSUSE-SU-2026:10944-1
ansible-13-13.7.0-1.1 on GA media
-
openSUSE-SU-2026:12447-1
ansible-14-14.6.0-1.1 on GA media
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1733
- https://github.com/ansible/ansible/issues/67791
- https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB/
- https://security.gentoo.org/glsa/202006-11
- https://www.debian.org/security/2021/dsa-4950