CVE-2024-38081: .NET Denial of Service Vulnerability in Microsoft.IO.Redist

Microsoft.IO.Redist Updated 02 Oct 2025

Summary

09/07/2024
Yes i
High
7.3

CVE-2024-38081: Microsoft Security Advisory CVE-2024-38081 | .NET Denial of Service Vulnerability. Affects Microsoft.IO.Redist versions >= 4.6.0-preview.18571.3, < 6.0.1. Fixed in 6.0.1. How to fix ↓

Also tracked for

The same CVE-2024-38081 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Microsoft.IO.Redist is a NuGet package that provides high-performance, low-level I/O operations for .NET applications. It is commonly used in .NET Core projects. This package is vulnerable to a Denial of Service (DoS) attack in .NET 6.0 and earlier versions.

Vulnerability Detail

The vulnerability in Microsoft.IO.Redist allows an unprivileged user to manipulate the Visual Studio installation, resulting in an elevation of privilege. This can lead to unauthorized access and potential system compromise. The vulnerability affects any .NET 6.0 application running on .NET 6.0.31 or earlier versions.

How To Fix

Minimum fixed version

6.0.1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There are no known workarounds for this vulnerability.

Conclusion

The vulnerability in Microsoft.IO.Redist can be mitigated by updating to the latest version of .NET 8.0, .NET 7.0, or .NET 6.0. It is important to promptly apply the recommended fixes to prevent potential unauthorized access and system compromise.

See every vulnerability recorded for Microsoft.IO.Redist →

Share this vulnerability

FAQ

If you have a runtime or SDK with a version listed in the affected software or affected packages, you are exposed to the vulnerability. You can check your installed versions by running the 'dotnet --info' command.

The vulnerability allows an unprivileged user to manipulate the Visual Studio installation, which can lead to elevation of privilege and unauthorized access to sensitive information.

Microsoft has not identified any mitigating factors for this vulnerability.

If you have found a potential security issue in .NET 8.0, .NET 7.0, or .NET 6.0, you can email the details to secure@microsoft.com. Reports may qualify for the Microsoft .NET Core & .NET 5 Bounty.

You can ask questions about this issue on GitHub in the .NET GitHub organization. The main repositories are located at https://github.com/dotnet/runtime and https://github.com/dotnet/aspnet/.

How To Fix

Minimum fixed version

6.0.1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback