GitHub Advisoryadvisory · NuGet

GHSA-6xh7-4v2w-36q6 ASP.NET Core fails to properly validate web requests

HIGH Published 2018-10-16 Modified 2022-04-26 Official page ↗
Aliases
CVE-2017-0247
Ecosystem
NuGet
Packages
Microsoft.AspNetCore.Mvc, Microsoft.AspNetCore.Mvc.Core, System.Net.Http, System.Text.Encodings.Web, System.Net.Http.WinHttpHandler, System.Net.Security, System.Net.WebSockets.Client, Microsoft.AspNetCore.Mvc.Abstractions, Microsoft.AspNetCore.Mvc.ApiExplorer, Microsoft.AspNetCore.Mvc.Cors, Microsoft.AspNetCore.Mvc.DataAnnotations, Microsoft.AspNetCore.Mvc.Formatters.Json, Microsoft.AspNetCore.Mvc.Formatters.Xml, Microsoft.AspNetCore.Mvc.Localization, Microsoft.AspNetCore.Mvc.Razor.Host, Microsoft.AspNetCore.Mvc.Razor, Microsoft.AspNetCore.Mvc.TagHelpers, Microsoft.AspNetCore.Mvc.ViewFeatures, Microsoft.AspNetCore.Mvc.WebApiCompatShim
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-20
Reviewed
2020-06-16

Affected packages

• NuGet Microsoft.AspNetCore.Mvc: >= 1.0.0, < 1.0.4 → fixed in 1.0.4 • NuGet Microsoft.AspNetCore.Mvc: >= 1.1.0, < 1.1.3 → fixed in 1.1.3 • NuGet Microsoft.AspNetCore.Mvc.Core: >= 1.0.0, < 1.0.4 → fixed in 1.0.4 • NuGet Microsoft.AspNetCore.Mvc.Core: >= 1.1.0, < 1.1.3 → fixed in 1.1.3 • NuGet System.Net.Http: >= 4.1.1, < 4.1.2 → fixed in 4.1.2 • NuGet System.Net.Http: >= 4.3.1, < 4.3.2 → fixed in 4.3.2 • NuGet System.Text.Encodings.Web: >= 4.0.0, < 4.0.1 → fixed in 4.0.1 • NuGet System.Text.Encodings.Web: >= 4.3.0, < 4.3.1 → fixed in 4.3.1 • NuGet System.Net.Http.WinHttpHandler: >= 4.0.0, < 4.0.1 → fixed in 4.0.1 • NuGet System.Net.Http.WinHttpHandler: >= 4.3.0, < 4.5.4 → fixed in 4.5.4 • NuGet System.Net.Security: >= 4.0.0, < 4.0.1 → fixed in 4.0.1 • NuGet System.Net.Security: >= 4.3.0, < 4.3.1 → fixed in 4.3.1 • NuGet System.Net.WebSockets.Client: >= 4.0.0, < 4.0.1 → fixed in 4.0.1 • NuGet System.Net.WebSockets.Client: >= 4.3.0, < 4.3.1 → fixed in 4.3.1 • NuGet Microsoft.AspNetCore.Mvc.Abstractions: >= 1.0.0, < 1.0.4 → fixed in 1.0.4 • NuGet Microsoft.AspNetCore.Mvc.Abstractions: >= 1.1.0, < 1.1.3 → fixed in 1.1.3 • NuGet Microsoft.AspNetCore.Mvc.ApiExplorer: >= 1.0.0, < 1.0.4 → fixed in 1.0.4 • NuGet Microsoft.AspNetCore.Mvc.ApiExplorer: >= 1.1.0, < 1.1.3 → fixed in 1.1.3 • NuGet Microsoft.AspNetCore.Mvc.Cors: >= 1.0.0, < 1.0.4 → fixed in 1.0.4 • NuGet Microsoft.AspNetCore.Mvc.Cors: >= 1.1.0, < 1.1.3 → fixed in 1.1.3 • NuGet Microsoft.AspNetCore.Mvc.DataAnnotations: >= 1.0.0, < 1.0.4 → fixed in 1.0.4 • NuGet Microsoft.AspNetCore.Mvc.DataAnnotations: >= 1.1.0, < 1.1.3 → fixed in 1.1.3 • NuGet Microsoft.AspNetCore.Mvc.Formatters.Json: >= 1.0.0, < 1.0.4 → fixed in 1.0.4 • NuGet Microsoft.AspNetCore.Mvc.Formatters.Json: >= 1.1.0, < 1.1.3 → fixed in 1.1.3 • NuGet Microsoft.AspNetCore.Mvc.Formatters.Xml: >= 1.0.0, < 1.0.4 → fixed in 1.0.4 • NuGet Microsoft.AspNetCore.Mvc.Formatters.Xml: >= 1.1.0, < 1.1.3 → fixed in 1.1.3 • NuGet Microsoft.AspNetCore.Mvc.Localization: >= 1.0.0, < 1.0.4 → fixed in 1.0.4 • NuGet Microsoft.AspNetCore.Mvc.Localization: >= 1.1.0, < 1.1.3 → fixed in 1.1.3 • NuGet Microsoft.AspNetCore.Mvc.Razor.Host: >= 1.0.0, < 1.0.4 → fixed in 1.0.4 • NuGet Microsoft.AspNetCore.Mvc.Razor.Host: >= 1.1.0, < 1.1.3 → fixed in 1.1.3 • NuGet Microsoft.AspNetCore.Mvc.Razor: >= 1.0.0, < 1.0.4 → fixed in 1.0.4 • NuGet Microsoft.AspNetCore.Mvc.Razor: >= 1.1.0, < 1.1.3 → fixed in 1.1.3 • NuGet Microsoft.AspNetCore.Mvc.TagHelpers: >= 1.0.0, < 1.0.4 → fixed in 1.0.4 • NuGet Microsoft.AspNetCore.Mvc.TagHelpers: >= 1.1.0, < 1.1.3 → fixed in 1.1.3 • NuGet Microsoft.AspNetCore.Mvc.ViewFeatures: >= 1.0.0, < 1.0.4 → fixed in 1.0.4 • NuGet Microsoft.AspNetCore.Mvc.ViewFeatures: >= 1.1.0, < 1.1.3 → fixed in 1.1.3 • NuGet Microsoft.AspNetCore.Mvc.WebApiCompatShim: >= 1.0.0, < 1.0.4 → fixed in 1.0.4 • NuGet Microsoft.AspNetCore.Mvc.WebApiCompatShim: >= 1.1.0, < 1.1.3 → fixed in 1.1.3

Description

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.

Related

Alias · CVE (1)

  • CVE-2017-0247 A denial of service vulnerability exists when the ASP.NET Core fails to properly validate web requests. vulnerability

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References