Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2024-11079

Summary
Assigner-redhat
Assigner Org ID-53f830b8-0a3f-465b-8143-3b8a9948e749
Published At-11 Nov, 2024 | 23:32
Updated At-29 Jul, 2025 | 09:30
Rejected At-
Credits

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

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.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:redhat
Assigner Org ID:53f830b8-0a3f-465b-8143-3b8a9948e749
Published At:11 Nov, 2024 | 23:32
Updated At:29 Jul, 2025 | 09:30
Rejected At:
▼CVE Numbering Authority (CNA)
Ansible-core: unsafe tagging bypass via hostvars object in ansible-core

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 Products
Collection URL
https://github.com/ansible/ansible
Package Name
ansible-core
Default Status
unaffected
Versions
Affected
  • From 0 through 2.18.0 (semver)
Vendor
Red Hat, Inc.Red Hat
Product
Ansible Automation Platform Execution Environments
Collection URL
https://catalog.redhat.com/software/containers/
Package Name
ansible-automation-platform/ansible-builder-rhel8
CPEs
  • cpe:/a:redhat:ansible_core:2::el8
  • cpe:/a:redhat:ansible_core:2::el9
Default Status
affected
Versions
Unaffected
  • From 1.2.0-93 before * (rpm)
Vendor
Red Hat, Inc.Red Hat
Product
Ansible Automation Platform Execution Environments
Collection URL
https://catalog.redhat.com/software/containers/
Package Name
ansible-automation-platform/ansible-builder-rhel9
CPEs
  • cpe:/a:redhat:ansible_core:2::el8
  • cpe:/a:redhat:ansible_core:2::el9
Default Status
affected
Versions
Unaffected
  • From 3.0.1-108 before * (rpm)
Vendor
Red Hat, Inc.Red Hat
Product
Ansible Automation Platform Execution Environments
Collection URL
https://catalog.redhat.com/software/containers/
Package Name
ansible-automation-platform/ee-29-rhel8
CPEs
  • cpe:/a:redhat:ansible_core:2::el8
  • cpe:/a:redhat:ansible_core:2::el9
Default Status
affected
Versions
Unaffected
  • From 2.9.27-34 before * (rpm)
Vendor
Red Hat, Inc.Red Hat
Product
Ansible Automation Platform Execution Environments
Collection URL
https://catalog.redhat.com/software/containers/
Package Name
ansible-automation-platform/ee-minimal-rhel8
CPEs
  • cpe:/a:redhat:ansible_core:2::el8
  • cpe:/a:redhat:ansible_core:2::el9
Default Status
affected
Versions
Unaffected
  • From 2.12.10-56 before * (rpm)
Vendor
Red Hat, Inc.Red Hat
Product
Ansible Automation Platform Execution Environments
Collection URL
https://catalog.redhat.com/software/containers/
Package Name
ansible-automation-platform/ee-minimal-rhel9
CPEs
  • cpe:/a:redhat:ansible_core:2::el8
  • cpe:/a:redhat:ansible_core:2::el9
Default Status
affected
Versions
Unaffected
  • From 2.18.1-2 before * (rpm)
Vendor
Red Hat, Inc.Red Hat
Product
Red Hat Ansible Automation Platform 2.5 for RHEL 8
Collection URL
https://access.redhat.com/downloads/content/package-browser/
Package Name
ansible-core
CPEs
  • cpe:/a:redhat:ansible_automation_platform_developer:2.5::el8
  • cpe:/a:redhat:ansible_automation_platform_inside:2.5::el8
  • cpe:/a:redhat:ansible_automation_platform_developer:2.5::el9
  • cpe:/a:redhat:ansible_automation_platform:2.5::el9
  • cpe:/a:redhat:ansible_automation_platform:2.5::el8
  • cpe:/a:redhat:ansible_automation_platform_inside:2.5::el9
Default Status
affected
Versions
Unaffected
  • From 1:2.16.14-1.el8ap before * (rpm)
Vendor
Red Hat, Inc.Red Hat
Product
Red Hat Ansible Automation Platform 2.5 for RHEL 9
Collection URL
https://access.redhat.com/downloads/content/package-browser/
Package Name
ansible-core
CPEs
  • cpe:/a:redhat:ansible_automation_platform_developer:2.5::el8
  • cpe:/a:redhat:ansible_automation_platform_inside:2.5::el8
  • cpe:/a:redhat:ansible_automation_platform_developer:2.5::el9
  • cpe:/a:redhat:ansible_automation_platform:2.5::el9
  • cpe:/a:redhat:ansible_automation_platform:2.5::el8
  • cpe:/a:redhat:ansible_automation_platform_inside:2.5::el9
Default Status
affected
Versions
Unaffected
  • From 1:2.16.14-1.el9ap before * (rpm)
Vendor
Red Hat, Inc.Red Hat
Product
Red Hat Enterprise Linux 10
Collection URL
https://access.redhat.com/downloads/content/package-browser/
Package Name
ansible-core
CPEs
  • cpe:/o:redhat:enterprise_linux:10
Default Status
unaffected
Vendor
Red Hat, Inc.Red Hat
Product
Red Hat Enterprise Linux AI (RHEL AI)
Collection URL
https://access.redhat.com/downloads/content/package-browser/
Package Name
rhelai1/bootc-azure-nvidia-rhel9
CPEs
  • cpe:/a:redhat:enterprise_linux_ai:1
Default Status
affected
Vendor
Red Hat, Inc.Red Hat
Product
Red Hat Enterprise Linux AI (RHEL AI)
Collection URL
https://access.redhat.com/downloads/content/package-browser/
Package Name
rhelai1/bootc-nvidia-rhel9
CPEs
  • cpe:/a:redhat:enterprise_linux_ai:1
Default Status
affected
Problem Types
TypeCWE IDDescription
CWECWE-20Improper Input Validation
Type: CWE
CWE ID: CWE-20
Description: Improper Input Validation
Metrics
VersionBase scoreBase severityVector
3.15.5MEDIUM
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
Version: 3.1
Base score: 5.5
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
Metrics Other Info
Red Hat severity rating
value:
Moderate
namespace:
https://access.redhat.com/security/updates/classification/
Impacts
CAPEC IDDescription
Solutions

Configurations

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.

Exploits

Credits

Timeline
EventDate
Reported to Red Hat.2024-11-11 11:43:42
Made public.2024-11-11 00:00:00
Event: Reported to Red Hat.
Date: 2024-11-11 11:43:42
Event: Made public.
Date: 2024-11-11 00:00:00
Replaced By

Rejected Reason

References
HyperlinkResource
https://access.redhat.com/errata/RHSA-2024:10770
vendor-advisory
x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2024:11145
vendor-advisory
x_refsource_REDHAT
https://access.redhat.com/security/cve/CVE-2024-11079
vdb-entry
x_refsource_REDHAT
https://bugzilla.redhat.com/show_bug.cgi?id=2325171
issue-tracking
x_refsource_REDHAT
Hyperlink: https://access.redhat.com/errata/RHSA-2024:10770
Resource:
vendor-advisory
x_refsource_REDHAT
Hyperlink: https://access.redhat.com/errata/RHSA-2024:11145
Resource:
vendor-advisory
x_refsource_REDHAT
Hyperlink: https://access.redhat.com/security/cve/CVE-2024-11079
Resource:
vdb-entry
x_refsource_REDHAT
Hyperlink: https://bugzilla.redhat.com/show_bug.cgi?id=2325171
Resource:
issue-tracking
x_refsource_REDHAT
▼Authorized Data Publishers (ADP)
CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:secalert@redhat.com
Published At:12 Nov, 2024 | 00:15
Updated At:18 Dec, 2024 | 04:15

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Secondary3.15.5MEDIUM
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
Type: Secondary
Version: 3.1
Base score: 5.5
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
CPE Matches

Weaknesses
CWE IDTypeSource
CWE-20Secondarysecalert@redhat.com
CWE ID: CWE-20
Type: Secondary
Source: secalert@redhat.com
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://access.redhat.com/errata/RHSA-2024:10770secalert@redhat.com
N/A
https://access.redhat.com/errata/RHSA-2024:11145secalert@redhat.com
N/A
https://access.redhat.com/security/cve/CVE-2024-11079secalert@redhat.com
N/A
https://bugzilla.redhat.com/show_bug.cgi?id=2325171secalert@redhat.com
N/A
Hyperlink: https://access.redhat.com/errata/RHSA-2024:10770
Source: secalert@redhat.com
Resource: N/A
Hyperlink: https://access.redhat.com/errata/RHSA-2024:11145
Source: secalert@redhat.com
Resource: N/A
Hyperlink: https://access.redhat.com/security/cve/CVE-2024-11079
Source: secalert@redhat.com
Resource: N/A
Hyperlink: https://bugzilla.redhat.com/show_bug.cgi?id=2325171
Source: secalert@redhat.com
Resource: N/A

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found