VDB
Sign up
—

PYSEC-2021-126

Quick fix

PYSEC-2021-126 — ansible: upgrade to the fixed version with the command below.

pip install --upgrade 'ansible>=3.0.0'

Details

A flaw was found in Ansible if an ansible user sets ANSIBLE_ASYNC_DIR to a subdirectory of a world writable directory. When this occurs, there is a race condition on the managed machine. A malicious, non-privileged account on the remote machine can exploit the race condition to access the async result data. This flaw affects Ansible Tower 3.7 and Ansible Automation Platform 1.2.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

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