CVE-2022-42717Hashicorp Vagrant
High 7.8
Follow: this CVE · Hashicorp · Hashicorp Vagrant We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 18
- Auth required
- Yes
- Published
- Oct 11, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-284
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Vagrant.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| hashicorp | vagrant | < 2.3.1 |
Official sources
References
Links published by the sources. Open them with care.
- discuss.hashicorp.com Vendor Advisory
- github.com Patch Third Party Advisory
- www.vagrantup.com Product