VDB
Sign up
MEDIUM5.0

PYSEC-2020-13

Quick fix

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

pip install --upgrade 'ansible>=2.7.17'

Details

A flaw was found in the Ansible Engine affecting Ansible Engine versions 2.7.x before 2.7.17 and 2.8.x before 2.8.11 and 2.9.x before 2.9.7 as well as Ansible Tower before and including versions 3.4.5 and 3.5.5 and 3.6.3 when the ldap_attr and ldap_entry community modules are used. The issue discloses the LDAP bind password to stdout or a log file if a playbook task is written using the bind_pw in the parameters field. The highest threat from this vulnerability is data confidentiality.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

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