CVE-2016-8628
ansible: Command injection by compromised server via fact variables
Overview
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.
Source: OX vulnerability database
Severity
9.1 · CRITICAL
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- High
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Weakness: CWE-77
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| PyPI | ansible | <2.2.0.0 | 2.2.0.0 |
Open a package to see all its vulnerabilities.
Operating systems · 9 fixes
Red Hat 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | ansible | 0:2.2.0.0-1.el7 | RHSA-2016:2778 |
| 7 | atomic-openshift-utils +6 | 0:3.2.42-1.git.0.6b09be9.el7 | RHSA-2016:2778 |
| 7 | atomic-openshift-utils +7 | 0:3.3.50-1.git.0.5bdbeaa.el7 | RHSA-2016:2778 |
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.5 | golang-github-prometheus-promu | 0.14.0-150000.3.18.2 | SUSE-SU-2024:1509-1 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | ansible | 2.2.0.0-1 |
| 12 | ansible | 2.2.0.0-1 |
| 13 | ansible | 2.2.0.0-1 |
| 14 | ansible | 2.2.0.0-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| ansible | 2.2.0.0-1 |
References
- www.securityfocus.com http://www.securityfocus.com/bid/94109
- access.redhat.com https://access.redhat.com/errata/RHSA-2016:2778
- access.redhat.com https://access.redhat.com/security/cve/CVE-2016-8628
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8628
- github.com https://github.com/advisories/GHSA-jg4f-jqm5-4mgq
- github.com https://github.com/ansible/ansible
- github.com https://github.com/ansible/ansible/commit/35938b907dfcd1106ca40b794f0db446bdb8cf09
- github.com https://github.com/ansible/ansible/issues/41903
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-38.yaml
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2016-8628
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.