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

Turn Kestrel and AspNetCore into a framework dependency #2839

Open
wants to merge 5 commits into
base: v2.x
Choose a base branch
from

Conversation

davidmrdavid
Copy link
Contributor

@davidmrdavid davidmrdavid commented May 30, 2024

AspNetCore comes bundled with .NET. As a result, we don't need an explicit package dependency on Kestrel or other AspNetCore packages in the extension. On the contrary, since the NuGet packages for AspNetCore have not been updated in a while, this may lead up to CVEs being flagged for the extension. This PR is an attempt at turning those AspNetCore dependencies into framework dependencies, so that we simply load them from the .NET installation on the machine, just like the Azure Functions Host itself.

Note that this is in response to a customer IcM reporting CVEs in our Kestrel dependency (v2.2.0). Seems the Kestrel package on NuGet is no longer being updated, so this seems like "the only path forward" if we want to appease that request. I may be wrong about that, please let me know. As I know this is a big change, I won't merge until there's an agreement.

@davidmrdavid davidmrdavid marked this pull request as ready for review May 30, 2024 01:35
@davidmrdavid davidmrdavid marked this pull request as draft May 30, 2024 01:35
@davidmrdavid davidmrdavid force-pushed the dajusto/remove-kestrel-dep branch from a81e5dd to d5f99d1 Compare May 30, 2024 02:34
@davidmrdavid davidmrdavid changed the title [Test] Turn Kestrel and AspNetCore in general into a framework dependency Turn Kestrel and AspNetCore in general into a framework dependency May 30, 2024
@davidmrdavid davidmrdavid marked this pull request as ready for review May 30, 2024 22:39
@davidmrdavid davidmrdavid changed the title Turn Kestrel and AspNetCore in general into a framework dependency Turn Kestrel into a framework dependency May 30, 2024
@davidmrdavid davidmrdavid changed the title Turn Kestrel into a framework dependency Turn Kestrel and AspNetCore into a framework dependency May 30, 2024
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.

1 participant