CVE-2021-3681

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
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:redhat:ansible_automation_platform:1.2:*:*:*:*:*:*:*
cpe:2.3:a:redhat:ansible_galaxy:3.3.0:*:*:*:*:*:*:*

History

27 Apr 2022, 03:21

Type Values Removed Values Added
First Time Redhat ansible Automation Platform
Redhat ansible Galaxy
Redhat
CPE cpe:2.3:a:redhat:ansible_galaxy:3.3.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:ansible_automation_platform:1.2:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 2.1
v3 : 5.5
CWE CWE-522
References (MISC) https://github.com/ansible/galaxy/issues/1977 - (MISC) https://github.com/ansible/galaxy/issues/1977 - Third Party Advisory
References (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=1989407 - (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=1989407 - Issue Tracking, Vendor Advisory

18 Apr 2022, 17:45

Type Values Removed Values Added
New CVE

Information

Published : 2022-04-18 17:15

Updated : 2023-12-10 14:22


NVD link : CVE-2021-3681

Mitre link : CVE-2021-3681

CVE.ORG link : CVE-2021-3681


JSON object : View

Products Affected

redhat

  • ansible_galaxy
  • ansible_automation_platform
CWE
CWE-522

Insufficiently Protected Credentials