PT-2022-26517 · Hashicorp · Vagrant+1
Bastien Secher
·
Published
2022-10-11
·
Updated
2023-08-08
·
CVE-2022-42717
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Hashicorp Packer versions prior to 2.3.1
Description
An issue was discovered in the recommended sudoers configuration for Vagrant on Linux, which is insecure. Non-privileged users on the host can leverage a wildcard in the sudoers configuration to execute arbitrary commands as root.
Recommendations
For Hashicorp Packer versions prior to 2.3.1, update to version 2.3.1 or later to resolve the issue. As a temporary workaround, consider reviewing and restricting the sudoers configuration to minimize the risk of exploitation.
Fix
Improper Access Control
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Hashicorp Packer
Vagrant