CVE-2019-14905
MEDIUM5.6EPSS 0.27%Externally Controlled Reference to a Resource in Another Sphere, Improper Input Validation, and External Control of File Name or Path in Ansible
Published: 4/20/2021Modified: 4/28/2026
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.
Affected packages (5)
- Alpine/ansiblefrom 0, < 2.8.8-r0
- Alpine/ansible-basefrom 0, < 2.9.3-r0
- Debian/ansiblefrom 0, < 2.9.4+dfsg-1
- PyPI/ansible>= 2.7.0a1, < 2.7.16
- PyPI/ansible>= 2.7.0, < 2.7.16, >= 2.8.0, < 2.8.8, >= 2.9.0, < 2.9.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM5.6 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L |
References (13)
- ADVISORYhttps://github.com/advisories/GHSA-frxj-5j27-f8rf
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2019-14905
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2019-14905
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2019-14905
- PATCHhttps://github.com/ansible/ansible
- WEBhttp://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html
- WEBhttp://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html
- WEBhttps://access.redhat.com/errata/RHSA-2020:0216
- WEBhttps://access.redhat.com/errata/RHSA-2020:0218
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14905
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-206.yaml
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/5BNCYPQ4BY5QHBCJOAOPANB5FHATW2BR
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/5BNCYPQ4BY5QHBCJOAOPANB5FHATW2BR/