Skip to content

Conversation

@TimothyMothra
Copy link

@TimothyMothra TimothyMothra commented Nov 4, 2022

Supersedes: #2704

Our SDK has an implicit reference to System.Drawing.Common:

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="1.0.0" />
<PackageReference Include="System.Diagnostics.PerformanceCounter" Version="4.7.0" />

We could mitigate this by taking a dependency on System.Drawing.Common v4.7.2.

Instead, we're going to upgrade System.Diagnostics.PerformanceCounter from v4.7.0 to v6.0.0 to get a version of System.Drawing.Common without a vulnerability.

@TimothyMothra TimothyMothra enabled auto-merge (squash) November 4, 2022 21:03
@TimothyMothra TimothyMothra merged commit 7191788 into main Nov 7, 2022
@TimothyMothra TimothyMothra deleted the tilee/CVE-2021-24112 branch November 7, 2022 21:34
@ryan-shelby-byte
Copy link

Is this going to be in a beta release?

@TimothyMothra
Copy link
Author

Hi @ryan-shelby-byte
Yes, this will be in 2.22-Beta2, but we don't have a release date planned yet.

As a temporary mitigation, you can take an explicit dependency on a newer version of System.Drawing.Common.

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.

4 participants