VDB
Sign up
MEDIUM5.9

PYSEC-2018-42

Quick fix

PYSEC-2018-42 — ansible: upgrade to the fixed version with the command below.

pip install --upgrade 'ansible>=2.5.5'

Details

Ansible 2.5 prior to 2.5.5, and 2.4 prior to 2.4.5, do not honor the no_log task flag for failed tasks. When the no_log flag has been used to protect sensitive data passed to a task from being logged, and that task does not run successfully, Ansible will expose sensitive data in log files and on the terminal of the user running Ansible.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/ansible
Introduced in: 2.5Fixed in: 2.5.5
Fixpip install --upgrade 'ansible>=2.5.5'

References

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"]}'