Bump dependency System.Configuration.ConfigurationManager to 6.0.0 to avoid vulnerability issues with System.Drawing.Common 4.7.0
See original GitHub issueCurrently this project has a dependency on System.Configuration.ConfigurationManager
version 4.7.0
In a project I work on we use Trivy for container scanning purposes. This reported issue CVE-2021-24112 because of a dependency on System.Drawing.Common
version 4.7.0
.
βββββββββββββββββββββββββ¬βββββββββββββββββ¬βββββββββββ¬ββββββββββββββββββββ¬ββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββββββ
β Library β Vulnerability β Severity β Installed Version β Fixed Version β Title β
βββββββββββββββββββββββββΌβββββββββββββββββΌβββββββββββΌββββββββββββββββββββΌββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββ€
β System.Drawing.Common β CVE-2021-24112 β CRITICAL β 4.7.0 β 5.0.3, 4.7.2 β dotnet: Remote Code Execution Vulnerability β
β β β β β β https://avd.aquasec.com/nvd/cve-2021-24112 β
βββββββββββββββββββββββββ΄βββββββββββββββββ΄βββββββββββ΄ββββββββββββββββββββ΄ββββββββββββββββ΄ββββββββββββββββββββββββββββββββββββββββββββββ
After a while, I figured out that we had this dll because of Quartz.
Quartz has this dependency because of System.Configuration.ConfigurationManager
This issue is fixed in 5.0.3
, 4.7.2
(or 6.x.x
).
I recommend updating SYstem.ConfigurationManager
to the latest 6.x.x
version so this vulnerability will be fixed.
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
How to fix the security vulnerability in system.drawing. ...
I had the same issue. Just add the latest System.Drawing.Common package to your project which uses Microsoft.EntityFrameworkCore.SqlServer.
Read more >Dependency on System.Drawing.Common that has a ...
ConfigurationManager >= 5.0.0 System. ... Drawing.Common ... Common 5.0.0 which as the following security vulnerability: GHSA-rxg9-xrhp-64gj.
Read more >System.Drawing.Common only supported on Windows - .NET
Learn about the .NET 6 breaking change where the System.Drawing.Common package is no longer supported on non-Windows operating systems.
Read more >System.Drawing.Common 4.7.0
This package has at least one vulnerability with critical severity. It may lead to specific problems in your project. Try updating the packageΒ ......
Read more >Could not load file or assembly 'System.DirectoryServices. ...
net7 and you're trying to use System.DirectoryServices.AccountManagement , then NuGet will pull in: System.Configuration.ConfigurationManager.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Wow, thatβs a weird dependency tree. Thanks for sharing!
OK now weβre at version 6.0.1 at 3.x branch Iβll remove the whole dependency on main (4.x).