GitHub Advisoryadvisory · PyPI
GHSA-fh5v-5f35-2rv2 Insertion of Sensitive Information into Log File in ansible
MEDIUM
Official page ↗
- Aliases
- CVE-2021-20180
- 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
- 2022-06-29
Affected packages
• PyPI ansible: >= 2.8.0a1, < 2.8.19 → fixed in 2.8.19
• PyPI ansible: >= 2.9.0b1, < 2.9.18 → fixed in 2.9.18
Description
A flaw was found in ansible module where credentials are disclosed in the console log by default and not protected by the security feature when using the bitbucket_pipeline_variable module. This flaw allows an attacker to steal bitbucket_pipeline credentials. The highest threat from this vulnerability is to confidentiality.
Related
Alias · CVE (1)
- CVE-2021-20180 A flaw was found in ansible module where credentials are disclosed in the console log by default and not protected by the security feature… vulnerability
Weakness · CWE (1)
- CWE-532 Insertion of Sensitive Information into Log File weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-20180 advisory
- https://github.com/ansible/ansible/pull/73242 web
- https://github.com/ansible/ansible/pull/73243 web
- https://bugzilla.redhat.com/show_bug.cgi?id=1915808 web
- https://github.com/ansible/ansible package
- https://github.com/ansible/ansible/blob/v2.8.19/changelogs/CHANGELOG-v2.8.rst web
- https://github.com/ansible/ansible/blob/v2.9.18/changelogs/CHANGELOG-v2.9.rst web
- https://github.com/ansible/ansible/tree/v2.7.18/lib/ansible/modules/source_control web
- https://github.com/ansible/ansible/tree/v2.8.0a1/lib/ansible/modules/source_control web