GitHub Advisoryadvisory · PyPI
GHSA-8f4m-hccc-8qph Insertion of Sensitive Information into Log File in ansible
MEDIUM
Official page ↗
- Aliases
- CVE-2021-20191
- Ecosystem
- PyPI
- Packages
- ansible
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-532
- Reviewed
- 2021-06-01
Affected packages
• PyPI ansible: >= 2.9.0a1, < 2.9.18rc1 → fixed in 2.9.18rc1
• PyPI ansible: < 2.8.19rc1 → fixed in 2.8.19rc1
• PyPI ansible: >= 2.10.0a1, < 2.10.7 → fixed in 2.10.7
Description
A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality.
Related
Alias · CVE (1)
- CVE-2021-20191 A flaw was found in ansible. vulnerability
Weakness · CWE (1)
- CWE-532 Insertion of Sensitive Information into Log File weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-20191 advisory
- https://github.com/ansible/ansible/pull/73488 web
- https://github.com/ansible/ansible/pull/73489 web
- https://github.com/ansible/ansible/commit/cc82d986c40328d4ae81298a9d287c95a6326bb0 web
- https://github.com/ansible/ansible/commit/d74a1b1d1325af2a24848044cf2858987f5a3ecc web
- https://access.redhat.com/security/cve/cve-2021-20191 web
- https://bugzilla.redhat.com/show_bug.cgi?id=1916813 web
- https://github.com/advisories/GHSA-8f4m-hccc-8qph advisory
- https://github.com/ansible/ansible package
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-124.yaml web
- https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html web