VULNERABILITY INTELLIGENCE
CVE-2022-42717
CVSS score7.8 HIGH
EPSS probability0.25%
CISA KEVNot currently listed
Published2022-10-11
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Weakness classification
- CWE-284: Improper Access Control
Primary references
- cve@mitre.org — Vendor Advisory
- cve@mitre.org — Patch, Third Party Advisory
- cve@mitre.org — Product
- af854a3a-2127-422b-91ae-364da2661108 — Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Product