VULNERABILITY INTELLIGENCE

CVE-2021-3681

CVSS score5.5 MEDIUM
EPSS probability0.25%
CISA KEVNot currently listed
Published2022-04-18
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

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.

Weakness classification

  • secalert@redhat.com: CWE-522
  • nvd@nist.gov: CWE-522

Primary references