CVE-2017-7466
HIGH 8.0CVSS 3.0Ansible Arbitrary Code Execution
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.
- Published
- 22 Jun 2018
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-3m8p-xpm6-8ww3PYSEC-2018-40
- Sources
- NVDJSONOSV GHSA-3m8p-xpm6-8ww3JSONOSV PYSEC-2018-40JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.0 | HIGH 8.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 8.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 8.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 8.5 | AV:N/AC:M/Au:S/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | ansiblecpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* |
< 2.3 | 2.3 |
| NVD | redhat | openstackcpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:* |
= 10 | |
| NVD | redhat | openstackcpe:2.3:a:redhat:openstack:11:*:*:*:*:*:*:* |
= 11 | |
| OSV | PyPI | ansible | < 2.2.3.0 | 2.2.3.0 |
| OSV | PyPI | ansible | < 2.3.0.0 | 2.3.0.0 |
References
- http://www.securityfocus.com/bid/97595 · Third Party Advisory, VDB Entry, WEB
- https://access.redhat.com/errata/RHSA-2017:1244 · Third Party Advisory, WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2017:1334 · Third Party Advisory, WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2017:1476 · Third Party Advisory, WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2017:1499 · Third Party Advisory, WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2017:1599 · Third Party Advisory, WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2017:1685 · Third Party Advisory, WEB, ADVISORY
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7466 · Issue Tracking, Third Party Advisory, WEB, REPORT
- https://nvd.nist.gov/vuln/detail/CVE-2017-7466 · ADVISORY
- https://github.com/ansible/ansible/issues/24186 · WEB
- https://github.com/ansible/ansible/commit/0d418789a298561fded9bce977d34babc9097079 · WEB
- https://github.com/ansible/ansible/commit/7ff9fa52cfcef2065f0db80d85dd94b9b754839c · WEB
- https://github.com/ansible/ansible · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-40.yaml · WEB
- https://web.archive.org/web/20170701161323/http://www.securityfocus.com/bid/97595 · WEB
- https://github.com/advisories/GHSA-3m8p-xpm6-8ww3 · ADVISORY
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 22 Jun 2018)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 22 Jun 2018)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 May 2022)