CVE-2024-11079
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
0 <= 2.18.0 | affected | ||
| Red Hat | Ansible Automation Platform Execution Environments | 1.2.0-93 < * | unaffected |
| Red Hat | Ansible Automation Platform Execution Environments | 3.0.1-108 < * | unaffected |
| Red Hat | Ansible Automation Platform Execution Environments | 2.9.27-34 < * | unaffected |
| Red Hat | Ansible Automation Platform Execution Environments | 2.12.10-56 < * | unaffected |
| Red Hat | Ansible Automation Platform Execution Environments | 2.15.13-4 < * | unaffected |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 8 | 1:2.16.14-1.el8ap < * | unaffected |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 9 | 1:2.16.14-1.el9ap < * | unaffected |
Weaknesses
- CWE-20: Improper Input Validation
Workarounds
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.
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
CVE Program Container
Additional References
References
- https://access.redhat.com/errata/RHSA-2024:10770
- https://access.redhat.com/errata/RHSA-2024:11145
- https://access.redhat.com/security/cve/CVE-2024-11079
- https://bugzilla.redhat.com/show_bug.cgi?id=2325171
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.