CVE-2019-14905
Externally Controlled Reference to a Resource in Another Sphere, Improper Input Validation, and External Control of File Name or Path in Ansible
Auswirkung
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.
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, mit einem Administratorkonto, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden, geringes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | ansible | >= 2.7.0a1, < 2.7.16 | 2.7.16 |
Betroffene Produkte
| Hersteller | Produkt | Betroffene Versionen |
|---|---|---|
| Fedoraproject | Fedora | Version 30 |
| Opensuse | Backports Sle | Version 15.0 |
| Opensuse | Leap | Version 15.1 |
| Red Hat | Ansible Engine | ab 2.7.0 vor 2.7.16 ab 2.8.0 vor 2.8.8 ab 2.9.0 vor 2.9.3 |
| Red Hat | Ansible Tower | Version 3.0.0 |
| Red Hat | Ceph Storage | Version 3.0 |
| Red Hat | Cloudforms Management Engine | Version 5.0 |
| Red Hat | Openstack | Version 13 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html
- http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html
- https://access.redhat.com/errata/RHSA-2020:0216
- https://access.redhat.com/errata/RHSA-2020:0218
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14905
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5BNCYPQ4BY5QHBCJOAOPANB5FHATW2BR/
- https://github.com/advisories/GHSA-frxj-5j27-f8rf
- https://nvd.nist.gov/vuln/detail/CVE-2019-14905
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-206.yaml
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5BNCYPQ4BY5QHBCJOAOPANB5FHATW2BR