MEDIUM5.5
PYSEC-2022-164
Quick fix
PYSEC-2022-164 — ansible: upgrade to the fixed version with the command below.
pip install --upgrade 'ansible>=fe28767970c8ec62aabe493c46b53a5de1e5fac0'Details
A flaw was found in Ansible Engine's ansible-connection module, where sensitive information such as the Ansible user credentials is disclosed by default in the traceback error message. The highest threat from this vulnerability is to confidentiality.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/ansible
Introduced in:
0Fixed in: fe28767970c8ec62aabe493c46b53a5de1e5fac0Fix
pip install --upgrade 'ansible>=fe28767970c8ec62aabe493c46b53a5de1e5fac0'References
- https://github.com/ansible/ansible/commit/fe28767970c8ec62aabe493c46b53a5de1e5fac0[FIX]
- https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#security-fixes[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=1975767[REPORT]
- https://github.com/advisories/GHSA-4r65-35qq-ch8j[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"]}'