CriticalGHSA-rxg9-xrhp-64gjBIT-dotnet-2021-24112BIT-dotnet-sdk-2021-24112CVE-2021-24112

.NET Core Remote Code Execution Vulnerability

Published 24 May 2022 · Updated 29 Nov 2024

Is your project on an affected System.Drawing.Common?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several .NET apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
>=4.0.0 <4.7.2
Fixed in
4.7.2
Update to the fixed version for your release line, for example:dotnet add package System.Drawing.Common --version 4.7.2
Affected
>=5.0.0 <5.0.3
Fixed in
5.0.3
Update to the fixed version for your release line, for example:dotnet add package System.Drawing.Common --version 5.0.3

Details

A remote code execution vulnerability exists when parsing certain types of graphics files. This vulnerability only exists on systems running on MacOS or Linux. This CVE ID is unique from CVE-2021-26701.

Is GHSA-rxg9-xrhp-64gj in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected System.Drawing.Common, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.