
CVE catalog
CVE-2022-42717
UBUNTU-CVE-2022-42717
- 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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Ubuntu | vagrant | 16.04 | 1.7.4+dfsg-1 | vulnerable |
| Ubuntu | vagrant | 16.04 | 1.8.1+dfsg-1 | vulnerable |
| Ubuntu | vagrant | 16.04 | 1.8.1+dfsg-1ubuntu0.1 | vulnerable |
| Ubuntu | vagrant | 16.04 | 1.8.1+dfsg-1ubuntu0.2 | vulnerable |
| Ubuntu | vagrant | 18.04 | 1.9.1+dfsg-1 | vulnerable |
| Ubuntu | vagrant | 18.04 | 2.0.2+dfsg-2ubuntu2 | vulnerable |
| Ubuntu | vagrant | 18.04 | 2.0.2+dfsg-2ubuntu8 | vulnerable |
| Ubuntu | vagrant | 20.04 | 2.2.3+dfsg-1ubuntu2 | vulnerable |
| Ubuntu | vagrant | 20.04 | 2.2.6+dfsg-2ubuntu1 | vulnerable |
| Ubuntu | vagrant | 20.04 | 2.2.6+dfsg-2ubuntu3 | vulnerable |
| Ubuntu | vagrant | 22.04 | 2.2.14+dfsg-1ubuntu1 | vulnerable |
| Ubuntu | vagrant | 22.04 | 2.2.19+dfsg-1ubuntu1 | vulnerable |
Fixed-version evidence
OpenFactory catalog packages
No matching packages in this catalog.
Observed: