{"id":8897,"date":"2017-01-30T15:43:40","date_gmt":"2017-01-30T23:43:40","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/dotnet\/?p=8897"},"modified":"2021-09-30T10:26:33","modified_gmt":"2021-09-30T17:26:33","slug":"january-2017-update-for-asp-net-core-1-1","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/january-2017-update-for-asp-net-core-1-1\/","title":{"rendered":"January 2017 Update for ASP.NET Core 1.1"},"content":{"rendered":"<p>We just released an update for ASP.NET Core 1.1 due to <a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/security\/4010983\">Microsoft Security Advisory 4010983<\/a>. The advisory is for a vulnerability in ASP.NET Core MVC 1.1.0 that could allow denial of service. All of the information you need is in the advisory. A short summary is provided below.<\/p>\n<p>Red Hat customers should consult the <a href=\"https:\/\/access.redhat.com\/solutions\/2890741\">Red Hat advisory<\/a> for the same issue.<\/p>\n<h2><a href=\"#how-to-obtain-the-updates\" id=\"user-content-how-to-obtain-the-updates\" class=\"anchor\"><\/a>How to Obtain the Update<\/h2>\n<p>The update is in the <a href=\"https:\/\/www.nuget.org\/packages\/Microsoft.AspNetCore.Mvc.Core\">Microsoft.AspNetCore.Mvc.Core package<\/a>. You need to upgrade your project to use version 1.1.1 (or later) of the package and then re-publish your application.<\/p>\n<p>See below for examples of project file updates, for project.json and csproj formats. Note the updated Microsoft.AspNetCore.Mvc.Core package\u00a0version.<\/p>\n<h3><a href=\"#projectjson\" id=\"user-content-projectjson\" class=\"anchor\"><\/a>Project.json<\/h3>\n<p>The dependencies section of an updated project.json file would look like the following (in its most minimal form).<\/p>\n<div class=\"highlight highlight-source-json\">\n<pre><span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>dependencies<span class=\"pl-pds\">\"<\/span><\/span>: {\n<span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>Microsoft.NETCore.App<span class=\"pl-pds\">\"<\/span><\/span>: {\n    <span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>version<span class=\"pl-pds\">\"<\/span><\/span>: <span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>1.1.0<span class=\"pl-pds\">\"<\/span><\/span>,\n    <span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>type<span class=\"pl-pds\">\"<\/span><\/span>: <span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>platform<span class=\"pl-pds\">\"<\/span><\/span>\n},\n<span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>Microsoft.AspNetCore<span class=\"pl-pds\">\"<\/span><\/span>: <span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>1.1.0<span class=\"pl-pds\">\"<\/span><\/span>,\n<span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>Microsoft.AspNetCore.Mvc.Core<span class=\"pl-pds\">\"<\/span><\/span>: <span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>1.1.1<span class=\"pl-pds\">\"<\/span><\/span>,\n}<\/pre>\n<\/div>\n<h3><a href=\"#csproj\" id=\"user-content-csproj\" class=\"anchor\"><\/a>CSProj<\/h3>\n<p>An updated csproj file would look like the following (in its most minimal form):<\/p>\n<div class=\"highlight highlight-text-xml\">\n<pre>&lt;<span class=\"pl-ent\">Project<\/span> <span class=\"pl-e\">Sdk<\/span>=<span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>Microsoft.NET.Sdk.Web<span class=\"pl-pds\">\"<\/span><\/span>&gt;\n  &lt;<span class=\"pl-ent\">PropertyGroup<\/span>&gt;\n    &lt;<span class=\"pl-ent\">TargetFramework<\/span>&gt;netcoreapp1.1&lt;\/<span class=\"pl-ent\">TargetFramework<\/span>&gt;\n  &lt;\/<span class=\"pl-ent\">PropertyGroup<\/span>&gt;\n  &lt;<span class=\"pl-ent\">PropertyGroup<\/span>&gt;\n    &lt;<span class=\"pl-ent\">PackageTargetFallback<\/span>&gt;$(PackageTargetFallback);portable-net45+win8+wp8+wpa81;&lt;\/<span class=\"pl-ent\">PackageTargetFallback<\/span>&gt;\n  &lt;\/<span class=\"pl-ent\">PropertyGroup<\/span>&gt;\n  &lt;<span class=\"pl-ent\">ItemGroup<\/span>&gt;\n    &lt;<span class=\"pl-ent\">PackageReference<\/span> <span class=\"pl-e\">Include<\/span>=<span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>Microsoft.AspNetCore<span class=\"pl-pds\">\"<\/span><\/span> <span class=\"pl-e\">Version<\/span>=<span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>1.1.0<span class=\"pl-pds\">\"<\/span><\/span> \/&gt;\n    &lt;<span class=\"pl-ent\">PackageReference<\/span> <span class=\"pl-e\">Include<\/span>=<span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>Microsoft.AspNetCore.Mvc.Core<span class=\"pl-pds\">\"<\/span><\/span> <span class=\"pl-e\">Version<\/span>=<span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>1.1.1<span class=\"pl-pds\">\"<\/span><\/span> \/&gt;\n  &lt;\/<span class=\"pl-ent\">ItemGroup<\/span>&gt;\n&lt;\/<span class=\"pl-ent\">Project<\/span>&gt;<\/pre>\n<\/div>\n<h2><a href=\"#learn-more\" id=\"user-content-learn-more\" class=\"anchor\"><\/a>Learn more<\/h2>\n<p>You can ask questions on the <a href=\"https:\/\/github.com\/aspnet\/mvc\">aspnet\/mvc repo<\/a>, where a <a href=\"https:\/\/github.com\/aspnet\/Mvc\/issues\/5726\">discussion issue<\/a> has been created.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We just released an update for ASP.NET Core 1.1 due to Microsoft Security Advisory 4010983. The advisory is for a vulnerability in ASP.NET Core MVC 1.1.0 that could allow denial of service. All of the information you need is in the advisory. A short summary is provided below. Red Hat customers should consult the Red [&hellip;]<\/p>\n","protected":false},"author":336,"featured_media":58792,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[685],"tags":[],"class_list":["post-8897","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dotnet"],"acf":[],"blog_post_summary":"<p>We just released an update for ASP.NET Core 1.1 due to Microsoft Security Advisory 4010983. The advisory is for a vulnerability in ASP.NET Core MVC 1.1.0 that could allow denial of service. All of the information you need is in the advisory. A short summary is provided below. Red Hat customers should consult the Red [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/8897","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/users\/336"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/comments?post=8897"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/8897\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media\/58792"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media?parent=8897"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=8897"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=8897"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}