Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Hashicorp | Vagrant | < 2.3.1 |
| Linux | Linux Kernel | - |
Related Weaknesses (CWE)
References
- https://discuss.hashicorp.com/t/hcsec-2022-23-vagrant-nfs-sudoers-configuration-Vendor Advisory
- https://github.com/hashicorp/vagrant/pull/12910PatchThird Party Advisory
- https://www.vagrantup.com/docs/synced-folders/nfsProduct
- https://discuss.hashicorp.com/t/hcsec-2022-23-vagrant-nfs-sudoers-configuration-Vendor Advisory
- https://github.com/hashicorp/vagrant/pull/12910PatchThird Party Advisory
- https://www.vagrantup.com/docs/synced-folders/nfsProduct
FAQ
What is CVE-2022-42717?
CVE-2022-42717 is a vulnerability with a CVSS score of 7.8 (HIGH). 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-p...
How severe is CVE-2022-42717?
CVE-2022-42717 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-42717?
Check the references section above for vendor advisories and patch information. Affected products include: Hashicorp Vagrant, Linux Linux Kernel.