Skip to main content
Public proof of conceptFix available

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?

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
  1. 2017-01-09Exploit-DB entryExploit-DB

Versions per branch

OSV · NVD
ansible
BranchAffectedFixed in
2.2≥ 2.2.0.0, < 2.2.1.02.2.1.0
2.1< 2.1.4.02.1.4.0
Ansible
BranchAffectedFixed in
2.2< 2.2.12.2.1
Redhat ansible
BranchAffectedFixed in
2.1< 2.1.42.1.4

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

  • CVE-2016-9587 Red Hat Product Security51 products fixed · 2 known affected

    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

  • RHSA-2017:1685 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: ansible security, bug fix, and enhancement update

  • RHSA-2017:0515 Red Hat Product Security8 products fixed

    Red Hat Security Advisory: ansible and ceph-ansible security, bug fix, and enhancement update

  • RHSA-2017:0448 Red Hat Product Security32 products fixed

    Red Hat Security Advisory: ansible and openshift-ansible security and bug fix update

  • RHSA-2017:0260 Red Hat Product Security6 products fixed

    Red Hat Security Advisory: ansible and gdeploy security and bug fix update

  • RHSA-2017:0195 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: ansible security update

Full record on NVD

Fix

  1. Update ansible to 2.2.1.0 · 2.1.4.0
  2. 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
  3. 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
  4. 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…
  5. No fix available, says the vendor Red Hat Product Security CVE-2016-9587 · 1 productAffected
  6. 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
Exploit-DB
EDB-41013
Exploit-DB
Proof of concept
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

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?

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.

Is CVE-2016-9587 actively exploited?

Active exploitation of CVE-2016-9587 has not been confirmed. Its EPSS score was 17.0% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2016-9587?

CVE-2016-9587 has a CVSS v3 base score of 8.1 (High severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

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

Sources for this record