{"id":"CVE-2021-3681","details":"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.","modified":"2026-07-08T06:04:32.938015921Z","published":"2022-04-18T17:15:15.507Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"introduced":"1.2"},{"last_affected":"1.2"}],"source":"CPE_STRING","vendor_product":"redhat:ansible_automation_platform","cpes":["cpe:2.3:a:redhat:ansible_automation_platform:1.2:*:*:*:*:*:*:*"]}]},"references":[{"type":"ADVISORY","url":"https://github.com/ansible/galaxy/issues/1977"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1989407"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ansible/galaxy","events":[{"introduced":"a0c909deff4ee036adb58e371d170f06807dd7f6"},{"last_affected":"a0c909deff4ee036adb58e371d170f06807dd7f6"}],"database_specific":{"source":"CPE_STRING","cpe":"cpe:2.3:a:redhat:ansible_galaxy:3.3.0:*:*:*:*:*:*:*","extracted_events":[{"introduced":"3.3.0"},{"last_affected":"3.3.0"}]}}],"versions":["3.3.0","v3.3.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3681.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}