Vulnerabilities · 2021 · Redhat
CVE-2021-3681
Redhat Ansible Automation Platform vulnerability
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`` redaction. Currently, there is no way to deprecate a Collection Or delete a Collection Version. Once published, anyone who downloads or installs the collection can view the secrets.
Affected products
Ansible Automation Platform, Ansible Galaxy. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Redhat Ansible Automation Platform 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
- bugzilla.redhat.com/show_bug.cgi?id=1989407 · Vendor Advisory
- github.com/ansible/galaxy/issues/1977 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-3681
- cve.org/CVERecord?id=CVE-2021-3681
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.