CVE-2021-3681
JSON

5.5medium

A flaw was found in Ansible Galaxy Collections.

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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

Product or packageVersionsReported by
ansibleansible 3.3.0CVE List
redhat ansible_automation_platform1.2NVD
redhat ansible_galaxy3.3.0NVD

All scores

NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD2.1low CVSS:2.0AV:L/AC:L/Au:N/C:P/I:N/A:N

Classification

What each source says

CVE List

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.

NVD (es)

Se ha encontrado un fallo en Ansible Galaxy Collections. Cuando las colecciones son construidas manualmente, cualquier archivo en el directorio del repositorio que no sea excluido explícitamente por medio de la lista "build_ignore" en "galaxy.yml" incluye archivos en el archivo ".tar.gz". Esto contiene información confidencial, como la clave de la API de Ansible Galaxy del usuario y cualquier secreto en la salida verbosa de "ansible" o "ansible-playbook" sin la redacción "no_log". Actualmente, no se presenta forma de eliminar una colección o una versión de la colección. Una vez publicada, cualquiera que descargue o instale la colección puede visualizar los secretos

References

Sources

SourceRecordLicence
CVE ListCVE-2021-3681 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-3681 changed 2026-06-17Public domain