{"id":"CVE-2017-7642","url":"https://www.cyber-defence.io/tools/cve/CVE-2017-7642","generatedAt":"2026-10-28T20:08:03.041Z","title":"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.","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.","published":"2017-08-02T19:29:01.000Z","lastModified":"2026-06-17T01:24:52.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.0","score":7.8,"severity":"HIGH","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-426"],"affected":["hashicorp/vagrant vmware fusion"],"epss":{"score":0.01229,"percentile":0.68756,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":1,"verified":false,"firstPublished":"2017-07-18","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":42334,"kind":"exploit","title":"Hashicorp vagrant-vmware-fusion < 4.0.20 - Local Privilege Escalation","url":"https://www.exploit-db.com/exploits/42334","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/macos/local/42334.txt","file":"exploits/macos/local/42334.txt","published":"2017-07-18","added":"2017-07-18","updated":"2018-11-15","author":"Mark Wadham","type":"local","platform":"macos","port":null,"verified":false,"codes":["CVE-2017-7642"],"tags":"Local","aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://m4.rkw.io/blog/cve20177642-local-root-privesc-in-hashicorp-vagrantvmwarefusion--4020.html"}]},"verdict":{"level":"urgent","text":"A public exploit is published in Exploit-DB and the impact is high, while EPSS rates exploitation at 1.2%. Anyone can run this; patch or mitigate before the next change window and check exposed instances for signs of use."},"changes":[],"references":[{"url":"http://seclists.org/fulldisclosure/2017/Jul/29","tags":["Exploit","Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/hashicorp/vagrant-plugin-changelog/blob/master/vagrant-vmware-changelog.md","tags":["Release Notes","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://m4.rkw.io/blog/cve20177642-local-root-privesc-in-hashicorp-vagrantvmwarefusion--4020.html","tags":["Exploit","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://www.exploit-db.com/exploits/42334/","tags":["Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"http://seclists.org/fulldisclosure/2017/Jul/29","tags":["Exploit","Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/hashicorp/vagrant-plugin-changelog/blob/master/vagrant-vmware-changelog.md","tags":["Release Notes","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://m4.rkw.io/blog/cve20177642-local-root-privesc-in-hashicorp-vagrantvmwarefusion--4020.html","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.exploit-db.com/exploits/42334/","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-7642","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}