Red Hat ansible
At a glance
- Source
- NVD
- EPSS
- EPSS 0.40 % · percentile 35 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-732 — Incorrect Permission Assignment for Critical Resource
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1736
- https://github.com/ansible/ansible/issues/67794
- https://security.gentoo.org/glsa/202006-11
- 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/
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| 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 | redhat |
| 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 · secalert@redhat.com (Secondary) |
| 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 · nvd@nist.gov (Primary) |
| CVSS 2.0 | LOW 2.1 | AV:L/AC:L/Au:N/C:P/I:N/A:N | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-x7jh-595q-wq82 — Incorrect Permission Assignment for Critical Resource in Ansible
- PYSEC-2020-8 — 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-
European references
- ENISA EUVD · EUVD-2020-0030
- GCVE · GCVE-0-2020-1736
Affected configurations (NVD CPE)
cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*≤ 2.7.16cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*≥ 2.8.0 < 2.8.15cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*≥ 2.9.0 < 2.9.13cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:*≤ 3.3.4cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:*≥ 3.3.5 ≤ 3.4.5cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:*≥ 3.5.0 ≤ 3.5.5cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:*≥ 3.6.0 ≤ 3.6.3cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:*≥ 3.7.0 ≤ 3.7.2cpe:2.3:a:redhat:cloudforms_management_engine:5.0:*:*:*:*:*:*:*cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Red Hat · ansible | affected 2.7.x, 2.8.x, 2.9.x |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |