{"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-03-13T05:04:46.240001Z","published":"2022-04-18T17:15:15.507Z","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":"0"},{"last_affected":"a0c909deff4ee036adb58e371d170f06807dd7f6"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"3.3.0"}]}}],"versions":["v2.1.2","v2.2.0","v2.3.0","v2.3.1","v2.4.0","v3.0.0","v3.0.1","v3.0.10","v3.0.11","v3.0.12","v3.0.13","v3.0.14","v3.0.2","v3.0.3","v3.0.4","v3.0.5","v3.0.6","v3.0.7","v3.0.8","v3.0.9","v3.1.0","v3.1.1","v3.1.2","v3.1.3","v3.1.4","v3.1.5","v3.1.6","v3.1.7","v3.1.8","v3.2.0","v3.2.1","v3.2.2","v3.2.3","v3.2.4","v3.3.0"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"1.2"}]}],"source":"https://storage.googleapis.com/osv-test-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"}]}