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.
Conclusion & alert: CVE-2022-42717 is rated Low Risk (36/100): CVSS High severity, with low exploitation likelihood (EPSS 0.23%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.06% | 0.23% | +0.16% |
| 2 | 2025-03-17 | 0.04% | 0.06% | +0.02% |
| 3 | 2023-03-07 | — | 0.04% | — |
Full EPSS history (4 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.8 | 3.1 | HIGH |
|
1.8 | 5.9 | [email protected] |
| 7.8 | 3.1 | HIGH |
|
1.8 | 5.9 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2022-42717: 1 source package rows (packer); 2 state rows across 2 repos (3.17-community, 3.18-community); fixed 0, open 2. | https://security.alpinelinux.org/vuln/CVE-2022-42717 |
ubuntu
|
medium | CVE-2022-42717 medium priority: Ubuntu including 1 source packages (vagrant), 13 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): needs-triage 5, DNE 4, ignored 4. | https://ubuntu.com/security/CVE-2022-42717 |
| URL | Tags |
|---|---|
| https://discuss.hashicorp.com/t/hcsec-2022-23-vagrant-nfs-sudoers-configuration-allows-for-local-privilege-escalation/45423 | Vendor Advisory |
| https://github.com/hashicorp/vagrant/pull/12910 | Patch Third Party Advisory |
| https://www.vagrantup.com/docs/synced-folders/nfs | Product |