7.5high
Ansible Exposes Sensitive Information
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 2.04% (higher than 81% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-5rrg-rr89-x9mvPYSEC-2021-1
Description
A flaw was found in the Ansible Engine 2.9.18, 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
| Product or package | Versions | Reported by |
|---|---|---|
| ansible | ansible-engine 2.9.18 | CVE List |
| ansible (PyPI) | from 2.10.0a1 before 2.10.6rc1, from 2.9.0a1 before 2.9.18rc1, before 2.8.19rc1, before 2.9.19 | GitHub Advisory Database, PyPA Advisory Database |
| redhat ansible_engine | 2.9.18, 2.0, 2.9 | NVD |
| redhat ansible_automation_platform | 1.2 | NVD |
| redhat ansible_tower | 3.0 | NVD |
| debian debian_linux | 10.0 | NVD |
All scores
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | high 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 |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
What each source says
CVE List
A flaw was found in the Ansible Engine 2.9.18, 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.
GitHub Advisory Database
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.
NVD (es)
Se encontró un fallo en Ansible Engine versión 2.9.18, donde la información confidencial no está enmascarada por defecto y no está protegida por la funcionalidad no_log cuando se usa la funcionalidad sub-option del módulo basic.py. Este fallo permite a un atacante obtener información confidencial. La mayor amenaza de esta vulnerabilidad es la confidencialidad
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-20228 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5rrg-rr89-x9mv changed 2024-09-09 | CC-BY-4.0 |
| NVD | CVE-2021-20228 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2021-1 changed 2023-11-08 | CC-BY-4.0 |