Sensitive information in log files in ansible
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 8 fixed, 4 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-532.
Summary
A flaw was found in several ansible modules, where parameters containing credentials, such as secrets, were being logged in plain-text on managed nodes, as well as being made visible on the controller node when run in verbose mode. These parameters were not protected by the no_log feature. An attacker can take advantage of this information to steal those credentials, provided when they have access to the log files containing them. The highest threat from this vulnerability is to data confidentiality. This flaw affects Red Hat Ansible Automation Platform in versions before 1.2.2 and Ansible Tower in versions before 3.8.2.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | ansible | Red Hat Ansible Automation Platform 1.2.2, Ansible Tower 3.8.2 | — | No fix listed | CNA |
- ansible Vendor— Affected Red Hat Ansible Automation Platform 1.2.2, Ansible Tower 3.8.2 Fixed in — No fix listed CNA
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* | before 1.2.2 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* | before 3.8.2 | Vulnerable | Red Hat |
| cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* | 32 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* | 33 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* | 34 | Vulnerable | Fedoraproject |
- cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* Versions before 1.2.2 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* Versions before 3.8.2 Vulnerable ·Red Hat
- cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* Versions 32 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
Remediation
Red Hat 5 advisories
- RHSA-2021:2866 Released 2021-07-22 · Red Hat rating LowRHV Engine and Host Common Packages security update [ovirt-4.4.7]
- RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4 ansible-2.9.21-1.el8ae
- Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts ansible-2.9.21-1.el8ae
- RHSA-2021:2736 Released 2021-07-22 · Red Hat rating ImportantRed Hat Virtualization Host security and bug fix update [ovirt-4.4.7]
- Red Hat Virtualization 4 Hypervisor for RHEL 8 redhat-virtualization-host-4.4.7-20210715.1.el8_4, redhat-virtualization-host-image-update-4.4.7-20210715.1.el8_4
- RHSA-2021:1343 Released 2021-04-22 · Red Hat rating ModerateAnsible security update (2.9.20)
- Red Hat Ansible Engine 2.9 for RHEL 7 Server ansible-2.9.20-1.el7ae, ansible-test-2.9.20-1.el7ae
- Red Hat Ansible Engine 2.9 for RHEL 8 ansible-2.9.20-1.el8ae, ansible-test-2.9.20-1.el8ae
Show 2 more Red Hat advisories
- RHSA-2021:1342 Released 2021-04-22 · Red Hat rating ModerateAnsible security update (2.9.20)
- Red Hat Ansible Engine 2 for RHEL 7 ansible-2.9.20-1.el7ae, ansible-test-2.9.20-1.el7ae
- Red Hat Ansible Engine 2 for RHEL 8 ansible-2.9.20-1.el8ae, ansible-test-2.9.20-1.el8ae
- RHSA-2021:1079 Released 2021-04-09 · Red Hat rating ModerateRed Hat Ansible Automation Platform Operator 1.2 security update
- Red Hat Ansible Automation Platform 1.2 for RHEL 7 ansible-automation-platform/platform-resource-operator-bundle, ansible-automation-platform/platform-resource-rhel7-operator, ansible-automation-platform/platform-resource-runner-rhel7
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ansible Tower 3 | Affected | No fix planned: Out of support scope |
| Red Hat Ceph Storage 2 | Affected | No fix planned: Out of support scope |
| Red Hat Ceph Storage 3 | Affected | No fix planned: Out of support scope |
| Red Hat Storage 3 | Affected | No fix planned: Will not fix |
| RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4 | Fixed | RHSA-2021:2866 |
| Red Hat Ansible Automation Platform 1.2 for RHEL 7 | Fixed | RHSA-2021:1079 |
| Red Hat Ansible Engine 2 for RHEL 7 | Fixed | RHSA-2021:1342 |
| Red Hat Ansible Engine 2 for RHEL 8 | Fixed | RHSA-2021:1342 |
| Red Hat Ansible Engine 2.9 for RHEL 7 Server | Fixed | RHSA-2021:1343 |
| Red Hat Ansible Engine 2.9 for RHEL 8 | Fixed | RHSA-2021:1343 |
| Red Hat Virtualization 4 Hypervisor for RHEL 8 | Fixed | RHSA-2021:2736 |
| Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts | Fixed | RHSA-2021:2866 |
Not affected: 5 products
- RHEL 8-based RHEV-H for RHEV 4 (build requirements)
- RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4
- Red Hat Virtualization 4 Hypervisor for RHEL 8
- Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts
- Red Hat Virtualization 4 Tools for Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2021-3447
- 2026-10-03 Alias added: GHSA-29hx-hv84-8wcq
References
Sources
- CVE-2021-3447 · CVE Program
- CVE-2021-3447 · NVD
- FIRST EPSS
- GHSA-29hx-hv84-8wcq · GitHub Advisory Database · CC BY 4.0
- CVE-2021-3447 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences