VDB
Sign up
MEDIUM6.5

PYSEC-2019-145

Quick fix

PYSEC-2019-145 — ansible: upgrade to the fixed version with the command below.

pip install --upgrade 'ansible>=2.6.19'

Details

ansible-playbook -k and ansible cli tools, all versions 2.8.x before 2.8.4, all 2.7.x before 2.7.13 and all 2.6.x before 2.6.19, prompt passwords by expanding them from templates as they could contain special characters. Passwords should be wrapped to prevent templates trigger and exposing them.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/ansible
Introduced in: 2.6.0Fixed in: 2.6.19
Fixpip install --upgrade 'ansible>=2.6.19'

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