Security Resilience

CVE-2023-5834

Hashicorp Vagrant ≤ 2.4.0

Published
27 October 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 3.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N
EPSS Score 0.0024 15th percentile
Risk Priority 30 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-5834 is a low-severity Insecure Operation on Windows Junction / Mount Point (CWE-1386) vulnerability in Hashicorp Vagrant. Its CVSS base score is 3.8 (Low).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked at the 15th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

HashiCorp Vagrant's Windows installer targeted a custom location with a non-protected path that could be junctioned, introducing potential for unauthorized file system writes. Fixed in Vagrant 2.4.0.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1211 Exploitation for Stealth Stealth
Adversaries may exploit vulnerabilities to evade detection by hiding activity, suppressing logging, or operating within trusted or unmonitored components.
T1611 Escape to Host Privilege Escalation
Adversaries may break out of a container or virtualized environment to gain access to the underlying host.
T1687 Exploitation for Defense Impairment Defense Impairment
Adversaries may exploit vulnerabilities in security software, infrastructure, or defensive components to degrade, disable, or otherwise continue to impair their ability to prevent, detect, or respond to malicious activity.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
T1546.016 Installer Packages Privilege Escalation
Adversaries may establish persistence and elevate privileges by using an installer to trigger the execution of malicious content.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-8959Same vendor: Hashicorp
CVE-2025-0377Same vendor: Hashicorp
CVE-2024-1329Same vendor: Hashicorp
CVE-2023-32474Shared CWE-1386, CWE-59
CVE-2023-28071Shared CWE-1386, CWE-59
CVE-2023-28065Shared CWE-1386, CWE-59
CVE-2023-32454Shared CWE-1386, CWE-59
CVE-2023-23697Shared CWE-1386, CWE-59
CVE-2023-24572Shared CWE-1386, CWE-59
CVE-2023-0845Same vendor: Hashicorp

Affected Assets

hashicorp
vagrant
≤ 2.4.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V5.3.3

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly prevent improper junction/mount-point handling during design and coding.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect junction/mount-point weaknesses before release.

prevents

Training can raise developer awareness of Windows junction/mount point attack patterns and the need to check for reparse points when opening files, but this is a niche NTFS-specific implementation detail that most developers will not encounter in general training, and the actual mitigation requires code-level checks the training does not perform.

prevents

Secure coding standards directly address safe file/directory handling to prevent insecure junction operations.

prevents

A.8.30 contracts for secure design, coding and testing practices (8.25-8.29) in outsourced development, which would reduce instances of this Windows filesystem implementation weakness the same way those practices do; the effect is real but bounded by the supplier's actual implementation, matching the owner-graded A.8.30 -> CWE-134 anchor at `partial`.

finds

A.8.8's reach is DISCLOSURE (published advisories and component inventory); CWE-1386 is a first-party implementation defect, so A.8.8 only finds the minority of instances that have been published as CVEs (e.g., CVE-2021-26426, CVE-2020-0863, CVE-2019-1161, CVE-2014-0568), while the bulk of junction/mount-point handling flaws in custom code remain outside its view, mirroring the A.8.8 -> CWE-89 anchor.

References