7.8
Advisory Published
Updated

CVE-2022-42717

First published: Tue Oct 11 2022(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
HashiCorp Vagrant<2.3.1
Linux Linux kernel

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the vulnerability ID?

    The vulnerability ID is CVE-2022-42717.

  • What is the severity level of CVE-2022-42717?

    The severity level of CVE-2022-42717 is high (7.8).

  • What is the affected software?

    The affected software is Hashicorp Vagrant before version 2.3.1.

  • How can non-privileged users leverage the vulnerability?

    Non-privileged users on the host can leverage a wildcard in the sudoers configuration to execute arbitrary commands.

  • How can I fix the vulnerability?

    To fix the vulnerability, upgrade to Hashicorp Vagrant version 2.3.1 or higher.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203