-
-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
Fixes a denial of service security vulnerability (CVE-2024-38095) in the System.Security.Formats.Asn1 (<= 8.0.0) nuget package.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,6 +65,7 @@ | |
|
||
<ItemGroup Condition=" $(TargetFramework.StartsWith('netstandard2.')) Or $(TargetFramework.StartsWith('net6')) Or $(TargetFramework.StartsWith('net8')) "> | ||
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="8.0.0" /> | ||
<PackageReference Include="System.Formats.Asn1" Version="8.0.1" /> | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
jstedfast
Author
Owner
|
||
</ItemGroup> | ||
|
||
<ItemGroup Condition=" $(TargetFramework.StartsWith('netstandard2.')) "> | ||
|
Just checking, but MailKit specifies this reference for .NET Framework 4 and .NET Standard 2 (but not for .NET 6 or .NET 8) while MimeKit does it for .NET Standard 2 and .NET 6/8 (but not .NET Framework 4.) Is this intentional, and if so, is it consistent?
One of my .NET Framework 4.8 projects raised
MSB3277
as warning and picked the old version as best match due to being a primary reference (which I can address by explicitly using the package as well; except that I don't have any explicit references toSystem.Formats.Asn1
right now, so I'm curious where it came from originally.)