Repro steps
dotnet new worker
- Open project in Visual Studio
- Right-client project > Manage NuGet Packages
Expected results
The project shouldn't have vulnerability warnings
Actual results
Check 'Show only vulnerable' checkbox, then you can see that the warning is because the following packages have a dependency on System.text.json 8.0.0, which has been detected as the vulnerable package
Original issue
INSTALL STEPS
- Clean machine: Win11 x64 23h2 ENU
- Install Dev17.10.4 (Include Aspire 8.0.0) latest release build
REPRO STEPS
- File > New project > .NET Aspire App Host > .NET 8.0 > Create
- Right-check project > Manage NuGet Packages
ACTUAL
Check 'Show only vulnerable' checkbox, then you can see that the warning is because the following packages have a dependency on System.text.json 8.0.0, which has been detected as the vulnerable package
Aspire.Hosting.AppHost "Version=" 8.0.0

NOTE:
- This issue can be repro in any aspire project or in a project with aspire
This issue also repro on Dev17.10 + Aspire 8.0.2/8.1 and Dev17.11 + Aspire 8.0.2/8.1
EXPECTED
The packages should be updated to depend on a newer version of System.text.json that is not vulnerable.