Thanks to visit codestin.com
Credit goes to github.com

Skip to content

mitigate CVE-2021-24112#2707

Merged
TimothyMothra merged 4 commits into
mainfrom
tilee/CVE-2021-24112
Nov 7, 2022
Merged

mitigate CVE-2021-24112#2707
TimothyMothra merged 4 commits into
mainfrom
tilee/CVE-2021-24112

Conversation

@TimothyMothra

@TimothyMothra TimothyMothra commented Nov 4, 2022

Copy link
Copy Markdown

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.

Comment thread WEB/Src/PerformanceCollector/PerformanceCollector/Perf.csproj Outdated
@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
Copy Markdown

Is this going to be in a beta release?

@TimothyMothra

Copy link
Copy Markdown
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