Ansible-core: unsafe tagging bypass via hostvars object in ansible-core (ansible-core)

CVE-2024-11079
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.53 % · percentile 45 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Deferred

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.

Weaknesses (CWE)

  • CWE-20 — Improper Input Validation

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:Lredhat
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:LNVD · secalert@redhat.com (Secondary)

Advisories

European references

CERT-FR advisories

Affected products

ProductVersions
ansible-coreaffected 0 ≤ 2.18.0
Red Hat · Ansible Automation Platform Execution Environmentsunaffected 1.2.0-93 < *
Red Hat · Ansible Automation Platform Execution Environmentsunaffected 3.0.1-108 < *
Red Hat · Ansible Automation Platform Execution Environmentsunaffected 2.9.27-34 < *
Red Hat · Ansible Automation Platform Execution Environmentsunaffected 2.12.10-56 < *
Red Hat · Ansible Automation Platform Execution Environmentsunaffected 2.15.13-4 < *
Red Hat · Red Hat Ansible Automation Platform 2.5 for RHEL 8unaffected 1:2.16.14-1.el8ap < *
Red Hat · Red Hat Ansible Automation Platform 2.5 for RHEL 9unaffected 1:2.16.14-1.el9ap < *
Red Hat · Red Hat Enterprise Linux 10
Red Hat · Red Hat Enterprise Linux AI (RHEL AI)
Red Hat · Red Hat Enterprise Linux AI (RHEL AI)

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD