CVE-2021-3681
Last modified
CVE-2021-3681 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Redhat | Ansible Automation Platform | 1.2 |
| Redhat | Ansible Galaxy | 3.3.0 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1989407Issue Tracking, Vendor Advisory
- https://github.com/ansible/galaxy/issues/1977Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1989407Issue Tracking, Vendor Advisory
- https://github.com/ansible/galaxy/issues/1977Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-3681?
How severe is CVE-2021-3681?
How do I fix CVE-2021-3681?
Are you affected by CVE-2021-3681?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
