VDB
Sign up
HIGH7.1

PYSEC-2020-209

Quick fix

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

pip install --upgrade 'ansible>=2.8.16rc1'

Details

A flaw was found in the Ansible Engine, in ansible-engine 2.8.x before 2.8.15 and ansible-engine 2.9.x before 2.9.13, when installing packages using the dnf module. GPG signatures are ignored during installation even when disable_gpg_check is set to False, which is the default behavior. This flaw leads to malicious packages being installed on the system and arbitrary code executed via package installation scripts. The highest threat from this vulnerability is to integrity and system availability.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/ansible
Introduced in: 2.8.0Fixed in: 2.8.16rc1
Fixpip install --upgrade 'ansible>=2.8.16rc1'

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