CVE-2022-42717 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-p...
HighCVSS 7.8
EPSS 0.25%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Ubuntu
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.
Upgrade path
5 packages: 1 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/vagrant(Ubuntu 16.04) | = 1.7.4+dfsg-1; = 1.8.1+dfsg-1; = 1.8.1+dfsg-1ubuntu0.1; = 1.8.1+dfsg-1ubuntu0.2 +1 more | No fix listed | No fix yet |
| ubuntu/vagrant(Ubuntu 18.04) | = 1.9.1+dfsg-1; = 2.0.2+dfsg-2ubuntu2; = 2.0.2+dfsg-2ubuntu8; All versions | No fix listed | No fix yet |
| ubuntu/vagrant(Ubuntu 20.04) | = 2.2.3+dfsg-1ubuntu2; = 2.2.6+dfsg-2ubuntu1; = 2.2.6+dfsg-2ubuntu3; All versions | No fix listed | No fix yet |
| ubuntu/vagrant(Ubuntu 22.04) | = 2.2.14+dfsg-1ubuntu1; = 2.2.19+dfsg-1ubuntu1; All versions | No fix listed | No fix yet |
| hashicorp github.com/hashicorp/vagrant | < 2.3.1 | 2.3.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/vagrant(Ubuntu:22.04) | All versions | No fix listed |
| hashicorp github.com/hashicorp/vagrant | < 2.3.1 | 2.3.1 |
| ubuntu/vagrant(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/vagrant(Ubuntu:16.04) | = 1.7.4+dfsg-1 | No fix listed |
| ubuntu/vagrant(Ubuntu:16.04) | = 1.8.1+dfsg-1 | No fix listed |
| ubuntu/vagrant(Ubuntu:16.04) | = 1.8.1+dfsg-1ubuntu0.1 | No fix listed |
| ubuntu/vagrant(Ubuntu:16.04) | = 1.8.1+dfsg-1ubuntu0.2 | No fix listed |
| ubuntu/vagrant(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/vagrant(Ubuntu:18.04) | = 1.9.1+dfsg-1 | No fix listed |
| ubuntu/vagrant(Ubuntu:18.04) | = 2.0.2+dfsg-2ubuntu2 | No fix listed |
| ubuntu/vagrant(Ubuntu:18.04) | = 2.0.2+dfsg-2ubuntu8 | No fix listed |
| ubuntu/vagrant(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/vagrant(Ubuntu:20.04) | = 2.2.3+dfsg-1ubuntu2 | No fix listed |
| ubuntu/vagrant(Ubuntu:20.04) | = 2.2.6+dfsg-2ubuntu1 | No fix listed |
| ubuntu/vagrant(Ubuntu:20.04) | = 2.2.6+dfsg-2ubuntu3 | No fix listed |
| ubuntu/vagrant(Ubuntu:22.04) | = 2.2.14+dfsg-1ubuntu1 | No fix listed |
| ubuntu/vagrant(Ubuntu:22.04) | = 2.2.19+dfsg-1ubuntu1 | No fix listed |
References
- github.com issue-tracking patch third-party-advisory
- www.vagrantup.com issue-tracking product
- discuss.hashicorp.com issue-tracking vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking