CVE-2020-1736
Incorrect Permission Assignment for Critical Resource in Ansible
Reported by redhat · Published March 16, 2020
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | ansible | 2.7.x, 2.8.x, 2.9.x |
| Red Hat | ansible | 2.7.x, 2.8.x, 2.9.x |
| PyPI | ansible | 2.7.0 |
Timeline
- Mar 16, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 9, 2026 Security Advisory (16 in total, the first dated here)
- Mar 17, 2026 Distribution Patch (6 in total, the first dated here)
- Jun 7, 2026 CVE Updated
- Sep 3, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-1736
vulnetix vdb fixes CVE-2020-1736
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-1736/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- GLSA-202006-11 vendor-advisoryx_refsource_GENTOO
- FEDORA-2020-1e6eeadbb4 vendor-advisoryx_refsource_FEDORA
- FEDORA-2020-d5e74bf9a0 vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2020-1736 advisory
- https://github.com/advisories/GHSA-x7jh-595q-wq82 advisory
- https://github.com/ansible/ansible url
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-8.yaml advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2NYYQP2XJB2TTRP6AKWVMBSPB2DFJNKD url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BPNZWBAUP4ZHUR6PO7U6ZXEKNCX62KZ7 url