PyPi: Ansible-Core

CVE-2024-11079

Safety vulnerability ID: 74261

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Nov 12, 2024 Updated at Sep 30, 2025
Scan your Python projects for vulnerabilities →

Advisory

Affected versions of Ansible-Core before the fix are vulnerable to Improper Input Validation (CWE-20). This vulnerability allows attackers to bypass content protections by exploiting the hostvars object to execute templated content, potentially leading to arbitrary code execution within playbooks. The attack vector involves crafting malicious templates that reference and execute unsafe content through hostvars in hostvars.py. Vulnerable functions include the templating methods that do not properly manage serialization with native Jinja. To mitigate, upgrade to Ansible-Core version which implements proper handling and serialization of hostvars, preventing arbitrary code execution.

Affected package

ansible-core

Latest version: 2.19.2

Radically simple IT automation

Affected versions

Fixed versions

Vulnerability changelog

This vulnerability has no description

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

MEDIUM 5.5

CVSS v3 Details

MEDIUM 5.5
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
HIGH
Privileges Required (PR)
LOW
User Interaction (UI)
REQUIRED
Scope (S)
CHANGED
Confidentiality Impact (C)
LOW
Integrity Impact (I)
LOW
Availability Availability (A)
LOW