Improper Input Validation Affecting ansible-core package, versions [,2.18.0)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-ANSIBLECORE-8366738
  • published12 Nov 2024
  • disclosed11 Nov 2024
  • creditUnknown

Introduced: 11 Nov 2024

CVE-2024-11079  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade ansible-core to version 2.18.0 or higher.

Overview

ansible-core is an a radically simple IT automation system. It handles configuration management, application deployment, cloud provisioning, ad-hoc task execution, network automation, and multi-node orchestration. Ansible makes complex changes like zero-downtime rolling updates with load balancers easy.

Affected versions of this package are vulnerable to Improper Input Validation through the use of the hostvars object. Attackers can bypass unsafe content protections and execute templated content, leading to arbitrary code execution. This is only exploitable if attackers can modify the content returned to a play that utilizes hostvars to reference unsafe content

Workaround

Restrict access to inventory files and Ansible playbooks to trusted users to minimize exploitation risks and avoid using the hostvars object to reference content marked as !unsafe.

CVSS Scores

version 4.0
version 3.1