CVE-2016-9587Redhat Ansible
High 8.1 No auth neededHigh EPSS
Follow: this CVE · Redhat · Redhat Ansible We alert you by email or Slack (account required).
- Priority
- 65
- CVSS 3.1
- 8.1
- EPSS
- 17.0% probability of exploitation in 30 days · percentile 98
- Auth required
- No
- Published
- Apr 24, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Ansible before versions 2.1.4, 2.2.1 is vulnerable to an improper input validation in Ansible's handling of data sent from client systems. An attacker with control over a client system being managed by Ansible and the ability to send facts back to the Ansible server could use this flaw to execute arbitrary code on the Ansible server using the Ansible server privileges.
What to do
- Apply the vendor's security update for Ansible.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | ansible |
< 2.1.4.0 |
2.1.4.0 |
pip install "ansible>=2.1.4.0" |
| PyPI | ansible |
≥ 2.2.0.0 < 2.2.1.0 |
2.2.1.0 |
pip install "ansible>=2.2.1.0" |
| PyPI | ansible |
< 2.1.4.0 |
2.1.4.0 |
pip install "ansible>=2.1.4.0" |
| PyPI | ansible |
≥ 2.2.0.0 < 2.2.1.0 |
2.2.1.0 |
pip install "ansible>=2.2.1.0" |
Per OSV / GitHub Advisories (GHSA-m956-frf4-m2wr, PYSEC-2018-39). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redhat | ansible | < 2.1.4 |
| ansible | ansible | < 2.2.1 |
| redhat | openstack | 11 |
Official sources
References
Links published by the sources. Open them with care.
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- security.gentoo.org Third Party Advisory
- www.exploit-db.com Exploit Third Party Advisory VDB Entry