cve.bz

CVE-2016-8628 redhat ansible

9.1 criticalEPSS 3.2%Fix available

Critical (9.1) in redhat ansible. EPSS 3.2% estimated probability of exploitation activity in the next 30 days. Fixed in ansible 2.2.0.0.

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

Severity

CVSS 3.0

9.1 critical
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
EPSS
3.2% (unchanged from 3.2% a week ago; 3.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-77 Improper Neutralization of Special Elements used in a Command
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-8628 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-8628?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-8628?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-8628 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.2.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jg4f-jqm5-4mgqPyPIansible<2.2.0.02.2.0.0
PYSEC-2018-38PyPIansible<2.2.0.02.2.0.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14ansible2.2.0.0-1DEBIAN-CVE-2016-8628
Ubuntu16.04:LTSansible2.0.0.2-2ubuntu1.1UBUNTU-CVE-2016-8628
Red Hatopenshift:3.2::el7openshift-ansible, atomic-openshift-utils, openshift-ansible-docs and 4 more0:3.2.42-1.git.0.6b09be9.el7RHSA-2016:2778
Red Hatopenshift:3.2::el7, openshift:3.3::el7ansible0:2.2.0.0-1.el7RHSA-2016:2778
Red Hatopenshift:3.3::el7openshift-ansible, atomic-openshift-utils, openshift-ansible-docs and 5 more0:3.3.50-1.git.0.5bdbeaa.el7RHSA-2016:2778
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
57 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

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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 3.2ansible-0:2.2.0.0-1.el7Fixed 2016-11-15RHSA-2016:2778
Red Hat OpenShift Container Platform 3.2openshift-ansible-0:3.2.42-1.git.0.6b09be9.el7Fixed 2016-11-15RHSA-2016:2778
Red Hat OpenShift Container Platform 3.3ansible-0:2.2.0.0-1.el7Fixed 2016-11-15RHSA-2016:2778
Red Hat OpenShift Container Platform 3.3openshift-ansible-0:3.3.50-1.git.0.5bdbeaa.el7Fixed 2016-11-15RHSA-2016:2778
Red Hat OpenStack Platform 10 (Newton)ansibleNot affected
Red Hat Quickstart Cloud Installer 1ansibleAffected
Red Hat Storage 3ansibleNot affected
Red Hat Storage Console 2ansibleNot affected

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-8628.

Attack patterns (CAPEC)

  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-40 Manipulating Writeable Terminal Devices Likelihood: High · Severity: Very High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-75 Manipulating Writeable Configuration Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-136 LDAP Injection Likelihood: High · Severity: High
  • CAPEC-183 IMAP/SMTP Command Injection Severity: Medium
  • CAPEC-248 Command Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON