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.
References
Link Resource
https://bugzilla.redhat.com/show_bug.cgi?id=1989407 Issue Tracking Vendor Advisory
https://github.com/ansible/galaxy/issues/1977 Third Party Advisory
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: redhat

Published: 2022-04-18T16:20:37

Updated: 2022-04-18T16:20:37

Reserved: 2021-08-03T00:00:00


Link: CVE-2021-3681

JSON object: View

cve-icon NVD Information

Status : Modified

Published: 2022-04-18T17:15:15.507

Modified: 2023-11-07T03:38:12.500


Link: CVE-2021-3681

JSON object: View

cve-icon Redhat Information

No data.

CWE