CVE-2024-11079
Medium 5.5No known exploitationFix status unknownAnsible-core: unsafe tagging bypass via hostvars object in ansible-core
Record last updated
CVSS score
5.5
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
None
No EPSS score available
CISA remediation deadline
None
Not in the KEV catalog
Description
A flaw was found in Ansible-Core. This vulnerability allows attackers to bypass unsafe content protections using the hostvars object to reference and execute templated content. This issue can lead to arbitrary code execution if remote data or module outputs are improperly templated within playbooks.
Weakness: CWE-20
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- To mitigate this vulnerability, avoid using the hostvars object to reference content marked as !unsafe. Ensure that all remote data from modules or lookups is properly sanitized and validated before use in playbooks. Additionally, restrict access to inventory files and Ansible playbooks to trusted users to minimize exploitation risks. Source (opens in a new tab)
- Vendor guidance
- access.redhat.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) | Not documented | Not documented | CVE Program |
| Red Hat | Ansible Automation Platform Execution Environments (unaffected) | 1.2.0-93 | Not documented | CVE Program |
| Red Hat | Ansible Automation Platform Execution Environments (unaffected) | 2.12.10-56 | Not documented | CVE Program |
| Red Hat | Ansible Automation Platform Execution Environments (unaffected) | 2.15.13-4 | Not documented | CVE Program |
| Red Hat | Ansible Automation Platform Execution Environments (unaffected) | 2.9.27-34 | Not documented | CVE Program |
| Red Hat | Ansible Automation Platform Execution Environments (unaffected) | 3.0.1-108 | Not documented | CVE Program |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 8 (unaffected) | 1:2.16.14-1.el8ap | Not documented | CVE Program |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 8 (unaffected) | 1:2.16.14-1.el8ap | Not documented | CVE Program |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 8 (unaffected) | 1:2.16.14-1.el8ap | Not documented | CVE Program |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 9 (unaffected) | 1:2.16.14-1.el9ap | Not documented | CVE Program |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 9 (unaffected) | 1:2.16.14-1.el9ap | Not documented | CVE Program |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 9 (unaffected) | 1:2.16.14-1.el9ap | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 10 (status unknown) | Not documented | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by redhat
Source: CVE Program (opens in a new tab)
Vendor guidance and references
- RHSA-2024:10770 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2024:11145 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/security/cve/CVE-2024-11079 (opens in a new tab)vdb-entry, x_refsource_redhat
- RHBZ#2325171 (opens in a new tab)issue-tracking, x_refsource_redhat
- https://lists.debian.org/debian-lts-announce/2026/03/msg00006.html (opens in a new tab)