CVE-2021-20228
HIGH7.5EPSS 0.24%Ansible Exposes Sensitive Information
Published: 5/25/2022Modified: 9/9/2024
Description
A flaw was found in the Ansible Engine prior to 2.10.6rc1, 2.9.18rc1, and 2.8.19rc1, where sensitive info is not masked by default and is not protected by the `no_log` feature when using the sub-option feature of the basic.py module. This flaw allows an attacker to obtain sensitive information. The highest threat from this vulnerability is to confidentiality.
Affected packages (3)
- Debian/ansiblefrom 0, < 2.10.7+merged+base+2.10.8+dfsg-1
- PyPI/ansible>= 2.10.0a1, < 2.10.6rc1
- PyPI/ansiblefrom 0, < 2.9.19
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
References (14)
- ADVISORYhttps://github.com/advisories/GHSA-5rrg-rr89-x9mv
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-20228
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-20228
- PATCHhttps://github.com/ansible/ansible
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=1925002
- WEBhttps://github.com/ansible/ansible/commit/49ebd509df9de1c1fc1bcee00e79a835dd00662c
- WEBhttps://github.com/ansible/ansible/commit/e41d1f0a3fd6c466192e7e24accd3d1c6501111b
- WEBhttps://github.com/ansible/ansible/commit/f8ff395d817c3eddc050f809919c15dfb5796120
- WEBhttps://github.com/ansible/ansible/pull/73487
- WEBhttps://github.com/ansible/ansible/pull/73492
- WEBhttps://github.com/ansible/ansible/pull/73493
- WEBhttps://github.com/ansible/ansible/pull/73494
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-1.yaml
- WEBhttps://www.debian.org/security/2021/dsa-4950