ansible: Command injection by compromised server via fact variables
Published Jul 31, 2018
9.4
CRITICALCVSS 4.0
EPSS 3.25%
Description
Ansible before version 2.2.0 fails to properly sanitize fact variables sent from the Ansible controller. An attacker with the ability to create special variables on the controller could execute arbitrary commands on Ansible clients as the user Ansible runs as.
Affected products
-
- Version 2.2.0StatusaffectedConstraints-
- Version
No data.
Red Hat OpenShift Container Platform 3.2
ansible-0:2.2.0.0-1.el7
Fixed · RHSA-2016:2778
Red Hat OpenShift Container Platform 3.2
openshift-ansible-0:3.2.42-1.git.0.6b09be9.el7
Fixed · RHSA-2016:2778
Red Hat OpenShift Container Platform 3.3
ansible-0:2.2.0.0-1.el7
Fixed · RHSA-2016:2778
Red Hat OpenShift Container Platform 3.3
openshift-ansible-0:3.3.50-1.git.0.5bdbeaa.el7
Fixed · RHSA-2016:2778
Red Hat OpenStack Platform 10 (Newton)
ansible
Not affected
Red Hat Quickstart Cloud Installer 1
ansible
Affected
Red Hat Storage 3
ansible
Not affected
Red Hat Storage Console 2
ansible
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenShift Container Platform 3.2 | ansible-0:2.2.0.0-1.el7 | Fixed | RHSA-2016:2778 |
| Red Hat OpenShift Container Platform 3.2 | openshift-ansible-0:3.2.42-1.git.0.6b09be9.el7 | Fixed | RHSA-2016:2778 |
| Red Hat OpenShift Container Platform 3.3 | ansible-0:2.2.0.0-1.el7 | Fixed | RHSA-2016:2778 |
| Red Hat OpenShift Container Platform 3.3 | openshift-ansible-0:3.3.50-1.git.0.5bdbeaa.el7 | Fixed | RHSA-2016:2778 |
| Red Hat OpenStack Platform 10 (Newton) | ansible | Not affected | n/a |
| Red Hat Quickstart Cloud Installer 1 | ansible | Affected | n/a |
| Red Hat Storage 3 | ansible | Not affected | n/a |
| Red Hat Storage Console 2 | ansible | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
AV:N/AC:L/Au:S/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 (14 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.25% (0.03253) | 87.91th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.34% (0.03343) | 87.05th | v5 (v2026.06.15) |
| Mar 30, 2025 | 1.24% (0.01237) | 77.38th | v4 (v2025.03.14) |
| Mar 29, 2025 | 4.73% (0.04733) | 81.96th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.24% (0.01237) | 77.85th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.21% (0.00214) | 60.34th | v3 (v2023.03.01) |
| May 15, 2024 | 0.21% (0.00214) | 59.28th | v3 (v2023.03.01) |
| Dec 22, 2023 | 0.26% (0.00255) | 63.35th | v3 (v2023.03.01) |
| Jul 25, 2023 | 0.27% (0.00274) | 63.75th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.23% (0.00232) | 59.49th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00890) | 30.33th | v2 (v2022.01.01) |
| Sep 10, 2022 | 0.89% (0.00890) | 28.64th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00890) | 26.62th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.89% (0.00890) | 12.04th | v2 (v2022.01.01) |
References (12)
- http://www.securityfocus.com/bid/94109 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2016:2778 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2016-8628 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1388113 Issue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8628 x_refsource_CONFIRMIssue TrackingThird Party Advisory
- https://github.com/advisories/GHSA-jg4f-jqm5-4mgq Advisory
- https://github.com/ansible/ansible/commit/35938b907dfcd1106ca40b794f0db446bdb8cf09
- https://github.com/ansible/ansible/issues/41903
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-38.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2016-8628
- https://web.archive.org/web/20200227214455/http://www.securityfocus.com/bid/94109
- https://www.cve.org/CVERecord?id=CVE-2016-8628
| Link | Providers | Tags |
|---|---|---|
| http://www.securityfocus.com/bid/94109 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/errata/RHSA-2016:2778 | vendor-advisoryx_refsource_REDHATThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2016-8628 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1388113 | Issue Tracking | |
| https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8628 | x_refsource_CONFIRMIssue TrackingThird Party Advisory | |
| https://github.com/advisories/GHSA-jg4f-jqm5-4mgq | Advisory | |
| https://github.com/ansible/ansible/commit/35938b907dfcd1106ca40b794f0db446bdb8cf09 | ||
| https://github.com/ansible/ansible/issues/41903 | ||
| https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-38.yaml | ||
| https://nvd.nist.gov/vuln/detail/CVE-2016-8628 | ||
| https://web.archive.org/web/20200227214455/http://www.securityfocus.com/bid/94109 | ||
| https://www.cve.org/CVERecord?id=CVE-2016-8628 |
Change history (0)
No recorded changes yet.