Red Hat Ansible
At a glance
- Source
- NVD
- EPSS
- EPSS 0.71 % · percentile 54 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Modified
Description
A vulnerability was found in Ansible Engine versions 2.9.x before 2.9.3, 2.8.x before 2.8.8, 2.7.x before 2.7.16 and earlier, where in Ansible's nxos_file_copy module can be used to copy files to a flash or bootflash on NXOS devices. Malicious code could craft the filename parameter to perform OS command injections. This could result in a loss of confidentiality of the system among other issues.
Weaknesses (CWE)
- CWE-20 — Improper Input Validation
- CWE-73 — External Control of File Name or Path
- CWE-668 — Exposure of Resource to Wrong Sphere
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14905
- https://access.redhat.com/errata/RHSA-2020:0218
- https://access.redhat.com/errata/RHSA-2020:0216
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5BNCYPQ4BY5QHBCJOAOPANB5FHATW2BR/
- http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html
- http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.0 | HIGH 7.3 | CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L | redhat |
| CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L | NVD · nvd@nist.gov (Primary) |
| CVSS 3.0 | HIGH 7.3 | CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L | NVD · secalert@redhat.com (Secondary) |
| CVSS 2.0 | MEDIUM 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-frxj-5j27-f8rf — Externally Controlled Reference to a Resource in Another Sphere, Improper Input Validation, and External Control of File Name or Path in Ansible
- PYSEC-2020-206 — A vulnerability was found in Ansible Engine versions 2.9.x before 2.9.3, 2.8.x before 2.8.8, 2.7.x before 2.7.16 and earlier, where in Ansible's nxos_file_copy
European references
- ENISA EUVD · EUVD-2020-0018
- GCVE · GCVE-0-2019-14905
Affected configurations (NVD CPE)
cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:*≥ 2.7.0 < 2.7.16cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:*≥ 2.8.0 < 2.8.8cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:*≥ 2.9.0 < 2.9.3cpe:2.3:a:redhat:ansible_tower:3.0.0:*:*:*:*:*:*:*cpe:2.3:a:redhat:ceph_storage:3.0:*:*:*:*:*:*:*cpe:2.3:a:redhat:cloudforms_management_engine:5.0:*:*:*:*:*:*:*cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*cpe:2.3:a:opensuse:backports_sle:15.0:sp1:*:*:*:*:*:*cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Red Hat · Ansible | affected 2.9.x before 2.9.3 ; affected 2.8.x before 2.8.8 ; affected 2.7.x before 2.7.16 ; affected 2.7.x and earlier |
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 |