{"schemaVersion":3,"id":"CVE-2023-5834","aliases":["GHSA-47xw-vw6m-w9fq"],"status":"published","duplicateOf":null,"title":null,"description":"HashiCorp Vagrant's Windows installer targeted a custom location with a non-protected path that could be junctioned, introducing potential for unauthorized file system writes. Fixed in Vagrant 2.4.0.","dates":{"published":"2023-10-27T21:06:38.680Z","modified":"2024-09-09T17:58:26.595Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.8,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":3.8,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N","exploitability":5.1,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00223,"percentile":0.12223,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00223},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00223,"percentile":0.12223}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00223,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00223,"percentile":0.12223}]},"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":[],"exploitCount":0,"weaknesses":[{"id":"CWE-1386","name":"Insecure Operation on Windows Junction / Mount Point","description":"The product opens a file or directory, but it does not properly prevent the name from being associated with a junction or mount point to a destination that is outside of the intended control sphere.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/1386.html"},{"id":"CWE-59","name":"Improper Link Resolution Before File Access ('Link Following')","description":"The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/59.html"}],"affected":[{"vendor":"github.com/hashicorp","product":"vagrant","name":"github.com/hashicorp/vagrant","label":"vagrant","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/hashicorp/vagrant","purlType":"golang","versions":[{"text":"< 2.4.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.4.0","eol":null,"hubHref":null},{"vendor":"hashicorp","product":"vagrant","name":"vagrant","label":"vagrant","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.4.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.4.0","eol":null,"hubHref":"/vendor/hashicorp/vagrant"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2023-31-vagrant-s-windows-installer-allowed-directory-junction-write/59568","label":"discuss.hashicorp.com/t/…","hostname":"discuss.hashicorp.com","tags":["WEB","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5834","label":"nvd.nist.gov/vuln/detail/CVE-2023-5834","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/hashicorp/vagrant","label":"github.com/hashicorp/vagrant","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-10-27T21:06:38.680Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-09T17:58:26.595Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T01:59:11.677Z","stale":false,"partial":false}}