Ansible CVE-2019-14905 OS Command Injection Vulnerability



Date Discovered

November 27, 2019


Ansible is prone to an OS command-injection vulnerability. An attacker may exploit this issue to inject and execute arbitrary commands within the context of the affected application; this may aid in further attacks. Versions prior to Ansible 2.9.2, 2.8.8 and 2.7.16 are vulnerable.

Technologies Affected

  • AnsibleWorks ansible 2.6.0
  • AnsibleWorks ansible 2.6.10
  • AnsibleWorks ansible 2.6.11
  • AnsibleWorks ansible 2.6.13
  • AnsibleWorks ansible 2.6.14
  • AnsibleWorks ansible 2.6.19
  • AnsibleWorks ansible 2.6.5
  • AnsibleWorks ansible 2.6.6
  • AnsibleWorks ansible 2.6.7
  • AnsibleWorks ansible 2.6.8
  • AnsibleWorks ansible 2.6.9
  • AnsibleWorks ansible 2.7.0
  • AnsibleWorks ansible 2.7.1
  • AnsibleWorks ansible 2.7.13
  • AnsibleWorks ansible 2.7.15
  • AnsibleWorks ansible 2.7.2
  • AnsibleWorks ansible 2.7.3
  • AnsibleWorks ansible 2.7.4
  • AnsibleWorks ansible 2.7.5
  • AnsibleWorks ansible 2.7.7
  • AnsibleWorks ansible 2.7.8
  • AnsibleWorks ansible 2.8.0
  • AnsibleWorks ansible 2.8.1
  • AnsibleWorks ansible 2.8.2
  • AnsibleWorks ansible 2.8.4
  • AnsibleWorks ansible 2.8.7
  • AnsibleWorks ansible 2.9.1
  • Redhat Ansible Engine 2
  • Redhat Ansible Tower 3.0.0
  • Redhat Ceph Storage 2
  • Redhat Ceph Storage 3
  • Redhat CloudForms Management Engine 5.0
  • Redhat OpenStack Platform 10
  • Redhat OpenStack Platform 13
  • Redhat OpenStack Platform 14


Block external access at the network boundary, unless external parties require service.
Filter access to the affected computer at the network boundary if global access isn't needed. Restricting access to only trusted computers and networks might greatly reduce the likelihood of a successful exploit.

Deploy network intrusion detection systems to monitor network traffic for malicious activity.
Deploy NIDS to monitor the network for suspicious requests. This may help detect attacks that try to exploit this and similar vulnerabilities. Audit all applicable logs regularly

Run all software as a nonprivileged user with minimal access rights.
To reduce the impact of latent vulnerabilities, always run nonadministrative software as an unprivileged user with minimal access rights.

Updates are available. Please see the references or vendor advisory for more information.



Abhijeet Kasurde (Red Hat)

© 1995- Symantec Corporation

Permission to redistribute this alert electronically is granted as long as it is not edited in any way unless authorized by Symantec Security Response. Reprinting the whole or part of this alert in any medium other than electronically requires permission from


The information in the advisory is believed to be accurate at the time of publishing based on currently available information. Use of the information constitutes acceptance for use in an AS IS condition. There are no warranties with regard to this information. Neither the author nor the publisher accepts any liability for any direct, indirect, or consequential loss or damage arising from use of, or reliance on, this information.

Symantec, Symantec products, Symantec Security Response, and are registered trademarks of Symantec Corp. and/or affiliated companies in the United States and other countries. All other registered and unregistered trademarks represented in this document are the sole property of their respective companies/owners.