7.8

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.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.25%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 11-10-2022
    PublishedVulnerability first disclosed.
  2. 20-05-2025
    Last 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 version

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 score
0.25%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Hashicorp1 product
Ubuntu1 product
  • vagrantAll versions (No fix recorded)

2 vendors · 2 products

References

6 links