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.
References
Link | Resource |
---|---|
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 |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2022-10-11T00:00:00
Updated: 2022-10-11T00:00:00
Reserved: 2022-10-10T00:00:00
Link: CVE-2022-42717
JSON object: View
NVD Information
Status : Analyzed
Published: 2022-10-11T23:15:10.237
Modified: 2023-08-08T14:21:49.707
Link: CVE-2022-42717
JSON object: View
Redhat Information
No data.
CWE