CVE Vulnerabilities

CVE-2024-20656

Improper Link Resolution Before File Access ('Link Following')

Published: Jan 09, 2024 | Modified: Nov 21, 2024
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

Visual Studio Elevation of Privilege Vulnerability

Weakness

The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.

Affected Software

Name Vendor Start Version End Version
Visual_studio Microsoft 2015-update3 (including) 2015-update3 (including)
Visual_studio_2017 Microsoft 15.0 (including) 15.9.59 (excluding)
Visual_studio_2019 Microsoft 16.0 (including) 16.11.33 (excluding)
Visual_studio_2022 Microsoft 17.2 (including) 17.2.23 (excluding)
Visual_studio_2022 Microsoft 17.4 (including) 17.4.15 (excluding)
Visual_studio_2022 Microsoft 17.6 (including) 17.6.11 (excluding)

Potential Mitigations

  • Follow the principle of least privilege when assigning access rights to entities in a software system.
  • Denying access to a file can prevent an attacker from replacing that file with a link to a sensitive file. Ensure good compartmentalization in the system to provide protected areas that can be trusted.

References