cve.bz

CVE-2016-9587 Improper Input Validation

8.1 highExploitEPSS 17%Fix available

High (8.1). EPSS 17% estimated probability of exploitation activity in the next 30 days. Fixed in ansible 2.1.4.0, 2.2.1.0.

On this page
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.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
17% (unchanged from 17% a week ago; 17% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-9587 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-9587?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-9587?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-9587 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:ansiblebefore 2.1.4
ansible:ansiblebefore 2.2.1
redhat:openstack11

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-m956-frf4-m2wrPyPIansible<2.1.4.02.1.4.0
GHSA-m956-frf4-m2wrPyPIansible>=2.2.0.0 <2.2.1.02.2.1.0
PYSEC-2018-39PyPIansible<2.1.4.0
>=2.2.0.0 <2.2.1.0
2.1.4.0, 2.2.1.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14ansible2.2.0.0-3DEBIAN-CVE-2016-9587
Ubuntu16.04:LTSansible2.0.0.2-2ubuntu1.1UBUNTU-CVE-2016-9587
Red Hatopenshift:3.2::el7openshift-ansible, atomic-openshift-utils, openshift-ansible-docs and 4 more0:3.2.53-1.git.0.2fefc17.el7RHSA-2017:0448
Red Hatopenshift:3.2::el7, openshift:3.3::el7, openshift:3.4::el7ansible0:2.2.1.0-2.el7RHSA-2017:0448
Red Hatopenshift:3.3::el7openshift-ansible, atomic-openshift-utils, openshift-ansible-docs and 5 more0:3.3.67-1.git.0.7c5da0c.el7RHSA-2017:0448
Red Hatopenshift:3.4::el7openshift-ansible, atomic-openshift-utils, openshift-ansible-docs and 5 more0:3.4.67-1.git.0.14a0b4d.el7RHSA-2017:0448
Red Hatopenstack:10::el7ansible0:2.2.1.0-1.el7RHSA-2017:0195
Red Hatrhev_manager:4ansible, ansible-doc0:2.3.0.0-4.el7RHSA-2017:1685
Red Hatrhscon:2::el7ansible0:2.2.1.0-1.el7RHSA-2017:0515
Red Hatrhscon:2::el7ceph-ansible0:2.1.9-1.el7sconRHSA-2017:0515
Red Hatrhscon:2::el7ceph-installer0:1.2.2-1.el7sconRHSA-2017:0515
Red Hatrhscon:2::el7python-passlib0:1.6.5-1.1.el7RHSA-2017:0515
Red Hatstorage:3.1:server:el7ansible0:2.2.1.0-2.el7RHSA-2017:0260
Red Hatstorage:3.1:server:el7gdeploy0:2.0.1-8.el7rhgsRHSA-2017:0260
1 more for Red Hat in the JSON and on Red Hat's page.
SUSEHPE Helion OpenStack 8documentation-hpe-helion-openstack-user, documentation-hpe-helion-openstack-planning, documentation-hpe-helion-openstack-security and 3 more8.20201007-1.29.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8release-notes-hpe-helion-openstack8.20200922-3.23.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8venv-openstack-horizon-hpe12.0.5~dev3-14.32.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-ansible8.0+git.1596735237.54109b1-3.77.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-cinder8.0+git.1596129856.263f430-3.43.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-glance8.0+git.1593631779.76fa9b7-3.24.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-mq8.0+git.1593618123.678c32b-3.26.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-nova8.0+git.1601298847.dd01585-3.42.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-osconfig8.0+git.1595885113.93abcbc-3.49.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8python-Flask-Cors3.0.3-3.3.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8python-ardana-packager0.0.3-7.7.2SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8venv-openstack-aodh5.1.1~dev7-12.28.1SUSE-SU-2020:3309-1
68 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.5POS_Image-JeOS7, POS_Image-Graphical70.1.1710765237.46af599-150000.1.21.2SUSE-SU-2024:1509-1
openSUSELeap 15.5ansible2.9.27-150000.1.17.2SUSE-SU-2024:1509-1
openSUSELeap 15.5dracut-saltboot0.1.1710765237.46af599-150000.1.53.2SUSE-SU-2024:1509-1
openSUSELeap 15.5golang-github-prometheus-promu0.14.0-150000.3.18.2SUSE-SU-2024:1509-1
openSUSELeap 15.5spacecmd4.3.27-150000.3.116.2SUSE-SU-2024:1509-1
openSUSETumbleweedansible-1010.6.0-1.1openSUSE-SU-2024:14536-1
openSUSETumbleweedansible-1111.11.0-1.1openSUSE-SU-2025:15605-1
openSUSETumbleweedansible-1212.2.0-1.1openSUSE-SU-2025:15753-1
openSUSETumbleweedansible-1313.7.0-1.1openSUSE-SU-2026:10944-1
openSUSETumbleweedansible-1414.6.0-1.1openSUSE-SU-2026:12447-1
openSUSETumbleweedansible-99.8.0-1.1openSUSE-SU-2024:14244-1
Alpinev3.4ansible2.1.4.0-r0ALPINE-CVE-2016-9587
Alpinev3.5ansible2.2.1.0-r0ALPINE-CVE-2016-9587

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Gluster Storage 3.1 for RHEL 7ansible-0:2.2.1.0-2.el7Fixed 2017-02-07RHSA-2017:0260
Red Hat Gluster Storage 3.1 for RHEL 7gdeploy-0:2.0.1-8.el7rhgsFixed 2017-02-07RHSA-2017:0260
Red Hat Gluster Storage 3.1 for RHEL 7python-passlib-0:1.6.5-1.el7Fixed 2017-02-07RHSA-2017:0260
Red Hat OpenShift Container Platform 3.2ansible-0:2.2.1.0-2.el7Fixed 2017-03-06RHSA-2017:0448
Red Hat OpenShift Container Platform 3.2openshift-ansible-0:3.2.53-1.git.0.2fefc17.el7Fixed 2017-03-06RHSA-2017:0448
Red Hat OpenShift Container Platform 3.3ansible-0:2.2.1.0-2.el7Fixed 2017-03-06RHSA-2017:0448
Red Hat OpenShift Container Platform 3.3openshift-ansible-0:3.3.67-1.git.0.7c5da0c.el7Fixed 2017-03-06RHSA-2017:0448
Red Hat OpenShift Container Platform 3.4ansible-0:2.2.1.0-2.el7Fixed 2017-03-06RHSA-2017:0448
Red Hat OpenShift Container Platform 3.4openshift-ansible-0:3.4.67-1.git.0.14a0b4d.el7Fixed 2017-03-06RHSA-2017:0448
Red Hat OpenStack Platform 10.0 (Newton)ansible-0:2.2.1.0-1.el7Fixed 2017-01-25RHSA-2017:0195
Red Hat Storage Console 2 for Red Hat Enteprise Linux 7ansible-0:2.2.1.0-1.el7Fixed 2017-03-14RHSA-2017:0515
Red Hat Storage Console 2 for Red Hat Enteprise Linux 7ceph-ansible-0:2.1.9-1.el7sconFixed 2017-03-14RHSA-2017:0515
Red Hat Storage Console 2 for Red Hat Enteprise Linux 7ceph-installer-0:1.2.2-1.el7sconFixed 2017-03-14RHSA-2017:0515
Red Hat Storage Console 2 for Red Hat Enteprise Linux 7python-passlib-0:1.6.5-1.1.el7Fixed 2017-03-14RHSA-2017:0515
Red Hat Virtualization Engine 4.1ansible-0:2.3.0.0-4.el7Fixed 2017-07-06RHSA-2017:1685
Red Hat OpenStack Platform 11 (Ocata)ansibleAffected
Red Hat Quickstart Cloud Installer 1ansibleWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-9587.

Public exploits

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON