CVE-2021-3447 json
A flaw was found in several ansible modules, where parameters containing credentials, such as secrets, were being logged in plain-text on m…
published 2021-04-01 5 y ago modified 2026-06-17 4 mo ago also PYSEC-2021-107 , EUVD-2021-0007
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 26%
- public exploits
- 0
- none known
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.
Patch / fix
- pypi ansible 1.2.2
- redhat ansible 1.2.2
- redhat ansible_tower 3.8.2
- ansible Debian 14, Debian 13, Debian 12 2.10.7+merged+base+2.10.8+dfsg-1
debian advisories DEBIAN-CVE-2021-3447
- redhat-virtualization-host rhev hypervisor 4.4 4.4.7-20210715.1.el8_4
- redhat-virtualization-host-image-update rhev hypervisor 4.4 4.4.7-20210715.1.el8_4
- ansible rhev manager 4.4, rhev hypervisor 4.4 2.9.21-1.el8ae
- ansible ansible engine 2.9, ansible engine 2 2.9.20-1.el7ae
- ansible ansible engine 2.9, ansible engine 2 2.9.20-1.el8ae
- ansible-test ansible engine 2.9, ansible engine 2 2.9.20-1.el7ae
- ansible-test ansible engine 2.9, ansible engine 2 2.9.20-1.el8ae
red hat advisories RHSA-2021:2736RHSA-2021:2866RHSA-2021:1342RHSA-2021:1343
- rhnlib Manager Client Tools 15-BETA 5.0.1-159000.6.30.1
- ansible Manager Client Tools 15-BETA 2.9.27-159000.3.9.1
- grafana Manager Client Tools 15-BETA 9.5.8-159000.4.24.1
- mgr-push Manager Client Tools 15-BETA 5.0.1-159000.4.21.1
- spacecmd Manager Client Tools 15-BETA 5.0.1-159000.6.42.1
- python-hwdata Manager Client Tools 15-BETA 2.3.5-159000.5.13.1
- python-pyvmomi Manager Client Tools 15-BETA 6.7.3-159000.3.6.1
- dracut-saltboot Manager Client Tools Beta for SLE Micro 5, Manager Client Tools 15-BETA 0.1.1681904360.84ef141-159000.3.30.1
suse advisories SUSE-SU-2024:0196-1SUSE-SU-2022:3178-1SUSE-SU-2021:2121-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-3447 updated cvss 5.0
ansible: multiple modules expose secured values
-
Red Hat Ansible Tower 3 ansible-tower Red Hat Ceph Storage 2 ansible Red Hat Ceph Storage 3 ansibleaffected: no fix planned “Out of support scope”
-
Red Hat Storage 3 ansibleaffected: no fix planned “Will not fix”
-
Red Hat Ansible Automation Platform 1.2 for RHEL 7 ansible-automation-platform/platform-resource-runner-rhel7 v0.1.0-15, ansible-automation-platform/platform-resource-operator-bundle v0.1.1-1, ansible-automation-platform/platform-resource-rhel7-operator v0.1.0-12fixed: vendor fix RHSA-2021:1079
-
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.el8aefixed: vendor fix RHSA-2021:1342
-
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.el8aefixed: vendor fix RHSA-2021:1343
-
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_4fixed: vendor fix RHSA-2021:2736
-
Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts ansible 2.9.21-1.el8ae Red Hat RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4 ansible 2.9.21-1.el8aefixed: vendor fix RHSA-2021:2866
-
Red Hat Virtualization 4 Hypervisor for RHEL 8 vhostmd 1.1-5.el8, vm-dump-metrics 1.1-5.el8, fcoe-utils 1.0.33-3.git848bcc6.el8 Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts ovirt-imageio 2.2.0-1.el8ev, ovirt-openvswitch 2.11-1.el8ev, ovirt-imageio-client 2.2.0-1.el8ev, ovirt-imageio-common 2.2.0-1.el8ev, ovirt-imageio-daemon 2.2.0-1.el8ev, ovirt-openvswitch-ovn 2.11-1.el8ev, +8 more Red Hat Virtualization 4 Tools for Red Hat Enterprise Linux 8 ovirt-ansible-collection 1.5.3-1.el8ev, python-ovirt-engine-sdk4 4.4.13-1.el8ev, python3-ovirt-engine-sdk4 4.4.13-1.el8ev Red Hat RHEL 8-based RHEV-H for RHEV 4 (build requirements) imgbased 1.2.21-1.el8ev, python3-imgbased 1.2.21-1.el8ev, scap-security-guide 0.1.54-2.el8ev, scap-security-guide-rhv 0.1.54-2.el8ev, redhat-release-virtualization-host 4.4.7-3.el8ev, redhat-virtualization-host-image-update-placeholder 4.4.7-3.el8ev Red Hat RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4 ovirt-imageio 2.2.0-1.el8ev, ovirt-openvswitch 2.11-1.el8ev, ovirt-imageio-client 2.2.0-1.el8ev, ovirt-imageio-common 2.2.0-1.el8ev, ovirt-imageio-daemon 2.2.0-1.el8ev, ovirt-openvswitch-ovn 2.11-1.el8ev, +8 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.33% chance of exploitation in the next 30 days, higher than 26% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | ansible | <1.2.2 |
1.2.2 |
Affected products
- n/a ansible
Classification
- Weakness
-
- CWE-532 Insertion of Sensitive Information into Log File
References
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/JBZ75MAMVQVZROPYHMRDQKPPVASP63DG/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/RUTGO4RS4ZXZSPBU2CHVPT75IAFVTTL3/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/2MS4VPUYVLGSAKOX26IT52BSMEZRZ3KS/
vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1939349
issue-tracking, vendor-advisory, report
-
lists.debian.org
/debian-lts-announce/2023/12/msg00018.html
mailing-list
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/RUTGO4RS4ZXZSPBU2CHVPT75IAFVTTL3/
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/2MS4VPUYVLGSAKOX26IT52BSMEZRZ3KS/
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/JBZ75MAMVQVZROPYHMRDQKPPVASP63DG/
web
Sources
- CVE List CVE-2021-3447
- NVD CVE-2021-3447
- OSV PYSEC-2021-107
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.