8.0high

CVE-2017-7466

Ansible Arbitrary Code Execution

Also known as GHSA-3m8p-xpm6-8ww3, PYSEC-2018-40

Published 8 y ago · modified 4 mo ago · JSON

CVSS
8.0
v3.0 · CNA
CISA KEV
No
not known exploited
EPSS
3.0%
percentile 87%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

3.00% probability of exploitation in the next 30 days, higher than 87% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
CNA3.08.0CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CNA3.08.0CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
NVD3.08.0CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
NVD2.08.5AV:N/AC:M/Au:S/C:C/I:C/A:C
GitHub3.08.0CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected packages

EcosystemPackageAffectedFixed in
pypiansible
<2.2.3.0
<2.3.0.0
2.2.3.0
2.3.0.0

Affected products

  • [UNKNOWN] ansible

Classification

Weakness
  • CWE-20 Improper Input Validation

References

  • access.redhat.com /errata/RHSA-2017:1599 · vendor-advisory, x_refsource_REDHAT, x_transferred
  • access.redhat.com /errata/RHSA-2017:1334 · vendor-advisory, x_refsource_REDHAT, x_transferred
  • securityfocus.com /bid/97595 · vdb-entry, x_refsource_BID, x_transferred
  • access.redhat.com /errata/RHSA-2017:1685 · vendor-advisory, x_refsource_REDHAT, x_transferred
  • access.redhat.com /errata/RHSA-2017:1244 · vendor-advisory, x_refsource_REDHAT, x_transferred
  • access.redhat.com /errata/RHSA-2017:1499 · vendor-advisory, x_refsource_REDHAT, x_transferred
  • bugzilla.redhat.com /show_bug.cgi?id=CVE-2017-7466 · x_refsource_CONFIRM, x_transferred
  • access.redhat.com /errata/RHSA-2017:1476 · vendor-advisory, x_refsource_REDHAT, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2017-7466 · advisory
  • github.com /ansible/ansible/issues/24186 · web
  • github.com /ansible/ansible/commit/0d418789a298561fded9bce977d34babc9097079 · web
  • github.com /ansible/ansible/commit/7ff9fa52cfcef2065f0db80d85dd94b9b754839c · web
  • github.com /ansible/ansible · package
  • github.com /pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-40.yaml · web
  • web.archive.org /web/20170701161323/http://www.securityfocus.com/bid/97595 · web
  • github.com /advisories/GHSA-3m8p-xpm6-8ww3 · advisory

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.