CVE catalog

CVE-2022-42717

UBUNTU-CVE-2022-42717

[CVE catalog]

Severity
Unknown
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.25% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Ubuntuvagrant16.041.7.4+dfsg-1vulnerable
Ubuntuvagrant16.041.8.1+dfsg-1vulnerable
Ubuntuvagrant16.041.8.1+dfsg-1ubuntu0.1vulnerable
Ubuntuvagrant16.041.8.1+dfsg-1ubuntu0.2vulnerable
Ubuntuvagrant18.041.9.1+dfsg-1vulnerable
Ubuntuvagrant18.042.0.2+dfsg-2ubuntu2vulnerable
Ubuntuvagrant18.042.0.2+dfsg-2ubuntu8vulnerable
Ubuntuvagrant20.042.2.3+dfsg-1ubuntu2vulnerable
Ubuntuvagrant20.042.2.6+dfsg-2ubuntu1vulnerable
Ubuntuvagrant20.042.2.6+dfsg-2ubuntu3vulnerable
Ubuntuvagrant22.042.2.14+dfsg-1ubuntu1vulnerable
Ubuntuvagrant22.042.2.19+dfsg-1ubuntu1vulnerable

Fixed-version evidence

OpenFactory catalog packages

No matching packages in this catalog.

Observed:

References