You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The upgrade is safe. 4.7.1 and 4.7.2 are security-only patches for CVE-2021-24112 — no API removals, signature changes, or behavioral differences. Existing code will compile and run identically.
Two things worth noting:
1. The NuGet version is mostly cosmetic on net10.0
The project targets net10.0. On .NET 6+, System.Drawing.Common is an inbox assembly — the NuGet package provides resolution stubs, but the actual runtime implementation is whatever ships with .NET 10, not the 4.7.x package. The version bump primarily satisfies dependency scanners (dotnet list package --vulnerable, Dependabot), not the runtime.
2. Pre-existing cross-platform issue (not caused by this PR)
System.Drawing.Common became Windows-only on .NET 6+, and the EnableUnixSupport escape hatch was removed in .NET 7. On net10.0, any code path reaching System.Drawing types (BniFileParser, BniIcon, Blp1Parser, Blp2Parser, ImageParser) will throw PlatformNotSupportedException on Linux/macOS. This predates this PR and is worth tracking as a separate issue — the likely fix is replacing System.Drawing.Common with a cross-platform alternative like ImageSharp or SkiaSharp.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This request resolves the .NET Core Remote Code Execution Vulnerability below by upgrading dependency
System.Drawing.Commonfrom 4.7.0 to 4.7.2.