Remove Package Vulnerability

Migrated from DotNetZip to ProDotNetZip due to DotNetZip being marked as obsolete, unmaintained and with high vulnerability. Removed IIS profile from launch settings.
This commit is contained in:
Brett Hewitson 2024-12-28 23:38:00 +10:00
parent 5d8fe6ca90
commit 6377e03918
6 changed files with 23 additions and 27 deletions

View file

@ -670,8 +670,8 @@
</COMReference> </COMReference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="DotNetZip"> <PackageReference Include="ProDotNetZip">
<Version>1.16.0</Version> <Version>1.20.0</Version>
</PackageReference> </PackageReference>
<PackageReference Include="EO.Wpf"> <PackageReference Include="EO.Wpf">
<Version>4.0.12</Version> <Version>4.0.12</Version>

View file

@ -611,8 +611,8 @@
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="DotNetZip"> <PackageReference Include="ProDotNetZip">
<Version>1.16.0</Version> <Version>1.20.0</Version>
</PackageReference> </PackageReference>
<PackageReference Include="EO.Wpf"> <PackageReference Include="EO.Wpf">
<Version>4.0.12</Version> <Version>4.0.12</Version>

View file

@ -11,6 +11,6 @@
<DebugSymbols>false</DebugSymbols> <DebugSymbols>false</DebugSymbols>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="DotNetZip" Version="1.16.0" /> <PackageReference Include="ProDotNetZip" Version="1.20.0" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View file

@ -13,7 +13,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Plugin.Common", "Plugin.Com
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Plugin.Discord", "Plugin.Discord\Plugin.Discord.csproj", "{936EF260-FECF-4E9E-A21E-092D65931C7D}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Plugin.Discord", "Plugin.Discord\Plugin.Discord.csproj", "{936EF260-FECF-4E9E-A21E-092D65931C7D}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "3rd Party Libraries", "3rd Party Libraries", "{44D8A1A2-01FF-4DD3-A201-AD9A26F7798D}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "3rdParty", "3rdParty", "{44D8A1A2-01FF-4DD3-A201-AD9A26F7798D}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Plugins", "Plugins", "{F8DBCE70-4658-47CB-A508-B3951125F0ED}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Plugins", "Plugins", "{F8DBCE70-4658-47CB-A508-B3951125F0ED}"
EndProject EndProject
@ -46,12 +46,14 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Plugin.Discord.UnitTests",
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ServerManager.Discord", "ServerManager.Discord\ServerManager.Discord.csproj", "{C4C8000D-5E45-497C-A218-B95A1567010E}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ServerManager.Discord", "ServerManager.Discord\ServerManager.Discord.csproj", "{C4C8000D-5E45-497C-A218-B95A1567010E}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "UnitTests", "UnitTests", "{A7B846EF-9884-44DB-AF8F-3173DF1B3B66}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{A7B846EF-9884-44DB-AF8F-3173DF1B3B66}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ServerManager.Common.UnitTests", "ServerManager.Common.UnitTests\ServerManager.Common.UnitTests.csproj", "{18271A4E-6135-466A-BCF8-80E25446F454}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ServerManager.Common.UnitTests", "ServerManager.Common.UnitTests\ServerManager.Common.UnitTests.csproj", "{18271A4E-6135-466A-BCF8-80E25446F454}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "QueryMaster.UnitTests", "QueryMaster.UnitTests\QueryMaster.UnitTests.csproj", "{A2EEBC18-DAD8-415D-98E4-258EB12369C7}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "QueryMaster.UnitTests", "QueryMaster.UnitTests\QueryMaster.UnitTests.csproj", "{A2EEBC18-DAD8-415D-98E4-258EB12369C7}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{03CF4502-D197-433F-96B8-F00D3D9ACC4D}"
EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug - AutoBackup|Any CPU = Debug - AutoBackup|Any CPU Debug - AutoBackup|Any CPU = Debug - AutoBackup|Any CPU
@ -337,10 +339,20 @@ Global
{D2EE1483-021F-4900-BBE8-88338D1386F4} = {44D8A1A2-01FF-4DD3-A201-AD9A26F7798D} {D2EE1483-021F-4900-BBE8-88338D1386F4} = {44D8A1A2-01FF-4DD3-A201-AD9A26F7798D}
{96832688-29BD-464F-9DCE-482E37BFC751} = {44D8A1A2-01FF-4DD3-A201-AD9A26F7798D} {96832688-29BD-464F-9DCE-482E37BFC751} = {44D8A1A2-01FF-4DD3-A201-AD9A26F7798D}
{4CA9C894-518F-42D7-BBE2-CFDFE7A03F8A} = {44D8A1A2-01FF-4DD3-A201-AD9A26F7798D} {4CA9C894-518F-42D7-BBE2-CFDFE7A03F8A} = {44D8A1A2-01FF-4DD3-A201-AD9A26F7798D}
{A8BFC452-5BE8-41E7-BD1D-C29B944185CE} = {F8DBCE70-4658-47CB-A508-B3951125F0ED}
{1434D87A-E9FC-48B9-BEC9-E5A3003F1F2E} = {F8DBCE70-4658-47CB-A508-B3951125F0ED}
{18271A4E-6135-466A-BCF8-80E25446F454} = {A7B846EF-9884-44DB-AF8F-3173DF1B3B66} {18271A4E-6135-466A-BCF8-80E25446F454} = {A7B846EF-9884-44DB-AF8F-3173DF1B3B66}
{A2EEBC18-DAD8-415D-98E4-258EB12369C7} = {A7B846EF-9884-44DB-AF8F-3173DF1B3B66} {A2EEBC18-DAD8-415D-98E4-258EB12369C7} = {A7B846EF-9884-44DB-AF8F-3173DF1B3B66}
{95D4E57F-06F9-4B41-BEBB-2A8E81759BD2} = {03CF4502-D197-433F-96B8-F00D3D9ACC4D}
{DD0A2401-99B8-4DE1-B8ED-9B075172F8AF} = {03CF4502-D197-433F-96B8-F00D3D9ACC4D}
{F7A82C6A-32CD-4847-AD16-D79ADC72746E} = {03CF4502-D197-433F-96B8-F00D3D9ACC4D}
{630422CA-4BCC-4D1D-9701-87D8EAF0B209} = {03CF4502-D197-433F-96B8-F00D3D9ACC4D}
{7C99D9F7-0C65-4116-927A-94EB018C88FD} = {03CF4502-D197-433F-96B8-F00D3D9ACC4D}
{C4C8000D-5E45-497C-A218-B95A1567010E} = {03CF4502-D197-433F-96B8-F00D3D9ACC4D}
{3E0C9EE6-780F-4FEF-BA03-E38062A5FDB6} = {03CF4502-D197-433F-96B8-F00D3D9ACC4D}
{39C42E58-36BD-4C6B-9AD2-7F9EBCA7A68A} = {03CF4502-D197-433F-96B8-F00D3D9ACC4D}
{F8DBCE70-4658-47CB-A508-B3951125F0ED} = {03CF4502-D197-433F-96B8-F00D3D9ACC4D}
{44D8A1A2-01FF-4DD3-A201-AD9A26F7798D} = {03CF4502-D197-433F-96B8-F00D3D9ACC4D}
{1434D87A-E9FC-48B9-BEC9-E5A3003F1F2E} = {A7B846EF-9884-44DB-AF8F-3173DF1B3B66}
{A8BFC452-5BE8-41E7-BD1D-C29B944185CE} = {A7B846EF-9884-44DB-AF8F-3173DF1B3B66}
EndGlobalSection EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {4201246C-6E53-4209-883D-A4F084C19187} SolutionGuid = {4201246C-6E53-4209-883D-A4F084C19187}

View file

@ -17,7 +17,7 @@
<None Remove="Controls\CheckBoxAndTextBlock.xaml" /> <None Remove="Controls\CheckBoxAndTextBlock.xaml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="DotNetZip" Version="1.16.0" /> <PackageReference Include="ProDotNetZip" Version="1.20.0" />
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" /> <PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" /> <PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="NLog" Version="5.0.1" /> <PackageReference Include="NLog" Version="5.0.1" />

View file

@ -1,22 +1,6 @@
{ {
"$schema": "http://json.schemastore.org/launchsettings.json", "$schema": "http://json.schemastore.org/launchsettings.json",
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:36011",
"sslPort": 44353
}
},
"profiles": { "profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"launchUrl": "swagger",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"ServerManager.WebApplication": { "ServerManager.WebApplication": {
"commandName": "Project", "commandName": "Project",
"dotnetRunMessages": "true", "dotnetRunMessages": "true",
@ -28,4 +12,4 @@
} }
} }
} }
} }