CVE Vulnerabilities

CVE-2024-38081

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

Published: Jul 09, 2024 | Modified: Nov 21, 2024
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
7.3 IMPORTANT
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM

.NET, .NET Framework, and 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
.net_framework Microsoft 4.6.2 (including) 4.6.2 (including)
.net_framework Microsoft 4.7 (including) 4.7 (including)
.net_framework Microsoft 4.7.1 (including) 4.7.1 (including)
.net_framework Microsoft 4.7.2 (including) 4.7.2 (including)
Dotnet6 Ubuntu upstream *
Dotnet7 Ubuntu jammy *
Dotnet7 Ubuntu mantic *
Dotnet8 Ubuntu upstream *

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