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

mitigate cve-2021-26701 #3449

Merged
merged 1 commit into from
May 7, 2021
Merged

Conversation

jjoekoullas
Copy link
Contributor

https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-26701

just bumping version for system.text.encodings.web to mitigate the above cve.

@wyatt-troia
Copy link

@jjoekoullas Thanks for opening this. I just encountered the same issue. Do you know if there's a way to fix this locally, while we wait for this PR to be merged?

@jjoekoullas
Copy link
Contributor Author

jjoekoullas commented May 6, 2021

I ran into this with nswag.msbuild. Not really a good way around it for that - except maybe using a private nuget repo and publishing to it using this branch.

If it's just because you're referencing nswag in your project - just referencing an updated System.Text.Encodings.Web will get you past this. That's actually what this fix is doing, just referencing an updating version since the problematic reference is in a dependency.

@wyatt-troia
Copy link

@jjoekoullas Unfortunately I also ran into this with nswag.msbuild :(

I may try the private nuget repo approach

@RicoSuter RicoSuter merged commit 4295136 into RicoSuter:master May 7, 2021
pull bot added a commit to InfoTrackGlobal/NSwag that referenced this pull request May 7, 2021
* mitigate cve-2021-26701 (RicoSuter#3449)

Co-authored-by: Joe Koullas <[email protected]>

* Update NJS

* Update NR

Co-authored-by: Joe <[email protected]>
Co-authored-by: Joe Koullas <[email protected]>
Co-authored-by: Rico Suter <[email protected]>
pull bot added a commit to InfoTrackGlobal/NSwag that referenced this pull request May 7, 2021
* mitigate cve-2021-26701 (RicoSuter#3449)

Co-authored-by: Joe Koullas <[email protected]>

* Update NJS

* Update NR

* v13.11.0

* Update to swagger-ui-3.48.0, RicoSuter#3451

* Allow UseAbortSignal for Aurelia, closes RicoSuter#3452

Co-authored-by: Joe <[email protected]>
Co-authored-by: Joe Koullas <[email protected]>
Co-authored-by: Rico Suter <[email protected]>
@wyatt-troia
Copy link

Thank you @RicoSuter !

@RicoSuter
Copy link
Owner

Thanks for the PR.

@bradygaster
Copy link

Thank you @RicoSuter - was just about to email you about this. @wyatt-troia - does this solve?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants