VDB
Sign up
MEDIUM5.5

PYSEC-2020-202

Quick fix

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

pip install --upgrade 'ansible>=c4b5e46054c74176b2446c82d4df1a2610eddc08'

Details

Ansible before 1.5.5 constructs filenames containing user and password fields on the basis of deb lines in sources.list, which might allow local users to obtain sensitive credential information in opportunistic circumstances by leveraging existence of a file that uses the "deb http://user:pass@server:port/" format.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/ansible
Introduced in: 0Fixed in: c4b5e46054c74176b2446c82d4df1a2610eddc08
Fixpip install --upgrade 'ansible>=c4b5e46054c74176b2446c82d4df1a2610eddc08'

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