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.
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.002 (14.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 15th percentile — 14.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: 0.000
Affected products
- Red Hat Ansible Automation Platform — versions 1.2
- Red Hat Ansible Galaxy — versions 3.3.0
- Ansible — versions ansible 3.3.0
Weakness classification (CWE)
References
- bugzilla.redhat.com/show_bug.cgi (Issue Tracking, Vendor Advisory)
- github.com/ansible/galaxy/issues/1977 (Third Party Advisory)
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.