{"id":"CVE-2020-1736","published":"2020-03-16T15:03:52Z","modified":"2024-08-04T06:46:30Z","title":"A flaw was found in Ansible Engine when a file is moved using atomic_move primitive as the file mode cannot be specified","vendor":"Red Hat","product":"ansible","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.2,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00386,"percentile":0.33497,"provenance":"source"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1736","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ansible/ansible/issues/67794","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/202006-11","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2NYYQP2XJB2TTRP6AKWVMBSPB2DFJNKD/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BPNZWBAUP4ZHUR6PO7U6ZXEKNCX62KZ7/","tags":["vendor-advisory","x_refsource_FEDORA"]}],"priority":{"score":8.2,"factors":[{"name":"EPSS percentile","points":6.7},{"name":"CVSS severity","points":1.54}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"ansible","versions":["2.7.x, 2.8.x, 2.9.x"]}],"affected":[{"ecosystem":"PyPI","package":"ansible","vulnerableRanges":[">=2.7.0, <=2.10.0","<2.7.17",">=2.8.0, <2.8.9",">=2.9.0, <2.9.6"],"patched":["2.7.17","2.8.9","2.9.6"],"from":["GHSA-x7jh-595q-wq82","PYSEC-2020-8"],"provenance":"source"}],"summary":{"text":"A flaw in Red Hat's Ansible Engine causes the atomic_move primitive to set world-readable permissions on a destination file that does not exist, and to leave an existing destination file with less restrictive permissions before the move, because the file mode cannot be specified. An attacker with local access and low privileges could read sensitive data exposed by these permissions, but only with a high-complexity condition and the involvement of a user, such as a victim running the affected file move.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:14:15Z"},"euvd":{"id":"EUVD-2020-0030","exploited":false,"provenance":"source"}}