CVE-2017-0247
ASP.NET Core fails to properly validate web requests
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness: CWE-20
Affected packages · 19
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| NuGet | Microsoft.AspNetCore.Mvc | >=1.0.0, <1.0.4>=1.1.0, <1.1.3 | 1.0.41.1.3 |
| NuGet | Microsoft.AspNetCore.Mvc.Abstractions | >=1.0.0, <1.0.4>=1.1.0, <1.1.3 | 1.0.41.1.3 |
| NuGet | Microsoft.AspNetCore.Mvc.ApiExplorer | >=1.0.0, <1.0.4>=1.1.0, <1.1.3 | 1.0.41.1.3 |
| NuGet | Microsoft.AspNetCore.Mvc.Core | >=1.0.0, <1.0.4>=1.1.0, <1.1.3 | 1.0.41.1.3 |
| NuGet | Microsoft.AspNetCore.Mvc.Cors | >=1.0.0, <1.0.4>=1.1.0, <1.1.3 | 1.0.41.1.3 |
| NuGet | Microsoft.AspNetCore.Mvc.DataAnnotations | >=1.0.0, <1.0.4>=1.1.0, <1.1.3 | 1.0.41.1.3 |
| NuGet | Microsoft.AspNetCore.Mvc.Formatters.Json | >=1.0.0, <1.0.4>=1.1.0, <1.1.3 | 1.0.41.1.3 |
| NuGet | Microsoft.AspNetCore.Mvc.Formatters.Xml | >=1.0.0, <1.0.4>=1.1.0, <1.1.3 | 1.0.41.1.3 |
| NuGet | Microsoft.AspNetCore.Mvc.Localization | >=1.0.0, <1.0.4>=1.1.0, <1.1.3 | 1.0.41.1.3 |
| NuGet | Microsoft.AspNetCore.Mvc.Razor | >=1.0.0, <1.0.4>=1.1.0, <1.1.3 | 1.0.41.1.3 |
| NuGet | Microsoft.AspNetCore.Mvc.Razor.Host | >=1.0.0, <1.0.4>=1.1.0, <1.1.3 | 1.0.41.1.3 |
| NuGet | Microsoft.AspNetCore.Mvc.TagHelpers | >=1.0.0, <1.0.4>=1.1.0, <1.1.3 | 1.0.41.1.3 |
| NuGet | Microsoft.AspNetCore.Mvc.ViewFeatures | >=1.0.0, <1.0.4>=1.1.0, <1.1.3 | 1.0.41.1.3 |
| NuGet | Microsoft.AspNetCore.Mvc.WebApiCompatShim | >=1.0.0, <1.0.4>=1.1.0, <1.1.3 | 1.0.41.1.3 |
| NuGet | System.Net.Http | >=4.1.1, <4.1.2>=4.3.1, <4.3.2 | 4.1.24.3.2 |
| NuGet | System.Net.Http.WinHttpHandler | >=4.0.0, <4.0.1>=4.3.0, <4.5.4 | 4.0.14.5.4 |
| NuGet | System.Net.Security | >=4.0.0, <4.0.1>=4.3.0, <4.3.1 | 4.0.14.3.1 |
| NuGet | System.Net.WebSockets.Client | >=4.0.0, <4.0.1>=4.3.0, <4.3.1 | 4.0.14.3.1 |
| NuGet | System.Text.Encodings.Web | >=4.0.0, <4.0.1>=4.3.0, <4.3.1 | 4.0.14.3.1 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- github.com https://github.com/advisories/GHSA-6xh7-4v2w-36q6
- github.com https://github.com/aspnet/Announcements/issues/239
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2017-0247
- technet.microsoft.com https://technet.microsoft.com/en-us/library/security/4021279.aspx
- www.sidertia.com https://www.sidertia.com/Home/Community/Blog/2017/05/18/ASPNET-Core-Unicode-Non-Char-Encoding-DoS
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.