CVE-2016-9587
HIGH 8.1CVSS 3.1Ansible is vulnerable to an improper input validation in Ansible's handling of data sent from client systems
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.
- Published
- 24 Apr 2018
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-m956-frf4-m2wrPYSEC-2018-39
- Sources
- NVDJSONOSV GHSA-m956-frf4-m2wrJSONOSV PYSEC-2018-39JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.0 | MEDIUM 6.6 | CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | ansiblecpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* |
< 2.1.4 | 2.1.4 |
| NVD | ansible | ansiblecpe:2.3:a:ansible:ansible:*:*:*:*:*:*:*:* |
< 2.2.1 | 2.2.1 |
| NVD | redhat | openstackcpe:2.3:a:redhat:openstack:11:*:*:*:*:*:*:* |
= 11 | |
| OSV | PyPI | ansible | < 2.1.4.0 | 2.1.4.0 |
| OSV | PyPI | ansible | >= 2.2.0.0, < 2.2.1.0 | 2.2.1.0 |
| OSV | PyPI | ansible | < 2.1.4.0; >= 2.2.0.0, < 2.2.1.0 | 2.1.4.0, 2.2.1.0 |
References
- http://rhn.redhat.com/errata/RHSA-2017-0195.html · Third Party Advisory, WEB, ADVISORY
- http://rhn.redhat.com/errata/RHSA-2017-0260.html · Third Party Advisory, WEB, ADVISORY
- http://www.securityfocus.com/bid/95352 · Third Party Advisory, VDB Entry, WEB
- https://access.redhat.com/errata/RHSA-2017:0448 · Third Party Advisory, WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2017:0515 · Third Party Advisory, WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2017:1685 · Third Party Advisory, WEB, ADVISORY
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-9587 · Issue Tracking, Third Party Advisory, WEB, REPORT
- https://security.gentoo.org/glsa/201701-77 · Third Party Advisory, WEB, ADVISORY
- https://www.exploit-db.com/exploits/41013/ · Exploit, Third Party Advisory, VDB Entry, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2016-9587 · ADVISORY
- https://github.com/advisories/GHSA-m956-frf4-m2wr · ADVISORY
- https://github.com/ansible/ansible · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-39.yaml · WEB
- https://web.archive.org/web/20170115210655/http://www.securityfocus.com/bid/95352 · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 24 Apr 2018)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 24 Apr 2018)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Oct 2018)