Vulnerability in Red Hat Ansible Automation Platform

CVE-2021-3681

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.

EPSS: 0.002 (15.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-3681?
CVE-2021-3681 is a medium-severity vulnerability in Red Hat Ansible Automation Platform, classified under Insufficiently Protected Credentials. CVSS score: 5.5/10. Published 2022-04-18.
How severe is CVE-2021-3681?
Medium severity. CVSS v3 base score is 5.5 out of 10.