CVE-2019-14905
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.
What to do
Fixed builds are available from Alpine, Debian, PyPI: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | ansible | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | ansible | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | ansible | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | ansible | Fix pending | UBUNTU-CVE-2019-14905 | |
| Ubuntu 16.04 | ansible | Fix pending | ||
| Debian 14 | ansible | Fixed | 2.9.4+dfsg-1 | DEBIAN-CVE-2019-14905 |
| Debian 13 | ansible | Fixed | 2.9.4+dfsg-1 | DEBIAN-CVE-2019-14905 |
| Debian 12 | ansible | Fixed | 2.9.4+dfsg-1 | DEBIAN-CVE-2019-14905 |
| Alpine Linux 3.15 | ansible-base | Fixed | 2.9.3-r0 | ALPINE-CVE-2019-14905 |
| Alpine Linux 3.14 | ansible-base | Fixed | 2.9.3-r0 | ALPINE-CVE-2019-14905 |
| Alpine Linux 3.13 | ansible-base | Fixed | 2.9.3-r0 | ALPINE-CVE-2019-14905 |
| Alpine Linux 3.12 | ansible | Fixed | 2.9.3-r0 | ALPINE-CVE-2019-14905 |
| Alpine Linux 3.11 | ansible | Fixed | 2.9.3-r0 | ALPINE-CVE-2019-14905 |
| Alpine Linux 3.10 | ansible | Fixed | 2.8.8-r0 | ALPINE-CVE-2019-14905 |
| Alpine Linux 3.9 | ansible | Fixed | 2.7.16-r0 | ALPINE-CVE-2019-14905 |
| PyPI library | ansible | Fixed | 2.8.8 | GHSA-frxj-5j27-f8rf |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Ansible: affected: 2.9.x before 2.9.3, 2.8.x before 2.8.8, 2.7.x before 2.7.16, 2.7.x and earlier
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2020:0218 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2020:0216 (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html (vendor-advisory)
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.