Cyber Resilience

CVE-2024-20656

Microsoft Visual Studio 2022 17.2 – 17.2.23

Published
09 January 2024
Modified
17 June 2026
Patch / advisory
CVSS Score v3.1 7.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.039 89th percentile
Risk Priority 80 floored blend · peak EPSS

Summary

CVE-2024-20656 is a high-severity Link Following (CWE-59) vulnerability in Microsoft Visual Studio 2022. Its CVSS base score is 7.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Path Interception (T1034); ranked in the top 11% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-6 (Least Privilege) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2024-20656 is an elevation of privilege vulnerability in Visual Studio. It carries a CVSS 3.1 base score of 7.8 with the vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H and is associated with CWE-59. The flaw allows an attacker to gain unauthorized elevated access on an affected system.

An attacker with local access and low privileges can exploit the issue without user interaction, resulting in full compromise of confidentiality, integrity, and availability on the target host. The vulnerability therefore enables a local user to elevate privileges to a higher context within Visual Studio installations.

Microsoft has published guidance for the vulnerability through its Security Response Center at the listed advisory URL, directing administrators to available updates that address the reported weakness. The associated EPSS score reached a peak of 0.6274 and currently stands at 0.5433, indicating moderate and sustained exploitation interest since disclosure.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

Visual Studio Elevation of Privilege Vulnerability

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1034 Path Interception Persistence
**This technique has been deprecated.
T1547.009 Shortcut Modification Persistence
Adversaries may create or modify shortcuts that can execute a program during system boot or user login.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-43603Same product: Microsoft Visual Studio
CVE-2025-49739Same product: Microsoft Visual Studio
CVE-2023-21567Same product: Microsoft Visual Studio 2017
CVE-2023-36758Same product: Microsoft Visual Studio 2022
CVE-2024-38081Same product: Microsoft Visual Studio 2022
CVE-2025-59241Same vendor: Microsoft
CVE-2023-36046Same vendor: Microsoft
CVE-2025-55245Same vendor: Microsoft
CVE-2023-24904Same vendor: Microsoft
CVE-2019-1064Same vendor: Microsoft

Affected Assets

microsoft
visual studio
2015
microsoft
visual studio 2017
15.0 — 15.9.59
microsoft
visual studio 2019
16.0 — 16.11.33
microsoft
visual studio 2022
17.2 — 17.2.23 · 17.4 — 17.4.15 · 17.6 — 17.6.11

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)
  • V15.4.2

Mitigating Controls (NIST 800-53 r5) AI

Proper enforcement of access authorizations on the resolved target resource stops a link from reaching an unintended object.

Least-privilege limits the damage an attacker can cause after following an unintended link.

Validating file-name inputs can reject or canonicalize names that resolve to links before access occurs.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require code to validate paths and avoid unsafe link following.

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

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can detect link-following flaws before release.

prevents

Secure SDLC practices can mandate link-resolution checks and canonicalization before file access.

prevents

Application security requirements can explicitly require safe handling of symbolic links and path traversal.

prevents

Secure architecture principles include input validation and safe file-access design patterns.

prevents

Secure coding standards directly address canonicalization and symlink attacks during implementation.

mitigates

Access-control rules can limit which files are reachable, reducing exposure to malicious links.

References