CVE-2016-9587
A public proof of concept exists; no exploitation attested.
- Published2018-04-24
- Fixed in2.2.1.0 · 2.1.4.0
- WeaknessCWE-20
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2017-01-09Exploit-DB entryExploit-DB
Versions per branch
OSV · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.2 | ≥ 2.2.0.0, < 2.2.1.0 | 2.2.1.0 | OSV |
| 2.1 | < 2.1.4.0 | 2.1.4.0 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.2 | < 2.2.1 | 2.2.1 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.1 | < 2.1.4 | 2.1.4 | NVD |
1 more product in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- ansibleUbuntu:16.04:LTSall versions · fixed in 2.0.0.2-2ubuntu1.1
- ansibleSUSE:Package Hub 12all versions · fixed in 2.4.1.0-6.1
- ansibleSUSE:OpenStack Cloud Crowbar 8all versions · fixed in 2.9.14-3.15.1
- ansibleSUSE:OpenStack Cloud 8all versions · fixed in 2.9.14-3.15.1
- ansibleSUSE:OpenStack Cloud 7all versions · fixed in 2.2.3.0-5.1
- ansibleSUSE:Manager Proxy Module 4.3all versions · fixed in 2.9.27-150000.1.17.2
- ansibleSUSE:Manager Client Tools 15-BETAall versions · fixed in 2.9.27-159000.3.12.2
- ansibleSUSE:Manager Client Tools 15all versions · fixed in 2.9.27-150000.1.17.2
174 more package ranges on OSV.dev
Vendor advisories
Ansible: Compromised remote hosts can lead to running commands on the Ansible controller
ansible.src as a component of Red Hat OpenStack Platform 11 (Ocata) · ansible.src as a component of Red Hat Quickstart Cloud Installer 1
Red Hat Security Advisory: ansible security, bug fix, and enhancement update
Red Hat Security Advisory: ansible and ceph-ansible security, bug fix, and enhancement update
Red Hat Security Advisory: ansible and openshift-ansible security and bug fix update
Red Hat Security Advisory: ansible and gdeploy security and bug fix update
Red Hat Security Advisory: ansible security update
Fix
- Update ansible to 2.2.1.0 · 2.1.4.0
- Vendor fix Red Hat Product Security RHSA-2017:1685 · 3 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/2974891
- Vendor fix Red Hat Product Security RHSA-2017:0515 · 8 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2017:0448 · 32 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. To apply this update, run the following on all hosts where you intend to initiate Ansible-based installation or upgrade procedures: # yum update atomic-openshift-utils This update is…
- No fix available, says the vendor Red Hat Product Security CVE-2016-9587 · 1 productAffected
- No fix planned, says the vendor Red Hat Product Security CVE-2016-9587 · 1 productWill not fix
Detection
read 2026-12-04 04:56 UTC- Nuclei template
- none so far ProjectDiscovery
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-03
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.18.1read 2026-10-23
- CNACVSS 3.06.6known since 2026-10-23
- NVDCVSS 2.09.3read 2026-10-23
- CNAweakness (CWE)CWE-20known since 2026-10-23
- NVDweakness (CWE)CWE-20read 2026-10-23
- FIRST EPSSEPSS score17.0 %read 2026-12-04
- Exploit-DBdetectionread 2026-12-04
- OSVaffected packages—
- GitHub AdvisoriesadvisoryCritical2020-06-16
Identifiers
- EUVD-2018-0012same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-m956-frf4-m2wrsame flawGitHub Advisory Database · CC-BY-4.0
- PYSEC-2018-39same flawPyPA Advisory Database · CC-BY-4.0
- openSUSE-SU-2017:2976-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2017:2978-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:14244-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:14536-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2025:15605-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2025:15753-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:10944-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:12447-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2017:0195advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2017:0260advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2017:0448advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2017:0515advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2017:1685advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2017:3029-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2020:3309-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:1427-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:1509-1advisory covering several CVEsSUSE · LicenseRef-unstated
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2018-04-24
- Last modified
- 2026-06-17
- NVD status
- Modified
- GitHub advisory
- GHSA-m956-frf4-m2wr
Frequently asked questions
What is CVE-2016-9587?
Is CVE-2016-9587 actively exploited?
What is the CVSS score for CVE-2016-9587?
Running ansible? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-m956-frf4-m2wr
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0