CVE-2019-14905
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v4.0•HIGH•Score: 7CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N
- v3.1•MEDIUM•Score: 5.6CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L
- v3.0•HIGH•Score: 7.3CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L
- v2.0•MEDIUM•Score: 4.6AV:L/AC:L/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 0.27%• Percentile: 51%
Techniques & Countermeasures
- CWE-668•Exposure of Resource to Wrong Sphere
The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.
- CWE-20•Improper Input Validation
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-73•External Control of File Name or Path
The product allows user input to control or influence paths or file names that are used in filesystem operations.
Affected Systems
- fedoraproject•fedora
30
- opensuse•backports_sle
15.0:sp1
- opensuse•leap
15.1
- PyPI•ansible
≥ 2.7.0a1, < 2.7.16 | ≥ 2.8.0a1, < 2.8.8 | ≥ 2.9.0a1, < 2.9.3 | ≥ 2.9.0, < 2.9.3
- red hat•ansible
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
- redhat•ansible_engine
≥ 2.7.0, < 2.7.16 | ≥ 2.8.0, < 2.8.8 | ≥ 2.9.0, < 2.9.3
- redhat•ansible_tower
3.0.0
- redhat•ceph_storage
3.0
- redhat•cloudforms_management_engine
5.0
- redhat•openstack
13
References (12)
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2019-14905
- https://github.com/advisories/GHSA-frxj-5j27-f8rf
- https://github.com/ansible/ansible
- 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
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5BNCYPQ4BY5QHBCJOAOPANB5FHATW2BR/