Vulnerability · Published Mar 16, 2020 · Assigned by redhat
CVE-2020-1736
Low 2.2
In plain English
A low-severity incorrect permission assignment in ansible from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ansible | no fix listed | DEBIAN-CVE-2020-1736 |
| Debian:13 | ansible | no fix listed | DEBIAN-CVE-2020-1736 |
| Debian:14 | ansible | no fix listed | DEBIAN-CVE-2020-1736 |
| PyPI | ansible | no fix listed | GHSA-x7jh-595q-wq82 |
| PyPI | ansible | 2.7.17, 2.8.9, 2.9.6 | PYSEC-2020-8 |
| Ubuntu:24.04:LTS | ansible | no fix listed | UBUNTU-CVE-2020-1736 |
| Ubuntu:25.10 | ansible | no fix listed | UBUNTU-CVE-2020-1736 |
| Ubuntu:26.04:LTS | ansible | no fix listed | UBUNTU-CVE-2020-1736 |
| Ubuntu:26.10 | ansible | no fix listed | UBUNTU-CVE-2020-1736 |
Affected products (as reported)
Weakness: CWE-732 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1736 x_refsource_CONFIRM
- https://github.com/ansible/ansible/issues/67794 x_refsource_CONFIRM
- GLSA-202006-11 vendor-advisory, x_refsource_GENTOO
- FEDORA-2020-1e6eeadbb4 vendor-advisory, x_refsource_FEDORA
- FEDORA-2020-d5e74bf9a0 vendor-advisory, x_refsource_FEDORA