Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2020-1733

published medium CVSS 3.1 · 5.0

ansible: insecure temporary directory when running become_user from become directive

Title from Red Hat VEX

Published
11 Mar 2020, 18:47:40 UTC
Updated
04 Aug 2024, 06:46:30 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat — Ansible2.7.17 and prior · 2.8.9 and prior · 2.9.6 and prior Affected Not stated redhat
Amazon Linux AL2 Release evaluationALAS2ANSIBLE2-2023-008 Fixed Not stated Amazon Linux assessment
Alpine Linux v3.10 ansible Fixed 2.8.11-r0 Package fix record
Debian buster ansible Advisory build 2.7.7+dfsg-1+deb10u1 DSA-4950-1
SUSE / openSUSE openSUSE-Leap-15.3 ansiblenoarch Advisory build 2.9.21-bp153.2.3.1 OPENSUSE-SU-2022:0081-1
Ubuntu bionic ansible Advisory build 2.5.1+dfsg-1ubuntu0.1+esm1 USN-5315-1
Amazon Linux AL2 ansiblenoarch Listed in advisory Not stated ALAS2ANSIBLE2-2023-008
Alpine Linux v3.11 ansible Fixed 2.9.7-r0 Package fix record
Show 49 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.12 ansible Fixed 2.9.7-r0 Package fix record
Alpine Linux v3.13 ansible-base Fixed 2.9.7-r0 Package fix record
Alpine Linux v3.14 ansible-base Fixed 2.9.7-r0 Package fix record
Alpine Linux v3.15 ansible-base Fixed 2.9.7-r0 Package fix record
Alpine Linux v3.9 ansible Fixed 2.7.17-r0 Package fix record
Debian jessie ansible Advisory build 1.7.2+dfsg-2+deb8u3 DLA-2202-1
SUSE / openSUSE openSUSE-Leap-15.3 ansible-docnoarch Advisory build 2.9.21-bp153.2.3.1 OPENSUSE-SU-2022:0081-1
SUSE / openSUSE openSUSE-Leap-15.3 ansible-testnoarch Advisory build 2.9.21-bp153.2.3.1 OPENSUSE-SU-2022:0081-1
SUSE / openSUSE openSUSE-Tumbleweed ansibleaarch64 Advisory build 2.9.24-1.2 OPENSUSE-SU-2024:10615-1
SUSE / openSUSE openSUSE-Tumbleweed ansibleppc64le Advisory build 2.9.24-1.2 OPENSUSE-SU-2024:10615-1
SUSE / openSUSE openSUSE-Tumbleweed ansibles390x Advisory build 2.9.24-1.2 OPENSUSE-SU-2024:10615-1
SUSE / openSUSE openSUSE-Tumbleweed ansiblex86_64 Advisory build 2.9.24-1.2 OPENSUSE-SU-2024:10615-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-10aarch64 Advisory build 10.6.0-1.1 OPENSUSE-SU-2024:14536-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-10ppc64le Advisory build 10.6.0-1.1 OPENSUSE-SU-2024:14536-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-10s390x Advisory build 10.6.0-1.1 OPENSUSE-SU-2024:14536-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-10x86_64 Advisory build 10.6.0-1.1 OPENSUSE-SU-2024:14536-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-11aarch64 Advisory build 11.11.0-1.1 OPENSUSE-SU-2025:15605-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-11ppc64le Advisory build 11.11.0-1.1 OPENSUSE-SU-2025:15605-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-11s390x Advisory build 11.11.0-1.1 OPENSUSE-SU-2025:15605-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-11x86_64 Advisory build 11.11.0-1.1 OPENSUSE-SU-2025:15605-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-12aarch64 Advisory build 12.2.0-1.1 OPENSUSE-SU-2025:15753-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-12ppc64le Advisory build 12.2.0-1.1 OPENSUSE-SU-2025:15753-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-12s390x Advisory build 12.2.0-1.1 OPENSUSE-SU-2025:15753-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-12x86_64 Advisory build 12.2.0-1.1 OPENSUSE-SU-2025:15753-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-13aarch64 Advisory build 13.7.0-1.1 OPENSUSE-SU-2026:10944-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-13ppc64le Advisory build 13.7.0-1.1 OPENSUSE-SU-2026:10944-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-13s390x Advisory build 13.7.0-1.1 OPENSUSE-SU-2026:10944-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-13x86_64 Advisory build 13.7.0-1.1 OPENSUSE-SU-2026:10944-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-14aarch64 Advisory build 14.6.0-1.1 OPENSUSE-SU-2026:12447-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-14ppc64le Advisory build 14.6.0-1.1 OPENSUSE-SU-2026:12447-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-14s390x Advisory build 14.6.0-1.1 OPENSUSE-SU-2026:12447-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-14x86_64 Advisory build 14.6.0-1.1 OPENSUSE-SU-2026:12447-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-9aarch64 Advisory build 9.8.0-1.1 OPENSUSE-SU-2024:14244-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-9ppc64le Advisory build 9.8.0-1.1 OPENSUSE-SU-2024:14244-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-9s390x Advisory build 9.8.0-1.1 OPENSUSE-SU-2024:14244-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-9x86_64 Advisory build 9.8.0-1.1 OPENSUSE-SU-2024:14244-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-docaarch64 Advisory build 2.9.24-1.2 OPENSUSE-SU-2024:10615-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-docppc64le Advisory build 2.9.24-1.2 OPENSUSE-SU-2024:10615-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-docs390x Advisory build 2.9.24-1.2 OPENSUSE-SU-2024:10615-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-docx86_64 Advisory build 2.9.24-1.2 OPENSUSE-SU-2024:10615-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-testaarch64 Advisory build 2.9.24-1.2 OPENSUSE-SU-2024:10615-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-testppc64le Advisory build 2.9.24-1.2 OPENSUSE-SU-2024:10615-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-tests390x Advisory build 2.9.24-1.2 OPENSUSE-SU-2024:10615-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-testx86_64 Advisory build 2.9.24-1.2 OPENSUSE-SU-2024:10615-1
Ubuntu focal ansible Advisory build 2.9.6+dfsg-1ubuntu0.1~esm1 USN-5315-1
Ubuntu xenial ansible Advisory build 2.0.0.2-2ubuntu1.3+esm1 USN-5315-1
Ubuntu xenial ansible-fireball Advisory build 2.0.0.2-2ubuntu1.3+esm1 USN-5315-1
Ubuntu xenial ansible-node-fireball Advisory build 2.0.0.2-2ubuntu1.3+esm1 USN-5315-1
Amazon Linux AL2 ansiblesrc Listed in advisory Not stated ALAS2ANSIBLE2-2023-008

Description

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'.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

21

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.0 / 10
Severity
medium
Provider
redhat · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Red Hat Ansible 2.7.17 and prior (affected)2.8.9 and prior (affected)2.9.6 and prior (affected) redhat · cna

Weaknesses

1
  • CWE-377 (redhat · cna)

References

8
  • https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1733 x_refsource_CONFIRM, x_transferred Contributors: redhat (cna), CVE (adp)
  • https://github.com/ansible/ansible/issues/67791 x_refsource_MISC, x_transferred Contributors: redhat (cna), CVE (adp)
  • [debian-lts-announce] 20200505 [SECURITY] [DLA 2202-1] ansible security update https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html mailing-list, x_refsource_MLIST, x_transferred Contributors: redhat (cna), CVE (adp)
  • FEDORA-2020-3990f03ba3 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW/ vendor-advisory, x_refsource_FEDORA, x_transferred Contributors: redhat (cna), CVE (adp)
  • FEDORA-2020-f80154b5b4 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S/ vendor-advisory, x_refsource_FEDORA, x_transferred Contributors: redhat (cna), CVE (adp)
  • FEDORA-2020-1b6ce91e37 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB/ vendor-advisory, x_refsource_FEDORA, x_transferred Contributors: redhat (cna), CVE (adp)
  • GLSA-202006-11 https://security.gentoo.org/glsa/202006-11 vendor-advisory, x_refsource_GENTOO, x_transferred Contributors: redhat (cna), CVE (adp)
  • DSA-4950 https://www.debian.org/security/2021/dsa-4950 vendor-advisory, x_refsource_DEBIAN, x_transferred Contributors: redhat (cna), CVE (adp)

Provider assertions

2

redhat · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
4e3bbd97d3e641db13ec47ba3a4265ebe574d5f23376954816b66e0881910efa
Ingested
23 Sep 2026, 07:49:17 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected