ansible-core@2.15.3 vulnerabilities

Radically simple IT automation

Direct Vulnerabilities

Known vulnerabilities in the ansible-core package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Exposure of Sensitive Information in Log Files

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 Exposure of Sensitive Information in Log Files when loading variables from Ansible Vault without setting no_log: true, which is the behavior of some tasks, including include_vars. This vulnerability can be exploited during the execution of a playbook.

Note:

This is a similar vulnerability to the previously reported CVE-2024-0690.

How to fix Exposure of Sensitive Information in Log Files?

There is no fixed version for ansible-core.

[0,)
  • M
Improper Output Neutralization for Logs

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 Output Neutralization for Logs due to a failure to respect the ANSIBLE_NO_LOG configuration in some scenarios. This could allow an attacker to obtain sensitive information, such as decrypted secret values from the output of certain tasks, like loop items.

How to fix Improper Output Neutralization for Logs?

Upgrade ansible-core to version 2.14.14, 2.15.9, 2.16.3 or higher.

[,2.14.14) [2.15.0,2.15.9) [2.16.0,2.16.3)
  • M
Improper Control of Generation of Code ('Code Injection')

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 Control of Generation of Code ('Code Injection'). An attacker can inject malicious code into the template, leading to unauthorized access and potential data compromise.

How to fix Improper Control of Generation of Code ('Code Injection')?

Upgrade ansible-core to version 2.15.7rc1, 2.16.1rc1 or higher.

[,2.15.7rc1) [2.16.0,2.16.1rc1)
  • M
Symlink Attack

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 Symlink Attack via the ansible-galaxy function. When installing a maliciously created Ansible role using ansible-galaxy role install, arbitrary files the user has access to can be overwritten. The malicious role must contain a symlink with an absolute path to the target file, followed by a file of the same name (as the symlink) with the contents to write to the target.

How to fix Symlink Attack?

Upgrade ansible-core to version 2.13.13rc1, 2.14.11rc1, 2.15.5rc1, 2.16.0b2 or higher.

[,2.13.13rc1) [2.14.0,2.14.11rc1) [2.15.0,2.15.5rc1) [2.16.0b1,2.16.0b2)