CVE-2021-3681Redhat Ansible Automation Platform
Medium 5.5
Follow: this CVE · Redhat · Redhat Ansible Automation Platform We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- 0.2% probability of exploitation in 30 days · percentile 10
- Auth required
- Yes
- Published
- Apr 18, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-522
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Ansible Automation Platform.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redhat | ansible_automation_platform | 1.2 |
| redhat | ansible_galaxy | 3.3.0 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Vendor Advisory
- github.com Third Party Advisory