CVE-2017-7466
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.
What to do
Fixed builds are available from Debian, PyPI, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | ansible | Fixed | 2.0.0.2-2ubuntu1.1 | UBUNTU-CVE-2017-7466 |
| Debian 14 | ansible | Fixed | 2.2.1.0-2 | DEBIAN-CVE-2017-7466 |
| Debian 13 | ansible | Fixed | 2.2.1.0-2 | DEBIAN-CVE-2017-7466 |
| Debian 12 | ansible | Fixed | 2.2.1.0-2 | DEBIAN-CVE-2017-7466 |
| PyPI library | ansible | Fixed | 2.2.3.0 | PYSEC-2018-40 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- [UNKNOWN] ansible: affected: ansible 2.3
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2017:1599 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:1334 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:1685 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:1244 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:1499 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:1476 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2017:1599
- https://access.redhat.com/errata/RHSA-2017:1334
- http://www.securityfocus.com/bid/97595
- https://access.redhat.com/errata/RHSA-2017:1685
- https://access.redhat.com/errata/RHSA-2017:1244
- https://access.redhat.com/errata/RHSA-2017:1499
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7466
- https://access.redhat.com/errata/RHSA-2017:1476
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.