Vulnerability in Hashicorp Vagrant
CVE-2022-42717
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 · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.003 (15.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 16th percentile — 15.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.003 · change: +0.000
Affected products
Weakness classification (CWE)
References
- github.com/hashicorp/vagrant/pull/12910 (Patch, Third Party Advisory)
- www.vagrantup.com/docs/synced-folders/nfs (Product)
- discuss.hashicorp.com/t/hcsec-2022-23-vagrant-nfs-sudoers-configuration-allows-… (Vendor Advisory)
Frequently asked questions
- What is CVE-2022-42717?
- CVE-2022-42717 is a high-severity vulnerability in Hashicorp Vagrant, classified under Improper Access Control. CVSS score: 7.8/10. Published 2022-10-11.
- How severe is CVE-2022-42717?
- High severity. CVSS v3 base score is 7.8 out of 10.