HighGHSA-98g6-xh36-x2p7BIT-dotnet-2024-0056BIT-dotnet-sdk-2024-0056CVE-2024-0056
Microsoft.Data.SqlClient and System.Data.SqlClient vulnerable to SQL Data Provider Security Feature Bypass
Published 9 Jan 2024 · Updated 31 May 2024
Is your project on an affected Microsoft.Data.SqlClient?
Look after several .NET apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- <2.1.7
- Fixed in
- 2.1.7
Update to the fixed version for your release line, for example:
dotnet add package Microsoft.Data.SqlClient --version 2.1.7- Affected
- <4.8.6
- Fixed in
- 4.8.6
Update to the fixed version for your release line, for example:
dotnet add package System.Data.SqlClient --version 4.8.6- Affected
- >=3.0.0 <3.1.5
- Fixed in
- 3.1.5
Update to the fixed version for your release line, for example:
dotnet add package Microsoft.Data.SqlClient --version 3.1.5- Affected
- >=4.0.0 <4.0.5
- Fixed in
- 4.0.5
Update to the fixed version for your release line, for example:
dotnet add package Microsoft.Data.SqlClient --version 4.0.5- Affected
- >=5.0.0 <5.1.3
- Fixed in
- 5.1.3
Update to the fixed version for your release line, for example:
dotnet add package Microsoft.Data.SqlClient --version 5.1.3Details
Microsoft.Data.SqlClient and System.Data.SqlClient SQL Data Provider Security Feature Bypass Vulnerability
Is GHSA-98g6-xh36-x2p7 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 Microsoft.Data.SqlClient, and gives you the command that fixes it.
More advisories for Microsoft.Data.SqlClient
- MediumCVE-2022-41064.NET Information Disclosure Vulnerability · 8 Nov 2022
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.