CVE-2017-7642
CWE-426Published: August 2, 2017· Updated: Jun 17, 2026
Official Description
The sudo helper in the HashiCorp Vagrant VMware Fusion plugin (aka vagrant-vmware-fusion) before 4.0.21 allows local users to gain root privileges by leveraging failure to verify the path to the encoded ruby script or scrub the PATH variable.
Technical Analysis
CVE-2017-7642 requires local access, meaning attackers must already have a foothold on the target system.
Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 7.8.
A proof-of-concept (PoC) exploit exists for CVE-2017-7642. While not yet confirmed in active campaigns, the availability of PoC code increases exploitation risk substantially.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (8)
Quick Facts
Related CVEs (CWE-426)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2017-7642 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts