HIGH8.0
PYSEC-2018-40
Quick fix
PYSEC-2018-40 — ansible: upgrade to the fixed version with the command below.
pip install --upgrade 'ansible>=2.3.0.0'Details
Ansible before version 2.3 has an input validation vulnerability in the handling of data sent from client systems. An attacker with control over a client system being managed by Ansible, and the ability to send facts back to the Ansible server, could use this flaw to execute arbitrary code on the Ansible server using the Ansible server privileges.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7466[REPORT]
- https://access.redhat.com/errata/RHSA-2017:1685[ADVISORY]
- https://access.redhat.com/errata/RHSA-2017:1599[ADVISORY]
- https://access.redhat.com/errata/RHSA-2017:1499[ADVISORY]
- https://access.redhat.com/errata/RHSA-2017:1476[ADVISORY]
- https://access.redhat.com/errata/RHSA-2017:1334[ADVISORY]
- https://access.redhat.com/errata/RHSA-2017:1244[ADVISORY]
- http://www.securityfocus.com/bid/97595[WEB]
- https://github.com/advisories/GHSA-3m8p-xpm6-8ww3[ADVISORY]
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"]}'