CVE-2016-8628: Command Injection

Published Oct 24, 2016
·
Updated

Ansible before version 2.2.0 fails to properly sanitize fact variables sent from the Ansible controller. An attacker with the ability to create special variables on the controller could execute arbitrary commands on Ansible clients as the user Ansible runs as.

Other sources

It was found that it's possible to inject code and gain remote code execution via setting ansiblesshexecutable variable by attacker that takes over of controlled server.

Red Hat

Affected Software

3 affected componentsFixes available
redhat/Ansible<2.2.0
2.2.0
pip/ansible>=0<2.2.0.0
2.2.0.0
redhat ansible<2.2.0

Event History

Jul 31, 2018
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:29 PM
DescriptionSeverityWeaknessAffected Software
Oct 10, 2018
Advisory Published
05:23 PM

Frequently Asked Questions

1

What is the severity of CVE-2016-8628?

CVE-2016-8628 is considered a critical vulnerability due to its ability to allow arbitrary command execution on Ansible clients.

2

How do I fix CVE-2016-8628?

To fix CVE-2016-8628, upgrade Ansible to version 2.2.0 or later.

3

What versions of Ansible are affected by CVE-2016-8628?

CVE-2016-8628 affects all versions of Ansible prior to 2.2.0.

4

Can CVE-2016-8628 be exploited remotely?

Yes, CVE-2016-8628 can be exploited remotely by attackers with access to the Ansible controller.

5

What are the implications of CVE-2016-8628 for system security?

The implications of CVE-2016-8628 include potential unauthorized access and control over Ansible-managed systems.

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