Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. Microsoft.NETCore.App.Runtime.osx-x64
  4. ›
  5. CVE-2025-21172

CVE-2025-21172: Microsoft Security Advisory CVE-2025-21172 | .NET and Visual Studio Remote Code Execution Vulnerability

January 14, 2025 (updated May 6, 2025)

Microsoft is releasing this security advisory to provide information about a vulnerability in .NET 8.0 and .NET 9.0. This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability.

An attacker could exploit this vulnerability by loading a specially crafted file in Visual Studio.

References

  • github.com/advisories/GHSA-jjcv-wr2g-4rv4
  • github.com/dotnet/runtime
  • github.com/dotnet/runtime/security/advisories/GHSA-jjcv-wr2g-4rv4
  • msrc.microsoft.com/update-guide/vulnerability/CVE-2025-21172
  • nvd.nist.gov/vuln/detail/CVE-2025-21172
  • www.herodevs.com/vulnerability-directory/cve-2025-21172

Code Behaviors & Features

Detect and mitigate CVE-2025-21172 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 8.0.0 before 8.0.12, all versions starting from 9.0.0 before 9.0.1

Fixed versions

  • 9.0.1
  • 8.0.12

Solution

Upgrade to versions 8.0.12, 9.0.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-122: Heap-based Buffer Overflow

Source file

nuget/Microsoft.NETCore.App.Runtime.osx-x64/CVE-2025-21172.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:19 +0000.