CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2020 · Redhat

CVE-2020-1740
Redhat Ansible vulnerability

A flaw was found in Ansible Engine when using Ansible Vault for editing encrypted files. When a user executes "ansible-vault edit", another user on the same computer can read the old and new secret, as it is created in a temporary file with mkstemp and the returned file descriptor is closed and the method write_data is called to write the existing secret in the file. This method will delete the file before recreating it insecurely. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.

Affected products

Ansible, Ansible Tower, Cloudforms Management Engine, Openstack, Debian Linux, Fedora. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Redhat Ansible runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Redhat products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.