cve.bz

CVE-2024-11079 Improper Input Validation

5.5 mediumEPSS 0.5%Fix available

Medium (5.5). EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in ansible-core 2.16.14rc1, 2.17.7rc1, 2.18.1rc1.

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

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 46th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-11-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • ansible-core (PyPI): fixed in 2.18.1rc1, 2.17.7rc1, 2.16.14rc1
  • Red Hat Ansible Automation Platform Execution Environments: fixed in 1.2.0-93
  • Red Hat Ansible Automation Platform Execution Environments: fixed in 3.0.1-108
  • Red Hat Ansible Automation Platform Execution Environments: fixed in 2.9.27-34
  • Red Hat Ansible Automation Platform Execution Environments: fixed in 2.12.10-56
  • Red Hat Ansible Automation Platform Execution Environments: fixed in 2.15.13-4
  • Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8: fixed in 1:2.16.14-1.el8ap
  • Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 9: fixed in 1:2.16.14-1.el9ap
  • Debian, Red Hat, openSUSE: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2024-11079 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-11079?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-11079?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-2024-11079 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.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Ansible Automation Platform Execution Environments1.2.0-93
Red Hat Ansible Automation Platform Execution Environments3.0.1-108
Red Hat Ansible Automation Platform Execution Environments2.9.27-34
Red Hat Ansible Automation Platform Execution Environments2.12.10-56
Red Hat Ansible Automation Platform Execution Environments2.15.13-4
Red Hat Ansible Automation Platform 2.5 for RHEL 81:2.16.14-1.el8ap
Red Hat Ansible Automation Platform 2.5 for RHEL 91:2.16.14-1.el9ap

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-99w6-3xph-cx78PyPIansible-core>=2.18.0b1 <2.18.1rc12.18.1rc1
GHSA-99w6-3xph-cx78PyPIansible-core>=2.17.0b1 <2.17.7rc12.17.7rc1
GHSA-99w6-3xph-cx78PyPIansible-core<2.16.14rc12.16.14rc1
PYSEC-2026-1123PyPIansible-core<2.16.14rc1
>=2.17.0b1 <2.17.7rc1
>=2.18.0b1 <2.18.1rc1
2.16.14rc1, 2.17.7rc1, 2.18.1rc1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11ansible2.10.7+merged+base+2.10.17+dfsg-0+deb11u4DLA-4502-1
Debian12ansible-core2.14.18-0+deb12u1DEBIAN-CVE-2024-11079
Debian12, 13, 14ansible5.4.0-1DEBIAN-CVE-2024-11079
Debian13, 14ansible-core2.18.0-2DEBIAN-CVE-2024-11079
Ubuntu22.04:LTSansible-coreno fix listedUBUNTU-CVE-2024-11079
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 1 moreansible, ansible-coreno fix listedUBUNTU-CVE-2024-11079
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTS and 2 moreansibleno fix listedUBUNTU-CVE-2024-11079
Red Hatansible_automation_platform:2.5::el8automation-gateway-server0:2.5.20241218-1.el8apRHSA-2024:11145
Red Hatansible_automation_platform:2.5::el8, ansible_automation_platform_developer:2.5::el8, ansible_automation_platform_inside:2.5::el8ansible-core1:2.16.14-1.el8apRHSA-2024:11145
Red Hatansible_automation_platform:2.5::el9automation-gateway-server0:2.5.20241218-1.el9apRHSA-2024:11145
Red Hatansible_automation_platform:2.5::el9, ansible_automation_platform_developer:2.5::el9, ansible_automation_platform_inside:2.5::el9ansible-core1:2.16.14-1.el9apRHSA-2024:11145
openSUSETumbleweedansible-core2.18.1-1.1openSUSE-SU-2024:14545-1
openSUSETumbleweedansible-core-2.162.16.14-1.1openSUSE-SU-2024:14546-1
openSUSETumbleweedansible-core-2.172.17.7-1.1openSUSE-SU-2024:14547-1
openSUSETumbleweedansible-core-2.182.18.10-2.1openSUSE-SU-2025:15638-1
openSUSETumbleweedansible-core-2.192.19.4-1.1openSUSE-SU-2025:15754-1
openSUSETumbleweedansible-core-2.202.20.6-1.1openSUSE-SU-2026:10945-1
openSUSETumbleweedansible-core-2.212.21.6-1.1openSUSE-SU-2026:12451-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 · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's 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.

ProductPackageStateAdvisory
Ansible Automation Platform Execution Environmentsansible-automation-platform/ansible-builder-rhel8:1.2.0-93Fixed 2024-12-03RHSA-2024:10770
Ansible Automation Platform Execution Environmentsansible-automation-platform/ansible-builder-rhel9:3.0.1-108Fixed 2024-12-03RHSA-2024:10770
Ansible Automation Platform Execution Environmentsansible-automation-platform/ee-29-rhel8:2.9.27-34Fixed 2024-12-03RHSA-2024:10770
Ansible Automation Platform Execution Environmentsansible-automation-platform/ee-minimal-rhel8:2.12.10-56Fixed 2024-12-03RHSA-2024:10770
Ansible Automation Platform Execution Environmentsansible-automation-platform/ee-minimal-rhel9:2.15.13-4Fixed 2024-12-03RHSA-2024:10770
Red Hat Ansible Automation Platform 2.5 for RHEL 8ansible-core-1:2.16.14-1.el8apFixed 2024-12-16RHSA-2024:11145
Red Hat Ansible Automation Platform 2.5 for RHEL 9ansible-core-1:2.16.14-1.el9apFixed 2024-12-16RHSA-2024:11145
Red Hat Enterprise Linux 10ansible-coreNot affected
Red Hat Enterprise Linux AI (RHEL AI)rhelai1/bootc-azure-nvidia-rhel9Fix deferred
Red Hat Enterprise Linux AI (RHEL AI)rhelai1/bootc-nvidia-rhel9Will not fix

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-2024-11079.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON