ansible
PyPI67 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting ansiblepage 1 of 2
- CVE-2013-2233HIGHCVSS 7.4EG 7.4✓ Fixed in 1.2.12018-05-04
vulnerable: 1.0, 1.1, 1.2
Ansible before 1.2.1 makes it easier for remote attackers to conduct man-in-the-middle attacks by leveraging failure to cache SSH host keys.
- CVE-2013-4259NONECVSS 0.0EG 0.0✓ Fixed in 1.2.32013-09-16
vulnerable: 1.0, 1.1, 1.2, 1.2.1, 1.2.2
runner/connection_plugins/ssh.py in Ansible before 1.2.3, when using ControlPersist, allows local users to redirect a ssh session via a symlink attack on a socket file with a predictable name in /tmp/.
- CVE-2013-4260NONECVSS 0.0EG 0.0✓ Fixed in 1.2.32013-09-16
vulnerable: 1.2, 1.2.1, 1.2.2
lib/ansible/playbook/__init__.py in Ansible 1.2.x before 1.2.3, when playbook does not run due to an error, allows local users to overwrite arbitrary files via a symlink attack on a retry file with a predictable name in /var/tmp/ansible/.
- CVE-2014-2686HIGHCVSS 7.5EG 7.5✓ Fixed in 1.5.42020-01-09
vulnerable: 1.0 ... 1.5.3 (21 versions)
Ansible prior to 1.5.4 mishandles the evaluation of some strings.
- CVE-2014-3498HIGHCVSS 8.8EG 8.8✓ Fixed in 1.6.62017-06-08
vulnerable: 1.0 ... 1.6.5 (29 versions)
The user module in ansible before 1.6.6 allows remote authenticated users to execute arbitrary commands.
- CVE-2014-4657CRITICALCVSS 9.8EG 9.8✓ Fixed in 1.5.42020-02-20
vulnerable: 1.0 ... 1.5.3 (21 versions)
The safe_eval function in Ansible before 1.5.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code via crafted instructions.
- CVE-2014-4658MEDIUMCVSS 5.5EG 5.5✓ Fixed in 1.5.52020-02-20
vulnerable: 1.0 ... 1.5.4 (22 versions)
The vault subsystem in Ansible before 1.5.5 does not set the umask before creation or modification of a vault file, which allows local users to obtain sensitive key information by reading a file.
- CVE-2014-4659MEDIUMCVSS 5.5EG 5.5✓ Fixed in 1.5.52020-02-20
vulnerable: 1.0 ... 1.5.4 (22 versions)
Ansible before 1.5.5 sets 0644 permissions for sources.list, which might allow local users to obtain sensitive credential information in opportunistic circumstances by reading a file that uses the "deb http://user:pass@server:port/" format.
- CVE-2014-4660MEDIUMCVSS 5.5EG 5.5✓ Fixed in 1.5.52020-02-20
vulnerable: 1.0 ... 1.5.4 (22 versions)
Ansible before 1.5.5 constructs filenames containing user and password fields on the basis of deb lines in sources.list, which might allow local users to obtain sensitive credential information in opportunistic circumstances by leveraging …
- CVE-2014-4678CRITICALCVSS 9.8EG 9.8✓ Fixed in 1.6.42020-02-20
vulnerable: 1.0 ... 1.6.3 (27 versions)
The safe_eval function in Ansible before 1.6.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code via crafted instructions. NOTE: this vulnerability exists because of an incomplete fix for C…
- CVE-2014-4966CRITICALCVSS 9.8EG 9.8✓ Fixed in 1.6.72020-02-18
vulnerable: 1.0 ... 1.6.6 (30 versions)
Ansible before 1.6.7 does not prevent inventory data with "{{" and "lookup" substrings, and does not prevent remote data with "{{" substrings, which allows remote attackers to execute arbitrary code via (1) crafted lookup('pipe') calls or …
- CVE-2014-4967CRITICALCVSS 9.8EG 9.8✓ Fixed in 1.6.72020-02-18
vulnerable: 1.0 ... 1.6.6 (30 versions)
Multiple argument injection vulnerabilities in Ansible before 1.6.7 allow remote attackers to execute arbitrary code by leveraging access to an Ansible managed host and providing a crafted fact, as demonstrated by a fact with (1) a trailin…
- CVE-2015-3908NONECVSS 0.0EG 0.0✓ Fixed in 1.9.22015-08-12
vulnerable: 1.0 ... 1.9.1 (45 versions)
Ansible before 1.9.2 does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an ar…
- CVE-2015-6240HIGHCVSS 7.8EG 7.8✓ Fixed in 1.9.22017-06-07
vulnerable: 1.0 ... 1.9.1 (45 versions)
The chroot, jail, and zone connection plugins in ansible before 1.9.2 allow local users to escape a restricted environment via a symlink attack.
- CVE-2016-3096HIGHCVSS 7.8EG 7.8✓ Fixed in 2.0.2.02016-06-03
vulnerable: 1.0 ... 2.0.1.0 (55 versions)
The create_script function in the lxc_container module in Ansible before 1.9.6-1 and 2.x before 2.0.2.0 allows local users to write to arbitrary files or gain privileges via a symlink attack on (1) /opt/.lxc-attach-script, (2) the archived…
- CVE-2016-8614MEDIUMCVSS 6.3EG 6.3✓ Fixed in 2.2.0.02018-07-31
vulnerable: 1.0 ... 2.1.6.0 (63 versions)
A flaw was found in Ansible before version 2.2.0. The apt_key module does not properly verify key fingerprints, allowing remote adversary to create an OpenPGP key which matches the short key ID and inject this key instead of the correct ke…
- CVE-2016-8628HIGHCVSS 7.6EG 7.6✓ Fixed in 2.2.0.02018-07-31
vulnerable: 1.0 ... 2.1.6.0 (63 versions)
Ansible before version 2.2.0 fails to properly sanitize fact variables sent from the Ansible controller. An attacker with the ability to create special variables on the controller could execute arbitrary commands on Ansible clients as the …
- CVE-2016-8647MEDIUMCVSS 4.9EG 4.9✓ Fixed in 2.2.1.02018-07-26
vulnerable: 1.0 ... 2.2.0.0 (64 versions)
An input validation vulnerability was found in Ansible's mysql_user module before 2.2.1.0, which may fail to correctly change a password in certain circumstances. Thus the previous password would still be active when it should have been ch…
- CVE-2016-9587HIGHCVSS 8.1EG 8.1✓ Fixed in 2.2.1.02018-04-24
vulnerable: 1.0 ... 2.2.0.0 (61 versions)
Ansible before versions 2.1.4, 2.2.1 is vulnerable to an improper input validation in Ansible's handling of data sent from client systems. An attacker with control over a client system being managed by Ansible and the ability to send facts…
- CVE-2017-7466HIGHCVSS 8.0EG 8.0✓ Fixed in 2.3.0.02018-06-22
vulnerable: 1.0 ... 2.2.3.0 (67 versions)
Ansible before version 2.3 has an input validation vulnerability in the handling of data sent from client systems. An attacker with control over a client system being managed by Ansible, and the ability to send facts back to the Ansible se…
- CVE-2017-7481CRITICALCVSS 9.8EG 9.8✓ Fixed in 2.4.0.02018-07-19
vulnerable: 1.0 ... 2.3.3.0 (70 versions)
Ansible before versions 2.3.1.0 and 2.4.0.0 fails to properly mark lookup-plugin results as unsafe. If an attacker could control the results of lookup() calls, they could inject Unicode strings to be parsed by the jinja2 templating system,…
- CVE-2017-7550CRITICALCVSS 9.8EG 9.8✓ Fixed in 2.3.3.02017-11-21
vulnerable: 2.3.0.0, 2.3.1.0, 2.3.2.0, 2.4.0.0
A flaw was found in the way Ansible (2.3.x before 2.3.3, and 2.4.x before 2.4.1) passed certain parameters to the jenkins_plugin module. Remote attackers could use this flaw to expose sensitive information from a remote host's logs. This f…
- CVE-2018-10855MEDIUMCVSS 5.9EG 5.9✓ Fixed in 2.4.5.02018-07-03
vulnerable: 2.4.0.0 ... 2.5.4 (10 versions)
Ansible 2.5 prior to 2.5.5, and 2.4 prior to 2.4.5, do not honor the no_log task flag for failed tasks. When the no_log flag has been used to protect sensitive data passed to a task from being logged, and that task does not run successfull…
- CVE-2018-10874HIGHCVSS 7.8EG 7.8✓ Fixed in 2.6.12018-07-02
vulnerable: 1.0 ... 2.6.0 (84 versions)
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.
- CVE-2018-10875HIGHCVSS 7.8EG 7.8✓ Fixed in 2.6.12018-07-13
vulnerable: 2.4.0.0 ... 2.6.0 (13 versions)
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.
- CVE-2018-16837HIGHCVSS 7.8EG 7.8✓ Fixed in 2.5.112018-10-23
vulnerable: 1.0 ... 2.7.0 (103 versions)
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 …
- CVE-2018-16859MEDIUMCVSS 4.2EG 4.2✓ Fixed in 2.6.102018-11-29
vulnerable: 1.0 ... 2.8.0rc3 (131 versions)
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 mach…
- CVE-2018-16876MEDIUMCVSS 5.3EG 5.3✓ Fixed in 2.7.52019-01-03
vulnerable: 2.5.0 ... 2.7.4 (30 versions)
ansible before versions 2.5.14, 2.6.11, 2.7.5 is vulnerable to a information disclosure flaw in vvv+ mode with no_log on that can lead to leakage of sensible data.
- CVE-2019-10156MEDIUMCVSS 5.4EG 5.4✓ Fixed in 2.8.22019-07-30
vulnerable: 1.0 ... 2.8.1 (139 versions)
A flaw was discovered in the way Ansible templating was implemented in versions before 2.6.18, 2.7.12 and 2.8.2, causing the possibility of information disclosure through unexpected variable substitution. By taking advantage of unintended …
- CVE-2019-10206MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.8.42019-11-22
vulnerable: 2.6.0 ... 2.8.3 (36 versions)
ansible-playbook -k and ansible cli tools, all versions 2.8.x before 2.8.4, all 2.7.x before 2.7.13 and all 2.6.x before 2.6.19, prompt passwords by expanding them from templates as they could contain special characters. Passwords should b…
- CVE-2019-10217MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.8.42019-11-25
vulnerable: 2.8.0, 2.8.1, 2.8.2, 2.8.3
A flaw was found in ansible 2.8.0 before 2.8.4. Fields managing sensitive data should be set as such by no_log feature. Some of these fields in GCP modules are not set properly. service_account_contents() which is common class for all gcp …
- CVE-2019-14846HIGHCVSS 7.8EG 7.8✓ Fixed in 2.8.62019-10-08
vulnerable: 1.0 ... 2.8.5 (147 versions)
In Ansible, all Ansible Engine versions up to ansible-engine 2.8.5, ansible-engine 2.7.13, ansible-engine 2.6.19, were logging at the DEBUG level which lead to a disclosure of credentials if a plugin used a library that logged credentials …
- CVE-2019-14856MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.8.62019-11-26
vulnerable: 2.6.0 ... 2.8.5 (40 versions)
ansible before versions 2.8.6, 2.7.14, 2.6.20 is vulnerable to a None
- CVE-2019-14858MEDIUMCVSS 5.5EG 5.5✓ Fixed in 2.8.12019-10-14
vulnerable: 2.0.0 ... 2.8.0rc3 (110 versions)
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…
- CVE-2019-14864MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.9.12020-01-02
vulnerable: 2.7.0 ... 2.9.0 (23 versions)
Ansible, versions 2.9.x before 2.9.1, 2.8.x before 2.8.7 and Ansible versions 2.7.x before 2.7.15, is not respecting the flag no_log set it to True when Sumologic and Splunk callback plugins are used send tasks results events to collectors…
- CVE-2019-14904HIGHCVSS 7.3EG 7.3✓ Fixed in 2.9.22020-08-26
vulnerable: 1.0 ... 2.9.1 (159 versions)
A flaw was found in the solaris_zone module from the Ansible Community modules. When setting the name for the zone on the Solaris host, the zone name is checked by listing the process with the 'ps' bare command on the remote machine. An at…
- CVE-2019-14905MEDIUMCVSS 5.6EG 5.6✓ Fixed in 2.9.32020-03-31
vulnerable: 2.7.0 ... 2.9.2 (27 versions)
A vulnerability was found in Ansible Engine versions 2.9.x before 2.9.3, 2.8.x before 2.8.8, 2.7.x before 2.7.16 and earlier, where in Ansible's nxos_file_copy module can be used to copy files to a flash or bootflash on NXOS devices. Malic…
- CVE-2019-3828MEDIUMCVSS 4.2EG 4.2✓ Fixed in 2.7.82019-03-27
vulnerable: 2.5.0 ... 2.7.7 (37 versions)
Ansible fetch module before versions 2.5.15, 2.6.14, 2.7.8 has a path traversal vulnerability which allows copying and overwriting files outside of the specified destination in the local ansible controller host, by not restricting an absol…
- CVE-2020-10684HIGHCVSS 7.9EG 7.9✓ Fixed in 2.9.62020-03-24
vulnerable: 2.7.0 ... 2.9.5 (32 versions)
A flaw was found in Ansible Engine, all versions 2.7.x, 2.8.x and 2.9.x prior to 2.7.17, 2.8.9 and 2.9.6 respectively, when using ansible_facts as a subkey of itself and promoting it to a variable when inject is enabled, overwriting the an…
- CVE-2020-10685MEDIUMCVSS 5.0EG 5.0✓ Fixed in 2.9.72020-05-11
vulnerable: 2.7.0 ... 2.9.6 (35 versions)
A flaw was found in Ansible Engine affecting Ansible Engine versions 2.7.x before 2.7.17 and 2.8.x before 2.8.11 and 2.9.x before 2.9.7 as well as Ansible Tower before and including versions 3.4.5 and 3.5.5 and 3.6.3 when using modules whi…
- CVE-2020-10691MEDIUMCVSS 5.2EG 5.2✓ Fixed in 2.9.72020-04-30
vulnerable: 2.9.0 ... 2.9.6 (7 versions)
An archive traversal flaw was found in all ansible-engine versions 2.9.x prior to 2.9.7, when running ansible-galaxy collection install. When extracting a collection .tar.gz file, the directory is created without sanitizing the filename. A…
- CVE-2020-10729MEDIUMCVSS 5.5EG 5.5✓ Fixed in 2.9.62021-05-27
vulnerable: 1.0 ... 2.9.5 (197 versions)
A flaw was found in the use of insufficiently random values in Ansible. Two random password lookups of the same length generate the equal value as the template caching action for the same file since no re-evaluation happens. The highest th…
- CVE-2020-10744MEDIUMCVSS 5.0EG 5.0✓ Fixed in 2.9.102020-05-15
vulnerable: 2.7.0 ... 2.9.9 (42 versions)
An incomplete fix was found for the fix of the flaw CVE-2020-1733 ansible: insecure temporary directory when running become_user from become directive. The provided fix is insufficient to prevent the race condition on systems using ACLs an…
- CVE-2020-14330MEDIUMCVSS 5.0EG 5.0✓ Fixed in 2.10.02020-09-11
vulnerable: 1.0 ... 2.9.27 (245 versions)
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 re…
- CVE-2020-14332MEDIUMCVSS 5.5EG 5.5✓ Fixed in 2.9.122020-09-11
vulnerable: 2.8.0 ... 2.9.11 (26 versions)
A flaw was found in the Ansible Engine when using module_args. Tasks executed with check mode (--check-mode) do not properly neutralize sensitive data exposed in the event data. This flaw allows unauthorized users to read this data. The hi…
- CVE-2020-14365HIGHCVSS 7.1EG 7.1✓ Fixed in 2.9.14rc12020-09-23
vulnerable: 2.8.0 ... 2.9.9 (30 versions)
A flaw was found in the Ansible Engine, in ansible-engine 2.8.x before 2.8.15 and ansible-engine 2.9.x before 2.9.13, when installing packages using the dnf module. GPG signatures are ignored during installation even when disable_gpg_check…
- CVE-2020-1733MEDIUMCVSS 5.0EG 5.0✓ Fixed in 2.9.62020-03-11
vulnerable: 1.0 ... 2.9.5 (166 versions)
A race condition flaw was found in Ansible Engine 2.7.17 and prior, 2.8.9 and prior, 2.9.6 and prior when running a playbook with an unprivileged become user. When Ansible needs to run a module with become user, the temporary directory is …
- CVE-2020-1734HIGHCVSS 7.4EG 7.4✓ Fixed in 2.7.172020-03-03
vulnerable: 1.0 ... 2.7.16 (152 versions)
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 att…
- CVE-2020-1735MEDIUMCVSS 4.2EG 4.2✓ Fixed in 2.9.62020-03-16
vulnerable: 1.0 ... 2.9.5 (167 versions)
A flaw was found in the Ansible Engine when the fetch module is used. An attacker could intercept the module, inject a new path, and then choose a new destination path on the controller node. All versions in 2.7.x, 2.8.x and 2.9.x branches…
- CVE-2020-1736LOWCVSS 2.2EG 3.3✓ Fixed in 2.9.62020-03-16
vulnerable: 1.0 ... 2.9.5 (167 versions)
A flaw was found in Ansible Engine when a file is moved using atomic_move primitive as the file mode cannot be specified. This sets the destination files world-readable if the destination file does not exist and if the file exists, the fil…
Check whether ansible is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for ansible CVEs against the assets you own.
Start Free Scan →