CVE-2022-42717

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
11/10/2022
Last modified:
20/05/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:hashicorp:vagrant:*:*:*:*:*:*:*:* 2.3.1 (excluding)
cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*