ADVISORIES

GitHub Advisory Database

GHSA-6xh7-4v2w-36q6

ASP.NET Core fails to properly validate web requests

Details

A denial of service vulnerability exists when the ASP.NET Core fails to properly validate web requests. NOTE: Microsoft has not commented on third-party claims that the issue is that the TextEncoder.EncodeCore function in the System.Text.Encodings.Web package in ASP.NET Core Mvc before 1.0.4 and 1.1.x before 1.1.3 allows remote attackers to cause a denial of service by leveraging failure to properly calculate the length of 4-byte characters in the Unicode Non-Character range.

Affected packages

EcosystemPackageAffected versions
NuGetMicrosoft.AspNetCore.Mvc
From 1.0.0 before 1.0.4 (fixed in 1.0.4)
NuGetMicrosoft.AspNetCore.Mvc
From 1.1.0 before 1.1.3 (fixed in 1.1.3)
NuGetMicrosoft.AspNetCore.Mvc.Core
From 1.0.0 before 1.0.4 (fixed in 1.0.4)
NuGetMicrosoft.AspNetCore.Mvc.Core
From 1.1.0 before 1.1.3 (fixed in 1.1.3)
NuGetSystem.Net.Http
From 4.1.1 before 4.1.2 (fixed in 4.1.2)
NuGetSystem.Net.Http
From 4.3.1 before 4.3.2 (fixed in 4.3.2)
NuGetSystem.Text.Encodings.Web
From 4.0.0 before 4.0.1 (fixed in 4.0.1)
NuGetSystem.Text.Encodings.Web
From 4.3.0 before 4.3.1 (fixed in 4.3.1)
NuGetSystem.Net.Http.WinHttpHandler
From 4.0.0 before 4.0.1 (fixed in 4.0.1)
NuGetSystem.Net.Http.WinHttpHandler
From 4.3.0 before 4.5.4 (fixed in 4.5.4)
NuGetSystem.Net.Security
From 4.0.0 before 4.0.1 (fixed in 4.0.1)
NuGetSystem.Net.Security
From 4.3.0 before 4.3.1 (fixed in 4.3.1)
NuGetSystem.Net.WebSockets.Client
From 4.0.0 before 4.0.1 (fixed in 4.0.1)
NuGetSystem.Net.WebSockets.Client
From 4.3.0 before 4.3.1 (fixed in 4.3.1)
NuGetMicrosoft.AspNetCore.Mvc.Abstractions
From 1.0.0 before 1.0.4 (fixed in 1.0.4)
NuGetMicrosoft.AspNetCore.Mvc.Abstractions
From 1.1.0 before 1.1.3 (fixed in 1.1.3)
NuGetMicrosoft.AspNetCore.Mvc.ApiExplorer
From 1.0.0 before 1.0.4 (fixed in 1.0.4)
NuGetMicrosoft.AspNetCore.Mvc.ApiExplorer
From 1.1.0 before 1.1.3 (fixed in 1.1.3)
NuGetMicrosoft.AspNetCore.Mvc.Cors
From 1.0.0 before 1.0.4 (fixed in 1.0.4)
NuGetMicrosoft.AspNetCore.Mvc.Cors
From 1.1.0 before 1.1.3 (fixed in 1.1.3)
NuGetMicrosoft.AspNetCore.Mvc.DataAnnotations
From 1.0.0 before 1.0.4 (fixed in 1.0.4)
NuGetMicrosoft.AspNetCore.Mvc.DataAnnotations
From 1.1.0 before 1.1.3 (fixed in 1.1.3)
NuGetMicrosoft.AspNetCore.Mvc.Formatters.Json
From 1.0.0 before 1.0.4 (fixed in 1.0.4)
NuGetMicrosoft.AspNetCore.Mvc.Formatters.Json
From 1.1.0 before 1.1.3 (fixed in 1.1.3)
NuGetMicrosoft.AspNetCore.Mvc.Formatters.Xml
From 1.0.0 before 1.0.4 (fixed in 1.0.4)
NuGetMicrosoft.AspNetCore.Mvc.Formatters.Xml
From 1.1.0 before 1.1.3 (fixed in 1.1.3)
NuGetMicrosoft.AspNetCore.Mvc.Localization
From 1.0.0 before 1.0.4 (fixed in 1.0.4)
NuGetMicrosoft.AspNetCore.Mvc.Localization
From 1.1.0 before 1.1.3 (fixed in 1.1.3)
NuGetMicrosoft.AspNetCore.Mvc.Razor.Host
From 1.0.0 before 1.0.4 (fixed in 1.0.4)
NuGetMicrosoft.AspNetCore.Mvc.Razor.Host
From 1.1.0 before 1.1.3 (fixed in 1.1.3)
NuGetMicrosoft.AspNetCore.Mvc.Razor
From 1.0.0 before 1.0.4 (fixed in 1.0.4)
NuGetMicrosoft.AspNetCore.Mvc.Razor
From 1.1.0 before 1.1.3 (fixed in 1.1.3)
NuGetMicrosoft.AspNetCore.Mvc.TagHelpers
From 1.0.0 before 1.0.4 (fixed in 1.0.4)
NuGetMicrosoft.AspNetCore.Mvc.TagHelpers
From 1.1.0 before 1.1.3 (fixed in 1.1.3)
NuGetMicrosoft.AspNetCore.Mvc.ViewFeatures
From 1.0.0 before 1.0.4 (fixed in 1.0.4)
NuGetMicrosoft.AspNetCore.Mvc.ViewFeatures
From 1.1.0 before 1.1.3 (fixed in 1.1.3)
NuGetMicrosoft.AspNetCore.Mvc.WebApiCompatShim
From 1.0.0 before 1.0.4 (fixed in 1.0.4)
NuGetMicrosoft.AspNetCore.Mvc.WebApiCompatShim
From 1.1.0 before 1.1.3 (fixed in 1.1.3)

References