Ansible-core: unsafe tagging bypass via hostvars object in ansible-core
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| unaffected |
|
||||||||
| Red Hat | Ansible Automation Platform Execution Environments | affected |
|
||||||
| Red Hat | Ansible Automation Platform Execution Environments | affected |
|
||||||
| Red Hat | Ansible Automation Platform Execution Environments | affected |
|
||||||
| Red Hat | Ansible Automation Platform Execution Environments | affected |
|
||||||
| Red Hat | Ansible Automation Platform Execution Environments | affected |
|
||||||
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 8 | affected |
|
||||||
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 8 | affected |
|
||||||
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 8 | affected |
|
||||||
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Enterprise Linux 10 | unaffected | — | ||||||
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) | affected | — | ||||||
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) | affected | — |
No data.
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Ansible Automation Platform Execution Environments | |||
| ansible-automation-platform/ansible-builder-rhel8:3.0.1-107 | cpe:/a:redhat:ansible_automation_platform:ee::el8 | RHSA-2024:10770 | 2024-12-03T00:00:00Z |
| ansible-automation-platform/ansible-builder-rhel9:3.0.1-108 | cpe:/a:redhat:ansible_automation_platform:ee::el8 | RHSA-2024:10770 | 2024-12-03T00:00:00Z |
| ansible-automation-platform/ee-29-rhel8:2.9.27-34 | cpe:/a:redhat:ansible_automation_platform:ee::el8 | RHSA-2024:10770 | 2024-12-03T00:00:00Z |
| ansible-automation-platform/ee-minimal-rhel8:2.16.14-1 | cpe:/a:redhat:ansible_automation_platform:ee::el8 | RHSA-2024:10770 | 2024-12-03T00:00:00Z |
| ansible-automation-platform/ee-minimal-rhel9:2.18.1-2 | cpe:/a:redhat:ansible_automation_platform:ee::el8 | RHSA-2024:10770 | 2024-12-03T00:00:00Z |
| Red Hat Ansible Automation Platform 2.5 for RHEL 8 | |||
| ansible-core-1:2.16.14-1.el8ap | cpe:/a:redhat:ansible_automation_platform:2.5::el8 | RHSA-2024:11145 | 2024-12-16T00:00:00Z |
| Red Hat Ansible Automation Platform 2.5 for RHEL 9 | |||
| ansible-core-1:2.16.14-1.el9ap | cpe:/a:redhat:ansible_automation_platform:2.5::el9 | RHSA-2024:11145 | 2024-12-16T00:00:00Z |
No data available yet.
Vendor Workaround
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 | ID | Title |
|---|---|---|
Debian DLA |
DLA-4502-1 | ansible security update |
EUVD |
EUVD-2024-3228 | 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. |
Github GHSA |
GHSA-99w6-3xph-cx78 | Ansible-Core vulnerable to content protections bypass |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.529% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:enterprise_linux:10 |
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | ||
| Vendors & Products |
Redhat rhivos
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat rhivos
|
|
| CPEs | cpe:/o:redhat:rhivos:1 | |
| Vendors & Products |
Redhat rhivos
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat ansible Core
|
|
| CPEs | cpe:/a:redhat:ansible_core:2::el8 cpe:/a:redhat:ansible_core:2::el9 |
|
| Vendors & Products |
Redhat ansible Core
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat enterprise Linux
|
|
| CPEs | cpe:/o:redhat:enterprise_linux:10 | |
| Vendors & Products |
Redhat enterprise Linux
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat ansible Automation Platform Developer
Redhat ansible Automation Platform Inside |
|
| CPEs | cpe:/a:redhat:ansible_automation_platform_developer:2.5::el8 cpe:/a:redhat:ansible_automation_platform_developer:2.5::el9 cpe:/a:redhat:ansible_automation_platform_inside:2.5::el8 cpe:/a:redhat:ansible_automation_platform_inside:2.5::el9 |
|
| Vendors & Products |
Redhat ansible Automation Platform Developer
Redhat ansible Automation Platform Inside |
|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:ansible_automation_platform:2.5::el8 cpe:/a:redhat:ansible_automation_platform:2.5::el9 |
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:ansible_automation_platform:ee::el8 cpe:/a:redhat:ansible_automation_platform:ee::el9 |
|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Ansible-core: unsafe tagging bypass via hostvars object in ansible-core | |
| First Time appeared |
Redhat
Redhat ansible Automation Platform Redhat enterprise Linux Ai |
|
| Weaknesses | CWE-20 | |
| CPEs | cpe:/a:redhat:ansible_automation_platform:2 cpe:/a:redhat:enterprise_linux_ai:1 |
|
| Vendors & Products |
Redhat
Redhat ansible Automation Platform Redhat enterprise Linux Ai |
|
| References |
| |
| Metrics |
cvssV3_1
|