RHSA-2020:1541HighCVSS 7.9

Red Hat Security Advisory: Ansible security and bug fix update (2.9.7)

Published
April 22, 2020
Last Modified
November 2, 2026

🔗 CVE IDs covered (10)

📋 Description

CVE-2020-1733 — ansible: insecure temporary directory when running become_user from become directive CVE-2020-1735 — ansible: path injection on dest parameter in fetch module CVE-2020-1737 — ansible: Extract-Zip function in win_unzip module does not check extracted path CVE-2020-1739 — ansible: svn module leaks password when specified as a parameter CVE-2020-1740 — ansible: secrets readable after ansible-vault edit CVE-2020-1746 — ansible: Information disclosure issue in ldap_attr and ldap_entry modules CVE-2020-1753 — Ansible: kubectl connection plugin leaks sensitive information CVE-2020-10684 — Ansible: code injection when using ansible_facts as a subkey CVE-2020-10685 — Ansible: modules which use files encrypted with vault are not properly cleaned up CVE-2020-10691 — Ansible: archive traversal vulnerability in ansible-galaxy collection install

🎯 Affected products8

  • Red Hat Ansible Engine 2.9 for RHEL 7 Server
  • Red Hat Ansible Engine 2.9 for RHEL 8
  • ansible-0:2.9.7-1.el7ae.noarch as a component of Red Hat Ansible Engine 2.9 for RHEL 7 Server
  • ansible-0:2.9.7-1.el7ae.src as a component of Red Hat Ansible Engine 2.9 for RHEL 7 Server
  • ansible-0:2.9.7-1.el8ae.noarch as a component of Red Hat Ansible Engine 2.9 for RHEL 8
  • ansible-0:2.9.7-1.el8ae.src as a component of Red Hat Ansible Engine 2.9 for RHEL 8
  • ansible-test-0:2.9.7-1.el7ae.noarch as a component of Red Hat Ansible Engine 2.9 for RHEL 7 Server
  • ansible-test-0:2.9.7-1.el8ae.noarch as a component of Red Hat Ansible Engine 2.9 for RHEL 8

✅ Remediation

For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: This issue can be mitigated by mounting the proc filesystem with hidepid=2 option (https://www.kernel.org/doc/Documentation/filesystems/proc.txt). This way only the user used by Ansible will be able to perform the attack as users on the system will be able to access only their processes /proc/$PID/ directories. Also note that mounting proc filesystem with hidepid=2 might require re-mounting it on unpatched kernels, due to a kernel bug (see https://unix.stackexchange.com/questions/584054/why-procfs-mount-option-only-working-on-remount), there will be hidepid=3 in the future (https://patchwork.kernel.org/patch/11310217/). Workaround: Currently, there is no mitigation for this issue except avoid using the affected fetch module when possible. Workaround: Currently, there is no mitigation for this issue except avoid using the affected win_unzip module when possible. Workaround: Instead of using the parameter 'password' of the subversion module, provide the password with stdin. Workaround: Currently, there is no mitigation for this issue except avoid using the 'edit' option from 'ansible-vault' command line tool. Workaround: Using args keyword and embedding the ldap_auth variable instead of using bind_pw parameter would mitigate this issue. Workaround: Currently, there is no mitigation for this issue. Workaround: Currently, there is not a known mitigation except avoiding the functionality of using ansible_facts as a subkey. Workaround: Currently, there is no mitigation for this issue except by removing manually the temporary created file after every run. Workaround: A possible mitigation of archive traversal issue could be done by restricting file access control and directory write accesses for extracting tarball files. This is feasible only for scenarios when the destination path could be known and enforced beforehand.

🔗 References (13)