CVE-2017-7642
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.
Does this matter?
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.
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.
- CVSS 3.0
- 7.8 HIGHCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.23% probability · 69th percentile
- Public exploits
- 1 in Exploit-DB · first 18 July 2017
- CISA KEV
- Not listed
- Weakness
- CWE-426
- Affected
- hashicorp/vagrant vmware fusion
- Source
- cve@mitre.org
EPSS 1.2% since 27 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
Public exploits (1)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
References
- http://seclists.org/fulldisclosure/2017/Jul/29Exploit, Mailing List, Third Party Advisory
- https://github.com/hashicorp/vagrant-plugin-changelog/blob/master/vagrant-vmware-changelog.mdRelease Notes, Third Party Advisory
- https://m4.rkw.io/blog/cve20177642-local-root-privesc-in-hashicorp-vagrantvmwarefusion--4020.htmlExploit, Third Party Advisory
- https://www.exploit-db.com/exploits/42334/Third Party Advisory, VDB Entry
- http://seclists.org/fulldisclosure/2017/Jul/29Exploit, Mailing List, Third Party Advisory
- https://github.com/hashicorp/vagrant-plugin-changelog/blob/master/vagrant-vmware-changelog.mdRelease Notes, Third Party Advisory
- https://m4.rkw.io/blog/cve20177642-local-root-privesc-in-hashicorp-vagrantvmwarefusion--4020.htmlExploit, Third Party Advisory
- https://www.exploit-db.com/exploits/42334/Third Party Advisory, VDB Entry
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.