{"id":"CVE-2022-42717","aliases":["CVE-2022-42717"],"related":[],"kind":"vulnerability","state":"published","title":"An issue was discovered in Hashicorp Packer before 2.3.1.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se ha detectado un problema en Hashicorp Packer versiones anteriores a 2.3.1. La configuración de sudoers recomendada para Vagrant en Linux es insegura. Si el host ha sido configurado de acuerdo con esta documentación, los usuarios no privilegiados en el host pueden aprovechar un comodín en la configuración de sudoers para ejecutar comandos arbitrarios como root","source":"nvd"}],"published":"2022-10-11T00:00:00.000Z","modified":"2026-06-17T05:05:10.943Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-284"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.3.1"}],"vendor":"hashicorp","product":"vagrant","cpe":"cpe:2.3:a:hashicorp:vagrant:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/hashicorp/vagrant/pull/12910","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.vagrantup.com/docs/synced-folders/nfs","tags":["product","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2022-23-vagrant-nfs-sudoers-configuration-allows-for-local-privilege-escalation/45423","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-05-20T14:12:15.691Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-42717","url":"https://www.cve.org/CVERecord?id=CVE-2022-42717","licence":"CVE Terms of Use","modified":"2025-05-20T14:12:42.637Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-42717","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-42717","licence":"Public domain","modified":"2026-06-17T05:05:10.943Z"}],"updatedAt":"2026-11-25T22:58:15.609Z","epss":{"score":0.00246,"percentile":0.17003,"date":"2026-12-01T12:00:22.000Z"}}