CVE-2020-1736
LOW 3.3CVSS 3.1Incorrect Permission Assignment for Critical Resource in Ansible
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.
- Published
- 16 Mar 2020
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-732
- Also known as
- GHSA-x7jh-595q-wq82PYSEC-2020-8
- Sources
- NVDJSONOSV GHSA-x7jh-595q-wq82JSONOSV PYSEC-2020-8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | LOW 2.2 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 2.1 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | ansiblecpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* |
<= 2.7.16 | |
| NVD | redhat | ansiblecpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* |
>= 2.8.0, < 2.8.15 | 2.8.15 |
| NVD | redhat | ansiblecpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* |
>= 2.9.0, < 2.9.13 | 2.9.13 |
| NVD | redhat | ansible_towercpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* |
<= 3.3.4 | |
| NVD | redhat | ansible_towercpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* |
>= 3.3.5, <= 3.4.5 | |
| NVD | redhat | ansible_towercpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* |
>= 3.5.0, <= 3.5.5 | |
| NVD | redhat | ansible_towercpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* |
>= 3.6.0, <= 3.6.3 | |
| NVD | redhat | ansible_towercpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* |
>= 3.7.0, <= 3.7.2 | |
| NVD | redhat | cloudforms_management_enginecpe:2.3:a:redhat:cloudforms_management_engine:5.0:*:*:*:*:*:*:* |
= 5.0 | |
| NVD | redhat | openstackcpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:* |
= 13 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* |
= 31 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* |
= 32 | |
| OSV | PyPI | ansible | >= 2.7.0, <= 2.10.0 | |
| OSV | PyPI | ansible | < 2.7.17; >= 2.8.0, < 2.8.9; >= 2.9.0, < 2.9.6 | 2.7.17, 2.8.9, 2.9.6 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1736 · Issue Tracking, Vendor Advisory, WEB, REPORT
- https://github.com/ansible/ansible/issues/67794 · Exploit, Issue Tracking, Third Party Advisory, WEB, REPORT
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2NYYQP2XJB2TTRP6AKWVMBSPB2DFJNKD/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BPNZWBAUP4ZHUR6PO7U6ZXEKNCX62KZ7/
- https://security.gentoo.org/glsa/202006-11 · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-1736 · ADVISORY
- https://github.com/advisories/GHSA-x7jh-595q-wq82 · ADVISORY
- https://github.com/ansible/ansible · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-8.yaml · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2NYYQP2XJB2TTRP6AKWVMBSPB2DFJNKD · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BPNZWBAUP4ZHUR6PO7U6ZXEKNCX62KZ7 · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 16 Mar 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 16 Mar 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Feb 2022)