Vulnerabilities · 2022 · Hashicorp
CVE-2022-42717
Hashicorp Vagrant vulnerability
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.
Affected products
Vagrant. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Hashicorp Vagrant runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Hashicorp products
CVE-2025-13432CVE-2025-13357CVE-2025-12044CVE-2025-11621CVE-2025-11375CVE-2025-11374CVE-2025-8959CVE-2025-6203All 187
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.