Описание
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.
Меры по смягчению последствий
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.
Затронутые пакеты
Платформа | Пакет | Состояние | Рекомендация | Релиз |
---|---|---|---|---|
Red Hat Enterprise Linux 10 | ansible-core | Not affected | ||
Red Hat Enterprise Linux AI (RHEL AI) | rhelai1/bootc-azure-nvidia-rhel9 | Fix deferred | ||
Red Hat Enterprise Linux AI (RHEL AI) | rhelai1/bootc-nvidia-rhel9 | Will not fix | ||
Ansible Automation Platform Execution Environments | ansible-automation-platform/ansible-builder-rhel8 | Fixed | RHSA-2024:10770 | 03.12.2024 |
Ansible Automation Platform Execution Environments | ansible-automation-platform/ansible-builder-rhel9 | Fixed | RHSA-2024:10770 | 03.12.2024 |
Ansible Automation Platform Execution Environments | ansible-automation-platform/ee-29-rhel8 | Fixed | RHSA-2024:10770 | 03.12.2024 |
Ansible Automation Platform Execution Environments | ansible-automation-platform/ee-minimal-rhel8 | Fixed | RHSA-2024:10770 | 03.12.2024 |
Ansible Automation Platform Execution Environments | ansible-automation-platform/ee-minimal-rhel9 | Fixed | RHSA-2024:10770 | 03.12.2024 |
Red Hat Ansible Automation Platform 2.5 for RHEL 8 | ansible-core | Fixed | RHSA-2024:11145 | 16.12.2024 |
Red Hat Ansible Automation Platform 2.5 for RHEL 9 | ansible-core | Fixed | RHSA-2024:11145 | 16.12.2024 |
Показывать по
Дополнительная информация
Статус:
5.5 Medium
CVSS3
Связанные уязвимости
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.
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.
A flaw was found in Ansible-Core. This vulnerability allows attackers ...
Ansible-Core vulnerable to content protections bypass
5.5 Medium
CVSS3