CVE-2016-8628
CRITICAL9.1EPSS 0.46%Ansible fails to properly sanitize fact variables sent from the Ansible controller
Published: 10/10/2018Modified: 4/28/2026
Also known as:DEBIAN-CVE-2016-8628
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 packages (3)
- Debian/ansiblefrom 0, < 2.2.0.0-1
- PyPI/ansiblefrom 0, < 2.2.0.0
- PyPI/ansiblefrom 0, < 2.2.0.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
References (11)
- ADVISORYhttps://github.com/advisories/GHSA-jg4f-jqm5-4mgq
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2016-8628
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2016-8628
- PATCHhttps://github.com/ansible/ansible
- WEBhttps://access.redhat.com/errata/RHSA-2016:2778
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8628
- WEBhttps://github.com/ansible/ansible/commit/35938b907dfcd1106ca40b794f0db446bdb8cf09
- WEBhttps://github.com/ansible/ansible/issues/41903
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-38.yaml
- WEBhttps://web.archive.org/web/20200227214455/http://www.securityfocus.com/bid/94109
- WEBhttp://www.securityfocus.com/bid/94109