MEDIUM5.5
PYSEC-2021-106
Quick fix
PYSEC-2021-106 — ansible: upgrade to the fixed version with the command below.
pip install --upgrade 'ansible>=2.9.18'Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/ansible/ansible/blob/v2.9.18/changelogs/CHANGELOG-v2.9.rst#security-fixes,[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HIU7QZUV73U6ZQ65VJWSFBTCALVXLH55/[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FUQ2QKAQA5OW2TY3ACZZMFIAJ2EQTG37/[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=1914774[REPORT]
- https://github.com/ansible-collections/community.general/pull/1635,[WEB]
- https://github.com/advisories/GHSA-wv5p-gmmv-wh9v[ADVISORY]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:pypi/ansible"]}'