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

23 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
alpine/ansible<2.8.8-r0
2.8.8-r0
alpine/ansible<2.9.3-r0
2.9.3-r0
alpine/ansible<2.9.3-r0
2.9.3-r0
alpine/ansible<2.7.16-r0
2.7.16-r0
alpine/ansible-base<2.9.3-r0
2.9.3-r0
alpine/ansible-base<2.9.3-r0
2.9.3-r0
alpine/ansible-base<2.9.3-r0
2.9.3-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/ansible-engine to a version that resolves this vulnerability.

    Fixed in 2.9.4
  2. Upgrade

    Upgrade redhat/ansible-engine to a version that resolves this vulnerability.

    Fixed in 2.8.8
  3. Upgrade

    Upgrade redhat/ansible-engine to a version that resolves this vulnerability.

    Fixed in 2.7.16
  4. Upgrade

    Upgrade pip/ansible to a version that resolves this vulnerability.

    Fixed in 2.9.3
  5. Upgrade

    Upgrade pip/ansible to a version that resolves this vulnerability.

    Fixed in 2.8.8
  6. Upgrade

    Upgrade pip/ansible to a version that resolves this vulnerability.

    Fixed in 2.7.16
  7. Upgrade

    Upgrade alpine/ansible to a version that resolves this vulnerability.

    Fixed in 2.8.8-r0
  8. Upgrade

    Upgrade alpine/ansible to a version that resolves this vulnerability.

    Fixed in 2.9.3-r0
  9. Upgrade

    Upgrade alpine/ansible to a version that resolves this vulnerability.

    Fixed in 2.7.16-r0
  10. Upgrade

    Upgrade alpine/ansible-base to a version that resolves this vulnerability.

    Fixed in 2.9.3-r0
  11. Upgrade

    Upgrade Ansible Engine to a version that resolves this vulnerability.

    Fixed in 2.9.3
  12. Upgrade

    Upgrade Ansible Engine to a version that resolves this vulnerability.

    Fixed in 2.8.8
  13. Upgrade

    Upgrade Ansible Engine to a version that resolves this vulnerability.

    Fixed in 2.7.16

Event History

Nov 26, 2019
Data Sourced
03:49 PM
DescriptionSeverityAffected Software
Mar 31, 2020
CVE Published
via MITRE·04:20 PM
Data Sourced
via MITRE·04:20 PM
DescriptionSeverityWeakness
Data Sourced
05:15 PM
RemedyWeakness
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·05:15 PM
DescriptionSeverityAffected Software
Feb 16, 2021
Data Sourced
via Red Hat·08:58 PM
DescriptionSeverityAffected Software
Apr 20, 2021
Advisory Published
via GitHub·04:44 PM
Data Sourced
via GitHub·04:44 PM
DescriptionSeverityWeaknessAffected Software
Sep 5, 2024
Advisory Published
via GitHub·12:30 AM
Event
via GitHub·12:30 AM
Jun 17, 2026
Updated
via NVD·02:19 AM
RemedyAffected Software

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