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.
Published: 2022-10-11
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

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.
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'}


Subscriptions

Hashicorp Vagrant
Linux Linux Kernel
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.

Weaknesses