Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mitigate CVE-2021-24112 #2707

Merged
merged 4 commits into from
Nov 7, 2022
Merged

mitigate CVE-2021-24112 #2707

merged 4 commits into from
Nov 7, 2022

Conversation

TimothyMothra
Copy link
Member

@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
Member 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.

3 participants