Hashicorp Packer <2.3.1 Unsecure Vagrant Sudoers Enables Escalation
CVE-2022-42717 Published on October 11, 2022
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.
Vulnerability Analysis
CVE-2022-42717 can be exploited with local system access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Weakness Type
What is an Authorization Vulnerability?
The software does not restrict or incorrectly restricts access to a resource from an unauthorized actor.
CVE-2022-42717 has been classified to as an Authorization vulnerability or weakness.
Products Associated with CVE-2022-42717
stack.watch emails you whenever new vulnerabilities are published in HashiCorp Packer or HashiCorp Vagrant. Just hit a watch button to start following.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.