{"schemaVersion":3,"id":"CVE-2017-7642","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2017-08-02T19:00:00.000Z","modified":"2024-08-05T16:12:27.868Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","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","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.2,"severity":"high","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01229,"percentile":0.68683,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.01229},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01146,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01229,"percentile":0.68683}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01229,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01229,"percentile":0.68683}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_C2875AE567A724D2","name":"Exploit Reference (seclists.org)","source":"reference","url":"http://seclists.org/fulldisclosure/2017/Jul/29","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_4240D245C46EAC5C","name":"Exploit Reference (m4.rkw.io)","source":"reference","url":"https://m4.rkw.io/blog/cve20177642-local-root-privesc-in-hashicorp-vagrantvmwarefusion--4020.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"42334","name":"Hashicorp vagrant-vmware-fusion < 4.0.20 - Local Privilege Escalation","source":"exploit-database","url":"https://www.exploit-db.com/exploits/42334","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":"local","platforms":["macos"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"local","platform":"macos","file":"exploits/macos/local/42334.txt","codes":["CVE-2017-7642"]},"metasploit":null}],"exploitCount":3,"weaknesses":[{"id":"CWE-426","name":"Untrusted Search Path","description":"The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/426.html"}],"affected":[{"vendor":"hashicorp","product":"vagrant_vmware_fusion","name":"vagrant vmware fusion","label":"vagrant_vmware_fusion","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 4.0.20","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 4.0.20","eol":null,"hubHref":"/vendor/hashicorp/vagrant_vmware_fusion"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://seclists.org/fulldisclosure/2017/Jul/29","label":"seclists.org/fulldisclosure/2017/Jul/29","hostname":"seclists.org","tags":["Mailing List","X Refsource FULLDISC","Exploit","Third Party Advisory"]},{"url":"https://github.com/hashicorp/vagrant-plugin-changelog/blob/master/vagrant-vmware-changelog.md","label":"github.com/hashicorp/vagrant-plugin-changelog/blob/master/vagrant-vmware-changelog.md","hostname":"github.com","tags":["X Refsource CONFIRM","Release Notes","Third Party Advisory"]},{"url":"https://www.exploit-db.com/exploits/42334/","label":"www.exploit-db.com/exploits/42334/","hostname":"www.exploit-db.com","tags":["Exploit","X Refsource EXPLOIT DB","Third Party Advisory","VDB Entry"]},{"url":"https://m4.rkw.io/blog/cve20177642-local-root-privesc-in-hashicorp-vagrantvmwarefusion--4020.html","label":"m4.rkw.io/blog/cve20177642-local-root-privesc-in-hashicorp-vagrantvmwarefusion--4020.html","hostname":"m4.rkw.io","tags":["X Refsource MISC","Exploit","Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2017-08-02T19:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T16:12:27.868Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T14:44:50.419Z","stale":false,"partial":false}}