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.
Advisories
Source ID Title
EUVD EUVD EUVD-2022-45783 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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 20 May 2025 15:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-05-20T14:12:42.637Z

Reserved: 2022-10-10T00:00:00.000Z

Link: CVE-2022-42717

cve-icon Vulnrichment

Updated: 2024-08-03T13:10:41.393Z

cve-icon NVD

Status : Modified

Published: 2022-10-11T23:15:10.237

Modified: 2025-05-20T15:15:51.453

Link: CVE-2022-42717

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.