Advisory

GHSA-6xh7-4v2w-36q6

Also known as: CVE-2017-0247

Summary

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2018-10-16 19:58 UTC
Modified
2023-11-08 03:58 UTC

Affected packages and fixes

38 affected packages; all NuGet · All systems
PackageAffectedFix
Microsoft.AspNetCore.Mvcintroduced 1.0.0, fixed 1.0.4The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvcintroduced 1.1.0, fixed 1.1.3The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvc.Coreintroduced 1.0.0, fixed 1.0.4The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvc.Coreintroduced 1.1.0, fixed 1.1.3The export has no generic command for this ecosystem.
System.Net.Httpintroduced 4.1.1, fixed 4.1.2The export has no generic command for this ecosystem.
System.Net.Httpintroduced 4.3.1, fixed 4.3.2The export has no generic command for this ecosystem.
System.Text.Encodings.Webintroduced 4.0.0, fixed 4.0.1The export has no generic command for this ecosystem.
System.Text.Encodings.Webintroduced 4.3.0, fixed 4.3.1The export has no generic command for this ecosystem.
System.Net.Http.WinHttpHandlerintroduced 4.0.0, fixed 4.0.1The export has no generic command for this ecosystem.
System.Net.Http.WinHttpHandlerintroduced 4.3.0, fixed 4.5.4The export has no generic command for this ecosystem.
System.Net.Securityintroduced 4.0.0, fixed 4.0.1The export has no generic command for this ecosystem.
System.Net.Securityintroduced 4.3.0, fixed 4.3.1The export has no generic command for this ecosystem.
System.Net.WebSockets.Clientintroduced 4.0.0, fixed 4.0.1The export has no generic command for this ecosystem.
System.Net.WebSockets.Clientintroduced 4.3.0, fixed 4.3.1The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvc.Abstractionsintroduced 1.0.0, fixed 1.0.4The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvc.Abstractionsintroduced 1.1.0, fixed 1.1.3The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvc.ApiExplorerintroduced 1.0.0, fixed 1.0.4The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvc.ApiExplorerintroduced 1.1.0, fixed 1.1.3The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvc.Corsintroduced 1.0.0, fixed 1.0.4The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvc.Corsintroduced 1.1.0, fixed 1.1.3The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvc.DataAnnotationsintroduced 1.0.0, fixed 1.0.4The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvc.DataAnnotationsintroduced 1.1.0, fixed 1.1.3The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvc.Formatters.Jsonintroduced 1.0.0, fixed 1.0.4The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvc.Formatters.Jsonintroduced 1.1.0, fixed 1.1.3The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvc.Formatters.Xmlintroduced 1.0.0, fixed 1.0.4The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvc.Formatters.Xmlintroduced 1.1.0, fixed 1.1.3The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvc.Localizationintroduced 1.0.0, fixed 1.0.4The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvc.Localizationintroduced 1.1.0, fixed 1.1.3The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvc.Razor.Hostintroduced 1.0.0, fixed 1.0.4The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvc.Razor.Hostintroduced 1.1.0, fixed 1.1.3The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvc.Razorintroduced 1.0.0, fixed 1.0.4The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvc.Razorintroduced 1.1.0, fixed 1.1.3The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvc.TagHelpersintroduced 1.0.0, fixed 1.0.4The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvc.TagHelpersintroduced 1.1.0, fixed 1.1.3The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvc.ViewFeaturesintroduced 1.0.0, fixed 1.0.4The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvc.ViewFeaturesintroduced 1.1.0, fixed 1.1.3The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvc.WebApiCompatShimintroduced 1.0.0, fixed 1.0.4The export has no generic command for this ecosystem.
Microsoft.AspNetCore.Mvc.WebApiCompatShimintroduced 1.1.0, fixed 1.1.3The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences