CVE-2022-42717: hashicorp vagrant Improper Access Control
CVSS: 7.8v3.1HighModified
AliasesUBUNTU-CVE-2022-42717
Published 11-10-2022Last modified 20-05-2025
Vulnerability summary
CVE-2022-42717 is a high (CVSS 7.8) Improper Access Control vulnerability in hashicorp vagrant. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 15.8% of scored vulnerabilities.
CVSS score
7.8/10
010
High · v3.1 (CVE.org)EPSS score
0.25%
0%100%
Low · +0.01 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 11-10-2022PublishedVulnerability first disclosed.
- 20-05-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 versionHigh 7.8Preferred score · CVE.org (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HSourcesAll 3 agree
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.25%
Chance of exploitation in the next 30 days
Percentile
16%
Versus all other CVEs
30-day change
+0.01 pp
From 0.24% on 20-09-2026
20-09-202620-10-2026
EPSS score0.25%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Hashicorp1 product
- vagrant< 2.3.1
Ubuntu1 product
- vagrantAll versions (No fix recorded)
2 vendors · 2 products