VDB
Sign up
MEDIUM6.5

PYSEC-2020-160

Quick fix

PYSEC-2020-160 — ansible: upgrade to the fixed version with the command below.

pip install --upgrade 'ansible>=2.7.15'

Details

Ansible, versions 2.9.x before 2.9.1, 2.8.x before 2.8.7 and Ansible versions 2.7.x before 2.7.15, is not respecting the flag no_log set it to True when Sumologic and Splunk callback plugins are used send tasks results events to collectors. This would discloses and collects any sensitive data.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/ansible
Introduced in: 2.7.0Fixed in: 2.7.15
Fixpip install --upgrade 'ansible>=2.7.15'

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