CVE-2019-14905: Command Injection

Published Nov 26, 2019
·
Updated

A vulnerability has been found in nxosfilecopy from Ansible module. Filenames are used to perform actions to copy files to a flash or bootflash on NXOS devices. However, nxosfilecopy takes remotefile parameter which is used for destination. Malicious code could crafts the filename parameter to take advantage by performing an OS command injection.

Other sources

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 nxosfilecopy 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.

MITRE

Affected Software

16 affected componentsFixes available
redhat/ansible-engine<2.9.4
2.9.4
redhat/ansible-engine<2.8.8
2.8.8
redhat/ansible-engine<2.7.16
2.7.16
pip/ansible>=2.9.0a1<2.9.3
2.9.3
pip/ansible>=2.8.0a1<2.8.8
2.8.8
pip/ansible>=2.7.0a1<2.7.16
2.7.16
redhat Ansible Engine>=2.7.0<2.7.16
redhat Ansible Engine>=2.8.0<2.8.8
redhat Ansible Engine>=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
Fedoraproject Fedora=30
openSUSE Backports SLE=15.0-sp1
openSUSE Leap=15.1

Event History

Mar 31, 2020
CVE Published
via MITRE·04:20 PM
Data Sourced
via MITRE·04:20 PM
DescriptionSeverityWeakness
Apr 20, 2021
Advisory Published
via GitHub·04:44 PM

Frequently Asked Questions

1

What is the vulnerability ID of this Ansible Engine vulnerability?

The vulnerability ID is CVE-2019-14905.

2

What is the severity rating of CVE-2019-14905?

The severity rating of CVE-2019-14905 is high (5.6).

3

Which versions of Ansible Engine are affected by CVE-2019-14905?

The affected versions are 2.9.x before 2.9.3, 2.8.x before 2.8.8, and 2.7.x before 2.7.16.

4

How can an attacker exploit this vulnerability?

An attacker can exploit this vulnerability by crafting a malicious filename parameter to perform arbitrary commands on NXOS devices.

5

How can I fix CVE-2019-14905?

To fix CVE-2019-14905, upgrade to Ansible Engine version 2.9.4, 2.8.8, or 2.7.16.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203