VDB
Sign up
—

PYSEC-2020-203

Quick fix

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

pip install --upgrade 'ansible>=5429b85b9f6c2e640074176f36ff05fd5e4d1916'

Details

The safe_eval function in Ansible before 1.6.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code via crafted instructions. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-4657.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References