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:Oct 11, 2022
Last Modified:May 20, 2025
EPS:Oct 11, 2022
EPSS Score:0.00061
CVSS Score:7.8
Affected Products
Vendor
Product
Action
Vendor
Hashicorp
Product
Vagrant
Hashicorp
Vagrant
Vendor
Linux
Product
Linux Kernel
Linux
Linux Kernel
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
