CVE-2016-9587
Reported by redhat · Published April 24, 2018
ansible is fixed in 2.2.1.0 and 2.1.4.0 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ansible | PyPI | 2.2.1.0, 2.1.4.0 |
| ansible | Arch Linux | 2.2.1.0rc5-3 |
| ansible | Alpine | 2.2.1.0-r0, 2.1.4.0-r0 |
| ansible | redhat | 2.1.4 |
| ansible | ansible | 2.2.1 |
| ansible | Ubuntu:16.04:LTS | 2.0.0.2-2ubuntu1.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| unspecified | Ansible | ansible 2.1.4, ansible 2.2.1 |
| arch | ansible | 0 |
| alpine | ansible | 0, 0 |
| PyPI | ansible | 0, 2.2.0.0, 2.2.0.0 |
| unspecified | Ansible | 2.1.4, 2.2.1 |
Timeline
- Jan 11, 2017 PoC Published
- Jan 11, 2017 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Nov 18, 2024 CVE Updated
- Mar 10, 2026 Security Advisory (13 in total, the first dated here)
- Mar 17, 2026 Distribution Patch (8 in total, the first dated here)
- Oct 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-9587
vulnetix vdb fixes CVE-2016-9587
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-9587/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2017:0515 vendor-advisoryx_refsource_REDHAT
- 41013 exploitx_refsource_EXPLOIT-DB
- GLSA-201701-77 vendor-advisoryx_refsource_GENTOO
- RHSA-2017:1685 vendor-advisoryx_refsource_REDHAT
- 95352 vdb-entryx_refsource_BID
- RHSA-2017:0448 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- RHSA-2017:0195 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:0260 vendor-advisoryx_refsource_REDHAT
- https://nvd.nist.gov/vuln/detail/CVE-2016-9587 advisory
- https://github.com/advisories/GHSA-m956-frf4-m2wr advisory
- https://github.com/ansible/ansible url
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-39.yaml advisory
- https://web.archive.org/web/20170115210655/http://www.securityfocus.com/bid/95352 url
- https://www.exploit-db.com/exploits/41013 url