-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Medium and low level vulnerabilities patched (#3286)
* Pathched CVE-2018-8356. * Pathched CVE-2019-0657. * Pathched CVE-2019-0657, CVE-2019-0980 and CVE-2019-0981. * Package fixed. * Moved versions to arcade folder * Fix csproj formatting * Auto format csproj Co-authored-by: nohwnd <me@jakubjares.com>
- Loading branch information
Showing
7 changed files
with
111 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
124 changes: 66 additions & 58 deletions
124
...soft.TestPlatform.PlatformAbstractions/Microsoft.TestPlatform.PlatformAbstractions.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,74 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<TestPlatformRoot Condition="$(TestPlatformRoot) == ''">..\..\</TestPlatformRoot> | ||
</PropertyGroup> | ||
<Import Project="$(TestPlatformRoot)scripts/build/TestPlatform.Settings.targets" /> | ||
<PropertyGroup> | ||
<AssemblyName>Microsoft.TestPlatform.PlatformAbstractions</AssemblyName> | ||
<RootNamespace>Microsoft.TestPlatform.PlatformAbstractions</RootNamespace> | ||
<TargetFrameworks>net45;net451;netcoreapp1.0;netcoreapp2.1;netstandard1.3;netstandard2.0</TargetFrameworks> | ||
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">$(TargetFrameworks);uap10.0;netstandard1.0</TargetFrameworks> | ||
<TargetFrameworks Condition=" '$(DotNetBuildFromSource)' == 'true' ">net6.0</TargetFrameworks> | ||
<EnableCodeAnalysis>true</EnableCodeAnalysis> | ||
<IsTestProject>false</IsTestProject> | ||
<!-- This causes a build error on netcoreapp1.0 --> | ||
<NoWarn Condition="'$(TargetFramework)' != 'netcoreapp1.0'">NU1605</NoWarn> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<TestPlatformRoot Condition="$(TestPlatformRoot) == ''">..\..\</TestPlatformRoot> | ||
</PropertyGroup> | ||
<Import Project="$(TestPlatformRoot)scripts/build/TestPlatform.Settings.targets" /> | ||
<PropertyGroup> | ||
<AssemblyName>Microsoft.TestPlatform.PlatformAbstractions</AssemblyName> | ||
<RootNamespace>Microsoft.TestPlatform.PlatformAbstractions</RootNamespace> | ||
<TargetFrameworks>net45;net451;netcoreapp1.0;netcoreapp2.1;netstandard1.3;netstandard2.0</TargetFrameworks> | ||
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">$(TargetFrameworks);uap10.0;netstandard1.0</TargetFrameworks> | ||
<TargetFrameworks Condition=" '$(DotNetBuildFromSource)' == 'true' ">net6.0</TargetFrameworks> | ||
<EnableCodeAnalysis>true</EnableCodeAnalysis> | ||
<IsTestProject>false</IsTestProject> | ||
<!-- This causes a build error on netcoreapp1.0 --> | ||
<NoWarn Condition="'$(TargetFramework)' != 'netcoreapp1.0'">NU1605</NoWarn> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(TargetFramework)' == 'uap10.0'"> | ||
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies> | ||
<NugetTargetMoniker>UAP,Version=v10.0</NugetTargetMoniker> | ||
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier> | ||
<TargetPlatformVersion>10.0.14393.0</TargetPlatformVersion> | ||
<TargetPlatformMinVersion>10.0.10240.0</TargetPlatformMinVersion> | ||
<TargetFrameworkIdentifier>.NETPortable</TargetFrameworkIdentifier> | ||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> | ||
<DefineConstants>$(DefineConstants);WINDOWS_UWP</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(TargetFramework)' == 'uap10.0'"> | ||
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies> | ||
<NugetTargetMoniker>UAP,Version=v10.0</NugetTargetMoniker> | ||
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier> | ||
<TargetPlatformVersion>10.0.14393.0</TargetPlatformVersion> | ||
<TargetPlatformMinVersion>10.0.10240.0</TargetPlatformMinVersion> | ||
<TargetFrameworkIdentifier>.NETPortable</TargetFrameworkIdentifier> | ||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> | ||
<DefineConstants>$(DefineConstants);WINDOWS_UWP</DefineConstants> | ||
</PropertyGroup> | ||
|
||
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' OR '$(TargetFramework)' == 'netcoreapp1.0' "> | ||
<PackageReference Include="System.Threading.Thread" Version="4.0.0" /> | ||
<PackageReference Include="System.Diagnostics.Process" Version="4.1.0" /> | ||
<PackageReference Include="System.Diagnostics.TextWriterTraceListener" Version="4.0.0" /> | ||
<PackageReference Include="System.Diagnostics.TraceSource" Version="4.0.0" /> | ||
<PackageReference Include="System.Runtime.InteropServices.RuntimeInformation" Version="4.0.0" /> | ||
<PackageReference Include="System.Runtime.Loader" Version="4.0.0" /> | ||
<PackageReference Include="System.Net.Http" Version="$(SystemNetHttpVersion)" /> | ||
</ItemGroup> | ||
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' OR '$(TargetFramework)' == 'netcoreapp1.0' "> | ||
<PackageReference Include="System.Threading.Thread" Version="4.0.0" /> | ||
<PackageReference Include="System.Diagnostics.Process" Version="4.1.0" /> | ||
<PackageReference Include="System.Diagnostics.TextWriterTraceListener" Version="4.0.0" /> | ||
<PackageReference Include="System.Diagnostics.TraceSource" Version="4.0.0" /> | ||
<PackageReference Include="System.Runtime.InteropServices.RuntimeInformation" Version="4.0.0" /> | ||
<PackageReference Include="System.Runtime.Loader" Version="4.0.0" /> | ||
<PackageReference Include="System.Net.Http" Version="$(SystemNetHttpVersion)" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition=" '$(TargetFramework)' == 'net451' OR '$(TargetFramework)' == 'net45' "> | ||
<PackageReference Include="Microsoft.Internal.Dia.Interop" Version="$(TestPlatformMSDiaVersion)" /> | ||
<ItemGroup Condition=" '$(TargetFramework)' == 'net451' OR '$(TargetFramework)' == 'net45' "> | ||
<PackageReference Include="Microsoft.Internal.Dia.Interop" Version="$(TestPlatformMSDiaVersion)" /> | ||
|
||
<Reference Include="System.Configuration" /> | ||
<Reference Include="System" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
</ItemGroup> | ||
<Reference Include="System.Configuration" /> | ||
<Reference Include="System" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition=" '$(TargetFramework)' == 'uap10.0' "> | ||
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform" Version="5.1.0" /> | ||
<PackageReference Include="System.Runtime.InteropServices.RuntimeInformation" Version="4.3.0" /> | ||
<PackageReference Include="System.Net.Http" Version="$(SystemNetHttpVersion)" /> | ||
</ItemGroup> | ||
<ItemGroup Condition=" '$(TargetFramework)' == 'uap10.0' "> | ||
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform" Version="5.1.0" /> | ||
<PackageReference Include="System.Runtime.InteropServices.RuntimeInformation" Version="4.3.0" /> | ||
<PackageReference Include="System.Net.Http" Version="$(SystemNetHttpVersion)" /> | ||
|
||
<ItemGroup> | ||
<!-- API that is common to all frameworks that we build for. --> | ||
<AdditionalFiles Include="PublicAPI/PublicAPI.Shipped.txt" /> | ||
<AdditionalFiles Include="PublicAPI/PublicAPI.Unshipped.txt" /> | ||
<!-- API that is common to all frameworks except for .NET Standard 1.0. --> | ||
<AdditionalFiles Condition=" '$(TargetFramework)' != 'netstandard1.0' " Include="PublicAPI\net\PublicAPI.Shipped.txt" /> | ||
<AdditionalFiles Condition=" '$(TargetFramework)' != 'netstandard1.0' " Include="PublicAPI\net\PublicAPI.Unshipped.txt" /> | ||
<!-- Framework specific API --> | ||
<AdditionalFiles Include="PublicAPI/$(TargetFramework)/PublicAPI.Shipped.txt" /> | ||
<AdditionalFiles Include="PublicAPI/$(TargetFramework)/PublicAPI.Unshipped.txt" /> | ||
</ItemGroup> | ||
<Import Project="$(TestPlatformRoot)scripts\build\TestPlatform.targets" /> | ||
<!-- CVE-2018-8356 mitigation --> | ||
<PackageReference Include="System.ServiceModel.Duplex" Version="$(SystemServiceModelVersion)" /> | ||
<PackageReference Include="System.ServiceModel.NetTcp" Version="$(SystemServiceModelVersion)" /> | ||
<PackageReference Include="System.ServiceModel.Primitives" Version="$(SystemServiceModelVersion)" /> | ||
<PackageReference Include="System.ServiceModel.Security" Version="$(SystemServiceModelVersion)" /> | ||
<PackageReference Include="System.Private.ServiceModel" Version="$(SystemServiceModelVersion)" /> | ||
<!-- / CVE-2018-8356 mitigation --> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<!-- API that is common to all frameworks that we build for. --> | ||
<AdditionalFiles Include="PublicAPI/PublicAPI.Shipped.txt" /> | ||
<AdditionalFiles Include="PublicAPI/PublicAPI.Unshipped.txt" /> | ||
<!-- API that is common to all frameworks except for .NET Standard 1.0. --> | ||
<AdditionalFiles Condition=" '$(TargetFramework)' != 'netstandard1.0' " Include="PublicAPI\net\PublicAPI.Shipped.txt" /> | ||
<AdditionalFiles Condition=" '$(TargetFramework)' != 'netstandard1.0' " Include="PublicAPI\net\PublicAPI.Unshipped.txt" /> | ||
<!-- Framework specific API --> | ||
<AdditionalFiles Include="PublicAPI/$(TargetFramework)/PublicAPI.Shipped.txt" /> | ||
<AdditionalFiles Include="PublicAPI/$(TargetFramework)/PublicAPI.Unshipped.txt" /> | ||
</ItemGroup> | ||
<Import Project="$(TestPlatformRoot)scripts\build\TestPlatform.targets" /> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters