Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to latest System.Text.Encodings.Web due to CVE-2021-26701 for Microsoft.AspNetCore.Mvc.Core v2.2.5 #31572

Closed
jayman-dalal opened this issue Apr 6, 2021 · 4 comments
Labels
area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates ✔️ Resolution: Answered Resolved because the question asked by the original author has been answered. Status: Resolved

Comments

@jayman-dalal
Copy link

Microsoft.AspNetCore.Mvc.Core v2.2.5 is System.Text.Encodings.Web which has https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-26701. Requirement is to upgrade to version System.Text.Encodings.Web - 4.5.1,4.7.2,5.0.1. Can you please provide an ETA for it?

@blowdart
Copy link
Contributor

blowdart commented Apr 6, 2021

.NET 2.2 Core is out of support and has been since December 2019.. It will not be updated. Please update to 3.1.

You can add a reference to the latest appropriate package yourself, but by being on an unsupported version you won't get other security fixes.

@blowdart blowdart added the ✔️ Resolution: Answered Resolved because the question asked by the original author has been answered. label Apr 6, 2021
@ghost ghost added the Status: Resolved label Apr 6, 2021
@DmytryEmery
Copy link

DmytryEmery commented Apr 7, 2021

So looking into this a bit cause I'm the same boat, and the other answer didn't really help me..

It appears the nuget package: Microsoft.AspNetCore.Mvc.Core is depreciated (this should be mentioned on the nuget package I think).

The latest version is 2.2.5.

@jayman-dalal
I think correct solution here that this package is no longer needed in netcore 3.0 and higher.
If you're already on that version, you dont need this package.

Checkout this documentation, expand the section "Click to expand the list of packages no longer being produced":
It is specifically mentioned as no longer needed.

@blowdart
Copy link
Contributor

blowdart commented Apr 7, 2021

As an aside we're looking at the nuget deprecation feature, and the experience it gives.

@Pilchie Pilchie added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Apr 7, 2021
@ghost
Copy link

ghost commented Apr 8, 2021

This issue has been resolved and has not had any activity for 1 day. It will be closed for housekeeping purposes.

See our Issue Management Policies for more information.

@ghost ghost closed this as completed Apr 8, 2021
@ghost ghost locked as resolved and limited conversation to collaborators May 8, 2021
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates ✔️ Resolution: Answered Resolved because the question asked by the original author has been answered. Status: Resolved
Projects
None yet
Development

No branches or pull requests

4 participants