Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-42717

7.8 · HIGH
Published Oct 11, 2022 hashicorp CWE-284 EPSS 0.23% (14th pctl)

Overview

CVE-2022-42717 is a high-severity vulnerability affecting hashicorp vagrant. It was published on October 11, 2022 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from hashicorp. Update vagrant to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
hashicorp vagrant >= 0, < 2.3.1 Affected

Frequently Asked Questions

What is CVE-2022-42717?

CVE-2022-42717 is a high-severity vulnerability affecting hashicorp vagrant. It was published on October 11, 2022 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2022-42717?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-42717?

Check the references section for vendor advisories and patches from hashicorp. Update vagrant to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-42717?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-42717 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.