VDB
KO
HIGH 7.5

GHSA-3rq8-h3gj-r5c6

.NET Denial of Service Vulnerability

Details

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

A vulnerability exists in .NET 6.0, .NET 5.0 and .NET core 3.1 where a malicious client can manipulate cookies and cause a Denial of Service.

### Affected software

* Any .NET 6.0 application running on .NET 6.0.4 or earlier. * Any .NET 5.0 application running .NET 5.0.16 or earlier. * Any .NET Core 3.1 application running on .NET Core 3.1.24 or earlier.

#### Affected packages

**.NET Core 3.1**

| Package name | Affected versions | Patched versions | |---------------------------------------------------|-------------------|------------------| | Microsoft.Owin.Security.Cookies | <4.2.2 | 4.2.2 | | Microsoft.Owin.Security | <4.2.2 | 4.2.2 | | Microsoft.AspNetCore.App.Runtime.win-x64 | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.linux-x64 | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.win-x86 | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.osx-x64 | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.linux-musl-x64 | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.linux-arm64 | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.linux-arm | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.win-arm64 | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.win-arm | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.linux-musl-arm | >=3.0.0,3.1.24 | 3.1.25 |

**.NET 5.0**

| Affected packages | Affected versions | Patched versions | |---------------------------------------------------|-------------------|------------------| | Microsoft.Owin.Security.Cookies | < 4.2.2 | 4.2.2 | | Microsoft.AspNetCore.App.Runtime.win-x64 | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.linux-x64 | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.win-x86 | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.osx-x64 | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.linux-musl-x64 | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.linux-arm64 | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.linux-arm | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.win-arm64 | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.win-arm | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.linux-musl-arm | >=5.0.0,5.0.16 | 5.0.17 |

**.NET 6.0**

| Affected packages | Affected versions | Patched versions | |---------------------------------------------------|-------------------|------------------| | Microsoft.Owin.Security.Cookies | <4.2.2 | 4.2.2 | | Microsoft.AspNetCore.App.Runtime.win-x64 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.linux-x64 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.win-x86 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.osx-x64 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.linux-musl-x64 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.linux-arm64 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.linux-arm | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.win-arm64 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.win-arm | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.osx-arm64 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.linux-musl-arm | >=6.0.0,6.0.4 | 6.0.5 |

### Patches

* If you're using .NET Core 6.0, you should download and install Runtime 6.0.5 or SDK 6.0.105 (for Visual Studio 2022 v17.0) or SDK 6.0.203 (for Visual Studio 2022 v17.1) from https://dotnet.microsoft.com/download/dotnet-core/6.0.

* If you're using .NET 5.0, you should download and install Runtime 5.0.17 or SDK 5.0.214 (for Visual Studio 2019 v16.9) or SDK 5.0.408 (for Visual Studio 2011 v16.11) from https://dotnet.microsoft.com/download/dotnet-core/5.0.

* If you're using .NET Core 3.1, you should download and install Runtime 3.1.25 or SDK 3.1.419 (for Visual Studio 2019 v16.9 or Visual Studio 2011 16.11 or Visual Studio 2022 17.0 or Visual Studio 2022 17.1 ) from https://dotnet.microsoft.com/download/dotnet-core/3.1.

.NET 6.0, .NET 5.0 and .NET Core 3.1 updates are also available from Microsoft Update. To access this either type "Check for updates" in your Windows search, or open Settings, choose Update & Security and then click Check for Updates.

#### Other Details

- Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/220 - An Issue for this can be found at https://github.com/dotnet/aspnetcore/issues/41608 - MSRC details for this can be found at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-29117

Are you affected?

Enter the version of the package you're using.

Affected packages

NuGet / Microsoft.AspNetCore.App.Runtime.win-x64
Introduced in: 3.0.0 Fixed in: 3.1.25
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.win-x64 --version 3.1.25
NuGet / Microsoft.Owin.Security.Cookies
Introduced in: 0 Fixed in: 4.2.2
Fix dotnet add package Microsoft.Owin.Security.Cookies --version 4.2.2
NuGet / Microsoft.AspNetCore.App.Runtime.win-x64
Introduced in: 5.0.0 Fixed in: 5.0.17
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.win-x64 --version 5.0.17
NuGet / Microsoft.Owin
Introduced in: 0 Fixed in: 4.2.2
Fix dotnet add package Microsoft.Owin --version 4.2.2
NuGet / Microsoft.AspNetCore.App.Runtime.win-x64
Introduced in: 6.0.0 Fixed in: 6.0.5
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.win-x64 --version 6.0.5
NuGet / Microsoft.AspNetCore.App.Runtime.linux-x64
Introduced in: 3.0.0 Fixed in: 3.1.25
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-x64 --version 3.1.25
NuGet / Microsoft.AspNetCore.App.Runtime.linux-x64
Introduced in: 5.0.0 Fixed in: 5.0.17
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-x64 --version 5.0.17
NuGet / Microsoft.AspNetCore.App.Runtime.linux-x64
Introduced in: 6.0.0 Fixed in: 6.0.5
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-x64 --version 6.0.5
NuGet / Microsoft.AspNetCore.App.Runtime.win-x86
Introduced in: 3.0.0 Fixed in: 3.1.25
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.win-x86 --version 3.1.25
NuGet / Microsoft.AspNetCore.App.Runtime.win-x86
Introduced in: 5.0.0 Fixed in: 5.0.17
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.win-x86 --version 5.0.17
NuGet / Microsoft.AspNetCore.App.Runtime.win-x86
Introduced in: 6.0.0 Fixed in: 6.0.5
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.win-x86 --version 6.0.5
NuGet / Microsoft.AspNetCore.App.Runtime.osx-x64
Introduced in: 3.0.0 Fixed in: 3.1.25
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.osx-x64 --version 3.1.25
NuGet / Microsoft.AspNetCore.App.Runtime.osx-x64
Introduced in: 5.0.0 Fixed in: 5.0.17
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.osx-x64 --version 5.0.17
NuGet / Microsoft.AspNetCore.App.Runtime.osx-x64
Introduced in: 6.0.0 Fixed in: 6.0.5
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.osx-x64 --version 6.0.5
NuGet / Microsoft.AspNetCore.App.Runtime.linux-musl-x64
Introduced in: 3.0.0 Fixed in: 3.1.25
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-x64 --version 3.1.25
NuGet / Microsoft.AspNetCore.App.Runtime.linux-musl-x64
Introduced in: 5.0.0 Fixed in: 5.0.17
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-x64 --version 5.0.17
NuGet / Microsoft.AspNetCore.App.Runtime.linux-musl-x64
Introduced in: 6.0.0 Fixed in: 6.0.5
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-x64 --version 6.0.5
NuGet / Microsoft.AspNetCore.App.Runtime.linux-arm64
Introduced in: 3.0.0 Fixed in: 3.1.25
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm64 --version 3.1.25
NuGet / Microsoft.AspNetCore.App.Runtime.linux-arm64
Introduced in: 5.0.0 Fixed in: 5.0.17
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm64 --version 5.0.17
NuGet / Microsoft.AspNetCore.App.Runtime.linux-arm64
Introduced in: 6.0.0 Fixed in: 6.0.5
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm64 --version 6.0.5
NuGet / Microsoft.AspNetCore.App.Runtime.linux-arm
Introduced in: 3.0.0 Fixed in: 3.1.25
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm --version 3.1.25
NuGet / Microsoft.AspNetCore.App.Runtime.linux-arm
Introduced in: 5.0.0 Fixed in: 5.0.17
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm --version 5.0.17
NuGet / Microsoft.AspNetCore.App.Runtime.linux-arm
Introduced in: 6.0.0 Fixed in: 6.0.5
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm --version 6.0.5
NuGet / Microsoft.AspNetCore.App.Runtime.win-arm64
Introduced in: 3.0.0 Fixed in: 3.1.25
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm64 --version 3.1.25
NuGet / Microsoft.AspNetCore.App.Runtime.win-arm64
Introduced in: 5.0.0 Fixed in: 5.0.17
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm64 --version 5.0.17
NuGet / Microsoft.AspNetCore.App.Runtime.win-arm64
Introduced in: 6.0.0 Fixed in: 6.0.5
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm64 --version 6.0.5
NuGet / Microsoft.AspNetCore.App.Runtime.win-arm
Introduced in: 3.0.0 Fixed in: 3.1.25
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm --version 3.1.25
NuGet / Microsoft.AspNetCore.App.Runtime.win-arm
Introduced in: 5.0.0 Fixed in: 5.0.17
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm --version 5.0.17
NuGet / Microsoft.AspNetCore.App.Runtime.win-arm
Introduced in: 6.0.0 Fixed in: 6.0.5
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm --version 6.0.5
NuGet / Microsoft.AspNetCore.App.Runtime.linux-musl-arm64
Introduced in: 3.0.0 Fixed in: 3.1.25
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 --version 3.1.25
NuGet / Microsoft.AspNetCore.App.Runtime.linux-musl-arm64
Introduced in: 5.0.0 Fixed in: 5.0.17
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 --version 5.0.17
NuGet / Microsoft.AspNetCore.App.Runtime.linux-musl-arm64
Introduced in: 6.0.0 Fixed in: 6.0.5
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 --version 6.0.5
NuGet / Microsoft.AspNetCore.App.Runtime.linux-musl-arm
Introduced in: 3.0.0 Fixed in: 3.1.25
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm --version 3.1.25
NuGet / Microsoft.AspNetCore.App.Runtime.linux-musl-arm
Introduced in: 5.0.0 Fixed in: 5.0.17
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm --version 5.0.17
NuGet / Microsoft.AspNetCore.App.Runtime.linux-musl-arm
Introduced in: 6.0.0 Fixed in: 6.0.5
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm --version 6.0.5
NuGet / Microsoft.AspNetCore.App.Runtime.osx-arm64
Introduced in: 6.0.0 Fixed in: 6.0.5
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.osx-arm64 --version 6.0.5

References