CVEvulnerability
CVE-2021-3681
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2022-04-18
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CVSS 2.0 ([email protected])
- 2.1 LOW — AV:L/AC:L/Au:N/C:P/I:N/A:N
- Weaknesses
- CWE-522
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.
Affected configurations
• redhat ansible automation platform 1.2
• redhat ansible galaxy 3.3.0
Related
Weakness · CWE (1)
- CWE-522 Insufficiently Protected Credentials weakness
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1989407 Issue Tracking, Vendor Advisory
- https://github.com/ansible/galaxy/issues/1977 Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1989407 Issue Tracking, Vendor Advisory
- https://github.com/ansible/galaxy/issues/1977 Third Party Advisory