Live threats

All CVEs / Redhat

CVE-2020-1736Redhat Ansible

Low 3.3

Priority
20
CVSS 3.1
3.3
EPSS
0.4%
probability of exploitation in 30 days · percentile 35
Auth required
Yes
Published
Mar 16, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-732
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

What happens

A flaw was found in Ansible Engine when a file is moved using atomic_move primitive as the file mode cannot be specified. This sets the destination files world-readable if the destination file does not exist and if the file exists, the file could be changed to have less restrictive permissions before the move. This could lead to the disclosure of sensitive data. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ansible.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI ansible ≥ 2.7.0 ≤ 2.10.0 no fixed version —
PyPI ansible < 2.7.17 2.7.17 pip install "ansible>=2.7.17"
PyPI ansible ≥ 2.8.0 < 2.8.9 2.8.9 pip install "ansible>=2.8.9"
PyPI ansible ≥ 2.9.0 < 2.9.6 2.9.6 pip install "ansible>=2.9.6"

Per OSV / GitHub Advisories (GHSA-x7jh-595q-wq82, PYSEC-2020-8). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
redhatansible≤ 2.7.16
redhatansible≥ 2.8.0 < 2.8.15
redhatansible≥ 2.9.0 < 2.9.13
redhatansible_tower≤ 3.3.4
redhatansible_tower≥ 3.3.5 ≤ 3.4.5
redhatansible_tower≥ 3.5.0 ≤ 3.5.5
redhatansible_tower≥ 3.6.0 ≤ 3.6.3
redhatansible_tower≥ 3.7.0 ≤ 3.7.2
redhatcloudforms_management_engine5.0
redhatopenstack13
fedoraprojectfedora31
fedoraprojectfedora32

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.