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

Only update versions of all vulnerable reference packages #550

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fuyuesong
Copy link

仅更新所有有漏洞引用包的版本

仅更新所有有漏洞引用包的版本
@toddams
Copy link
Owner

toddams commented Feb 10, 2025

Along the lines you also added reference to Microsoft.NETCore.App, which we did not have

@fuyuesong
Copy link
Author

Hello! Glad to see your reply.

The reason why the reference to Microsoft.NETCore.App is added to the following two projects is that these two projects already have this package referenced by default. You can check your original projects to see if there is such a reference.

When the reference is not added manually, the default is to reference the lowest - version package with vulnerabilities. Only after adding the reference manually can a new version be specified.

These two projects are for demonstration and testing, and they have no impact on the core class library.

samples/RazorLight.Samples/Samples.EntityFrameworkProject.csproj

tests/RazorLight.Tests/RazorLight.Tests.csproj

2025-02-11_10-56-26
If the Microsoft.NETCore.App package is not added manually, vulnerabilities exist.

2025-02-11_10-57-03
Manually adding the Microsoft.NETCore.App package resolves the vulnerabilities.

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.

2 participants