{"id":"CVE-2022-42717","url":"https://www.cyber-defence.io/tools/cve/CVE-2022-42717","generatedAt":"2026-10-27T19:05:23.036Z","title":"The recommended sudoers configuration for Vagrant on Linux is insecure.","description":"An issue was discovered in Hashicorp Packer before 2.3.1. The recommended sudoers configuration for Vagrant on Linux is insecure. If the host has been configured according to this documentation, non-privileged users on the host can leverage a wildcard in the sudoers configuration to execute arbitrary commands as root.","published":"2022-10-11T23:15:10.000Z","lastModified":"2026-06-17T05:05:11.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","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"},"cwe":["CWE-284"],"affected":["hashicorp/vagrant"],"epss":{"score":0.00253,"percentile":0.16663,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.25%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2022-23-vagrant-nfs-sudoers-configuration-allows-for-local-privilege-escalation/45423","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/hashicorp/vagrant/pull/12910","tags":["Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://www.vagrantup.com/docs/synced-folders/nfs","tags":["Product"],"source":"cve@mitre.org"},{"url":"https://discuss.hashicorp.com/t/hcsec-2022-23-vagrant-nfs-sudoers-configuration-allows-for-local-privilege-escalation/45423","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/hashicorp/vagrant/pull/12910","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.vagrantup.com/docs/synced-folders/nfs","tags":["Product"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-42717","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."}