CVE-2021-3681
Summary
| CVE | CVE-2021-3681 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-04-18 17:15:00 UTC |
| Updated | 2023-11-07 03:38:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-522
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Redhat | Ansible Automation Platform | 1.2 | All | All | All |
| Application | Redhat | Ansible Galaxy | 3.3.0 | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| 1989407 – (CVE-2021-3681) CVE-2021-3681 ansible: Secrets leakage vulnerability with ansible collections and ansible galaxy | MISC | bugzilla.redhat.com | |
| Add Collection management features to Galaxy Admin site · Issue #1977 · ansible/galaxy · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.