VDB

CVE-2016-9587

CVE-2016-9587 PUBLISHED CVSS 6.6 MEDIUM

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.

PackageEcosystemFixed in
ansiblePyPI2.2.1.0, 2.1.4.0
ansibleArch Linux2.2.1.0rc5-3
ansibleAlpine2.2.1.0-r0, 2.1.4.0-r0
ansibleredhat2.1.4
ansibleansible2.2.1
ansibleUbuntu:16.04:LTS2.0.0.2-2ubuntu1.1

Risk scores

CVSS 3.0
6.6
CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
unspecifiedAnsibleansible 2.1.4, ansible 2.2.1
archansible0
alpineansible0, 0
PyPIansible0, 2.2.0.0, 2.2.0.0
unspecifiedAnsible2.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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›