Ansible: Compromised remote hosts can lead to running commands on the Ansible controller
Published Apr 24, 2018
9.2
CRITICALCVSS 4.0
EPSS 17.45%
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.
Affected products
- Vendor n/a Product Ansible Defaultn/a
- Version ansible 2.1.4StatusaffectedConstraints-
- Version ansible 2.2.1StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| n/a | Ansible | n/a |
|
No data.
Red Hat Gluster Storage 3.1 for RHEL 7
ansible-0:2.2.1.0-2.el7
Fixed · RHSA-2017:0260
Red Hat Gluster Storage 3.1 for RHEL 7
gdeploy-0:2.0.1-8.el7rhgs
Fixed · RHSA-2017:0260
Red Hat Gluster Storage 3.1 for RHEL 7
python-passlib-0:1.6.5-1.el7
Fixed · RHSA-2017:0260
Red Hat OpenShift Container Platform 3.2
ansible-0:2.2.1.0-2.el7
Fixed · RHSA-2017:0448
Red Hat OpenShift Container Platform 3.2
openshift-ansible-0:3.2.53-1.git.0.2fefc17.el7
Fixed · RHSA-2017:0448
Red Hat OpenShift Container Platform 3.3
ansible-0:2.2.1.0-2.el7
Fixed · RHSA-2017:0448
Red Hat OpenShift Container Platform 3.3
openshift-ansible-0:3.3.67-1.git.0.7c5da0c.el7
Fixed · RHSA-2017:0448
Red Hat OpenShift Container Platform 3.4
ansible-0:2.2.1.0-2.el7
Fixed · RHSA-2017:0448
Red Hat OpenShift Container Platform 3.4
openshift-ansible-0:3.4.67-1.git.0.14a0b4d.el7
Fixed · RHSA-2017:0448
Red Hat OpenStack Platform 10.0 (Newton)
ansible-0:2.2.1.0-1.el7
Fixed · RHSA-2017:0195
Red Hat Storage Console 2 for Red Hat Enteprise Linux 7
ansible-0:2.2.1.0-1.el7
Fixed · RHSA-2017:0515
Red Hat Storage Console 2 for Red Hat Enteprise Linux 7
ceph-ansible-0:2.1.9-1.el7scon
Fixed · RHSA-2017:0515
Red Hat Storage Console 2 for Red Hat Enteprise Linux 7
ceph-installer-0:1.2.2-1.el7scon
Fixed · RHSA-2017:0515
Red Hat Storage Console 2 for Red Hat Enteprise Linux 7
python-passlib-0:1.6.5-1.1.el7
Fixed · RHSA-2017:0515
Red Hat Virtualization Engine 4.1
ansible-0:2.3.0.0-4.el7
Fixed · RHSA-2017:1685
Red Hat OpenStack Platform 11 (Ocata)
ansible
Affected
Red Hat Quickstart Cloud Installer 1
ansible
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Gluster Storage 3.1 for RHEL 7 | ansible-0:2.2.1.0-2.el7 | Fixed | RHSA-2017:0260 |
| Red Hat Gluster Storage 3.1 for RHEL 7 | gdeploy-0:2.0.1-8.el7rhgs | Fixed | RHSA-2017:0260 |
| Red Hat Gluster Storage 3.1 for RHEL 7 | python-passlib-0:1.6.5-1.el7 | Fixed | RHSA-2017:0260 |
| Red Hat OpenShift Container Platform 3.2 | ansible-0:2.2.1.0-2.el7 | Fixed | RHSA-2017:0448 |
| Red Hat OpenShift Container Platform 3.2 | openshift-ansible-0:3.2.53-1.git.0.2fefc17.el7 | Fixed | RHSA-2017:0448 |
| Red Hat OpenShift Container Platform 3.3 | ansible-0:2.2.1.0-2.el7 | Fixed | RHSA-2017:0448 |
| Red Hat OpenShift Container Platform 3.3 | openshift-ansible-0:3.3.67-1.git.0.7c5da0c.el7 | Fixed | RHSA-2017:0448 |
| Red Hat OpenShift Container Platform 3.4 | ansible-0:2.2.1.0-2.el7 | Fixed | RHSA-2017:0448 |
| Red Hat OpenShift Container Platform 3.4 | openshift-ansible-0:3.4.67-1.git.0.14a0b4d.el7 | Fixed | RHSA-2017:0448 |
| Red Hat OpenStack Platform 10.0 (Newton) | ansible-0:2.2.1.0-1.el7 | Fixed | RHSA-2017:0195 |
| Red Hat Storage Console 2 for Red Hat Enteprise Linux 7 | ansible-0:2.2.1.0-1.el7 | Fixed | RHSA-2017:0515 |
| Red Hat Storage Console 2 for Red Hat Enteprise Linux 7 | ceph-ansible-0:2.1.9-1.el7scon | Fixed | RHSA-2017:0515 |
| Red Hat Storage Console 2 for Red Hat Enteprise Linux 7 | ceph-installer-0:1.2.2-1.el7scon | Fixed | RHSA-2017:0515 |
| Red Hat Storage Console 2 for Red Hat Enteprise Linux 7 | python-passlib-0:1.6.5-1.1.el7 | Fixed | RHSA-2017:0515 |
| Red Hat Virtualization Engine 4.1 | ansible-0:2.3.0.0-4.el7 | Fixed | RHSA-2017:1685 |
| Red Hat OpenStack Platform 11 (Ocata) | ansible | Affected | n/a |
| Red Hat Quickstart Cloud Installer 1 | ansible | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:M/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (24 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 17.45% (0.17450) | 97.04th | v5 (v2026.06.15) |
| Jun 15, 2026 | 17.87% (0.17865) | 96.79th | v5 (v2026.06.15) |
| Apr 21, 2026 | 3.04% (0.03045) | 86.70th | v4 (v2025.03.14) |
| Feb 20, 2026 | 4.08% (0.04078) | 88.31th | v4 (v2025.03.14) |
| Oct 10, 2025 | 2.97% (0.02974) | 85.94th | v4 (v2025.03.14) |
| Jun 4, 2025 | 4.17% (0.04171) | 88.13th | v4 (v2025.03.14) |
| Mar 30, 2025 | 10.42% (0.10423) | 92.50th | v4 (v2025.03.14) |
| Mar 29, 2025 | 25.13% (0.25126) | 93.84th | v4 (v2025.03.14) |
| Mar 17, 2025 | 10.78% (0.10779) | 92.80th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.71% (0.01711) | 88.29th | v3 (v2023.03.01) |
| May 9, 2024 | 1.44% (0.01445) | 86.57th | v3 (v2023.03.01) |
| Apr 3, 2024 | 1.56% (0.01561) | 86.94th | v3 (v2023.03.01) |
| Mar 3, 2024 | 1.21% (0.01213) | 84.88th | v3 (v2023.03.01) |
| Sep 15, 2023 | 1.29% (0.01292) | 84.22th | v3 (v2023.03.01) |
| Jun 11, 2023 | 1.26% (0.01262) | 83.68th | v3 (v2023.03.01) |
| May 23, 2023 | 1.23% (0.01233) | 83.41th | v3 (v2023.03.01) |
| May 6, 2023 | 1.26% (0.01259) | 83.56th | v3 (v2023.03.01) |
| Apr 3, 2023 | 1.28% (0.01278) | 83.61th | v3 (v2023.03.01) |
| Mar 16, 2023 | 1.39% (0.01390) | 84.30th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.42% (0.01418) | 84.42th | v3 (v2023.03.01) |
| Mar 6, 2023 | 36.15% (0.36148) | 97.86th | v2 (v2022.01.01) |
| Jul 1, 2022 | 36.15% (0.36148) | 97.76th | v2 (v2022.01.01) |
| Apr 10, 2022 | 39.55% (0.39554) | 97.93th | v2 (v2022.01.01) |
| Feb 4, 2022 | 43.01% (0.43010) | 97.64th | v2 (v2022.01.01) |
References (16)
- http://rhn.redhat.com/errata/RHSA-2017-0195.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2017-0260.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://www.securityfocus.com/bid/95352 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2017:0448 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2017:0515 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2017:1685 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2016-9587 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1404378 Issue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-9587 x_refsource_CONFIRMIssue TrackingThird Party Advisory
- https://github.com/advisories/GHSA-m956-frf4-m2wr Advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-39.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2016-9587
- https://security.gentoo.org/glsa/201701-77 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://web.archive.org/web/20170115210655/http://www.securityfocus.com/bid/95352
- https://www.cve.org/CVERecord?id=CVE-2016-9587
- https://www.exploit-db.com/exploits/41013 exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry
Change history (0)
No recorded changes yet.