Redhat Ansible vulnerabilities

77 known vulnerabilities affecting redhat/ansible.

Total CVEs
77
CISA KEV
0
Public exploits
1
Exploited in wild
2
Severity breakdown
CRITICAL7HIGH26MEDIUM38LOW5UNKNOWN1

Vulnerabilities

Page 1 of 4
CVE-2025-14010MEDIUMCVSS 5.5≥ 0, < 12.2.02025-12-04
CVE-2025-14010 [MEDIUM] CWE-200 Ansible Community General Collection is vulnerable to exposure of sensitive information Ansible Community General Collection is vulnerable to exposure of sensitive information A flaw was found in ansible-collection-community-general. This vulnerability allows for information exposure (IE) of sensitive credentials, specifically plaintext passwords, via verbose output when running Ansible with debug modes. Attackers with access to logs could retrieve these secrets
ghsaosv
CVE-2024-11079MEDIUMCVSS 5.5≥ 0, < 2.10.7+merged+base+2.10.17+dfsg-0+deb11u4≥ 0, < 5.4.0-12024-11-12
CVE-2024-11079 [MEDIUM] CVE-2024-11079: A flaw was found 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.
osv
CVE-2024-9902MEDIUMCVSS 6.3≥ 0, < 2.10.7+merged+base+2.10.17+dfsg-0+deb11u2≥ 0, < 5.4.0-12024-11-06
CVE-2024-9902 [MEDIUM] CVE-2024-9902: A flaw was found in Ansible A flaw was found in Ansible. The ansible-core `user` module can allow an unprivileged user to silently create or replace the contents of any file on any system path and take ownership of it when a privileged user executes the `user` module against the unprivileged user's home directory. If the unprivileged user has traversal permissions on the directory containing the exploited target file, they retain full control over the conten
osv
CVE-2024-8775MEDIUMCVSS 5.5≥ 0, < 2.10.7+merged+base+2.10.17+dfsg-0+deb11u2≥ 0, < 5.4.0-12024-09-14
CVE-2024-8775 [MEDIUM] CVE-2024-8775: A flaw was found in Ansible, where sensitive information stored in Ansible Vault files can be exposed in plaintext during the execution of a playbook A flaw was found in Ansible, where sensitive information stored in Ansible Vault files can be exposed in plaintext during the execution of a playbook. This occurs when using tasks such as include_vars to load vaulted variables without setting the no_log: true parameter, resulting in sensitive data being printed
osv
CVE-2024-0690MEDIUMCVSS 5.5fixed in 2.14.4≥ 2.15.0, < 2.15.9+1 more2024-02-06
CVE-2024-0690 [MEDIUM] CWE-117 CVE-2024-0690: An information disclosure flaw was found in ansible-core due to a failure to respect the ANSIBLE_NO_ An information disclosure flaw was found in ansible-core due to a failure to respect the ANSIBLE_NO_LOG configuration in some scenarios. Information is still included in the output in certain tasks, such as loop items. Depending on the task, this issue may include sensitive information, such as decrypted secret values.
nvdosv
CVE-2023-5115MEDIUMCVSS 6.3≥ 0, < 8.5.02023-12-28
CVE-2023-5115 [MEDIUM] CWE-22 Ansible symlink attack vulnerability Ansible symlink attack vulnerability An absolute path traversal attack exists in the Ansible automation platform. This flaw allows an attacker to craft a malicious Ansible role and make the victim execute the role. A symlink can be used to overwrite a file outside of the extraction path.
ghsaosv
CVE-2023-5764HIGHCVSS 7.8fixed in 2.14.12≥ 2.15.0, < 2.15.7+1 more2023-12-12
CVE-2023-5764 [HIGH] CWE-1336 CVE-2023-5764: A template injection flaw was found in Ansible where a user's controller internal templating operati A template injection flaw was found in Ansible where a user's controller internal templating operations may remove the unsafe designation from template data. This issue could allow an attacker to use a specially crafted file to introduce templating injection when supplying templating data.
nvdosv
CVE-2023-4237HIGHCVSS 7.8≥ 0, < 2.10.7+merged+base+2.10.17+dfsg-0+deb11u1≥ 0, < 7.7.0+dfsg-3+deb12u1+1 more2023-10-04
CVE-2023-4237 [HIGH] CVE-2023-4237: A flaw was found in the Ansible Automation Platform A flaw was found in the Ansible Automation Platform. When creating a new keypair, the ec2_key module prints out the private key directly to the standard output. This flaw allows an attacker to fetch those keys from the log files, compromising the system's confidentiality, integrity, and availability.
osv
CVE-2022-3697HIGHCVSS 7.5≥ 2.5.0, < 2.10.02022-10-28
CVE-2022-3697 [HIGH] CWE-233 CVE-2022-3697: A flaw was found in Ansible in the amazon.aws collection when using the tower_callback parameter fro A flaw was found in Ansible in the amazon.aws collection when using the tower_callback parameter from the amazon.aws.ec2_instance module. This flaw allows an attacker to take advantage of this issue as the module is handling the parameter insecurely, leading to the password leaking in the logs.
ghsanvdosv
CVE-2019-14846HIGHCVSS 7.8≥ 0, < 2.6.20≥ 2.7.0a1, < 2.7.14+1 more2022-05-24
CVE-2019-14846 [HIGH] CWE-117 Ansible Uses Plugins That Disclose Credentials Ansible Uses Plugins That Disclose Credentials Ansible, all ansible_engine-2.x versions and ansible_engine-3.x up to ansible_engine-3.5, was logging at the DEBUG level which lead to a disclosure of credentials if a plugin used a library that logged credentials at the DEBUG level. This flaw does not affect Ansible modules, as those are executed in a separate process.
ghsaosv
CVE-2019-14858MEDIUMCVSS 5.5≥ 2.9.0a1, < 2.9.0rc4≥ 2.8.0a1, < 2.8.6+2 more2022-05-24
CVE-2019-14858 [MEDIUM] CWE-532 Ansible leaks sensitive information to logs when told not to Ansible leaks sensitive information to logs when told not to A vulnerability was found in Ansible engine 2.x up to 2.8 and Ansible tower 3.x up to 3.5. When a module has an argument_spec with sub parameters marked as `no_log`, passing an invalid parameter name to the module will cause the task to fail before the `no_log` options in the sub parameters are processed. As a result, data in the sub parameter
ghsaosv
CVE-2018-16859MEDIUMCVSS 4.4≥ 2.7.0a1, < 2.7.3≥ 0, < 2.5.12+1 more2022-05-14
CVE-2018-16859 [MEDIUM] CWE-532 Ansible Logs Passwords If PowerShell ScriptBlock is Enabled Ansible Logs Passwords If PowerShell ScriptBlock is Enabled Execution of Ansible playbooks on Windows platforms with PowerShell ScriptBlock logging and Module logging enabled can allow for 'become' passwords to appear in EventLogs in plaintext. A local user with administrator privileges on the machine can view these logs and discover the plaintext password. Ansible Engine 2.8 and older are believed to be
ghsaosv
CVE-2018-10875HIGHCVSS 7.8≥ 0, < 2.4.6.0≥ 2.5.0a1, < 2.5.6+1 more2022-05-13
CVE-2018-10875 [HIGH] CWE-426 Ansible Arbitrary Code Execution Ansible Arbitrary Code Execution A flaw was found in ansible. ansible.cfg is read from the current working directory which can be altered to make it point to a plugin or a module path under the control of an attacker, thus allowing the attacker to execute arbitrary code.
ghsaosv
CVE-2018-10874HIGHCVSS 7.8≥ 0, < 2.4.6.0≥ 2.5, < 2.5.6+1 more2022-05-13
CVE-2018-10874 [HIGH] CWE-20 Ansible Improper Input Validation vulnerability Ansible Improper Input Validation vulnerability In ansible it was found that inventory variables are loaded from current working directory when running ad-hoc command which are under attacker's control, allowing to run arbitrary code as a result.
ghsaosv
CVE-2018-16837HIGHCVSS 7.8≥ 2.7.0a1, < 2.7.1≥ 2.6.0a1, < 2.6.7+1 more2022-05-13
CVE-2018-16837 [HIGH] CWE-311 Ansible Leaks Data Passed to ssh-keygen Ansible Leaks Data Passed to ssh-keygen Ansible "User" module leaks any data which is passed on as a parameter to ssh-keygen. This could lean in undesirable situations such as passphrases credentials passed as a parameter for the ssh-keygen executable. Showing those credentials in clear text form for every user which have access just to the process list.
ghsaosv
CVE-2021-3681MEDIUMCVSS 5.5vansible 3.3.02022-04-18
CVE-2021-3681 [MEDIUM] CWE-522 CVE-2021-3681: A flaw was found in Ansible Galaxy Collections A flaw was found in Ansible Galaxy Collections. When collections are built manually, any files in the repository directory that are not explicitly excluded via the ``build_ignore`` list in "galaxy.yml" include files in the ``.tar.gz`` file. This contains sensitive info, such as the user's Ansible Galaxy API key and any secrets in ``ansible`` or ``ansible-playbook`` verbose output without the``no_log`` re
cvelistv5
CVE-2021-20180MEDIUMCVSS 5.5fixed in 2.9.18vFixed in ansible 2.9.182022-03-16
CVE-2021-20180 [MEDIUM] CWE-532 CVE-2021-20180: A flaw was found in ansible module where credentials are disclosed in the console log by default and A flaw was found in ansible module where credentials are disclosed in the console log by default and not protected by the security feature when using the bitbucket_pipeline_variable module. This flaw allows an attacker to steal bitbucket_pipeline credentials. The highest threat from this vulnerability is to confidentiality.
cvelistv5ghsanvdosv
CVE-2021-3620MEDIUMCVSS 5.5vFixed in Ansible Engine v2.9.272022-03-03
CVE-2021-3620 [MEDIUM] CWE-209 CVE-2021-3620: A flaw was found in Ansible Engine's ansible-connection module, where sensitive information such as the Ansible user credentials is disclosed by defau A flaw was found in Ansible Engine's ansible-connection module, where sensitive information such as the Ansible user credentials is disclosed by default in the traceback error message. The highest threat from this vulnerability is to confidentiality.
cvelistv5ghsaosv
CVE-2020-1734HIGH≥ 2.10.0a1, < 2.10.0rc1≥ 2.9.0a1, < 2.9.11+1 more2022-02-09
CVE-2020-1734 [HIGH] CWE-78 OS Command Injection in ansible OS Command Injection in ansible A flaw was found in the pipe lookup plugin of ansible. Arbitrary commands can be run, when the pipe lookup plugin uses `subprocess.Popen()` with `shell=True`, by overwriting ansible facts and the variable is not escaped by quote plugin. An attacker could take advantage and run arbitrary commands by overwriting the ansible facts.
ghsaosv
CVE-2020-14330MEDIUMCVSS 5.5≥ 0, < 2.10.02022-02-09
CVE-2020-14330 [MEDIUM] CWE-116 Improper Output Neutralization and Improper Encoding or Escaping of Output for Logs in ansible Improper Output Neutralization and Improper Encoding or Escaping of Output for Logs in ansible An Improper Output Neutralization for Logs flaw was found in Ansible when using the uri module, where sensitive data is exposed to content and json output. This flaw allows an attacker to access the logs or outputs of performed tasks to read keys used in playbooks from other u
ghsaosv