Microsoft.Data.SqlClient vulnerabilities
The current data provider for SQL Server and Azure SQL databases. This has replaced System.Data.SqlClient. These classes provide access to SQL and encapsulate database-specific protocols, including tabular data stream (TDS). Commonly Used Types: Microsoft.Data.SqlClient.SqlConnection Microsoft.Data.SqlClient.SqlException Microsoft.Data.SqlClient.SqlParameter Microsoft.Data.SqlClient.SqlDataReader Microsoft.Data.SqlClient.SqlCommand Microsoft.Data.SqlClient.SqlTransaction Microsoft.Data.SqlClient.SqlParameterCollection Microsoft.Data.SqlClient.SqlClientFactory When using NuGet 3.x this package requires at least version 3.4.
- Registry
- NuGet
- Latest
- 7.1.2
- License
- MIT
2 known advisories
The latest version, 7.1.2, is not affected by any of them. Projects on older versions may be.
dotnet add package Microsoft.Data.SqlClient --version 7.1.2Is 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
Security advisories for Microsoft.Data.SqlClient
Microsoft.Data.SqlClient and System.Data.SqlClient vulnerable to SQL Data Provider Security Feature Bypass
- Affected
- <2.1.7 · >=3.0.0 <3.1.5 · >=4.0.0 <4.0.5 · >=5.0.0 <5.1.3
- Fixed in
- 2.1.7, 3.1.5, 4.0.5, 5.1.3
.NET Information Disclosure Vulnerability
- Affected
- <1.1.4 · >=2.0.0 <2.1.2
- Fixed in
- 1.1.4, 2.1.2
Is your Microsoft.Data.SqlClient version vulnerable?
- Microsoft.Data.SqlClient 7.1No known advisories in 7.1.2
- Microsoft.Data.SqlClient 7.0No known advisories in 7.0.4
- Microsoft.Data.SqlClient 6.1No known advisories in 6.1.8
- Microsoft.Data.SqlClient 6.0No known advisories in 6.0.5
- Microsoft.Data.SqlClient 5.2No known advisories in 5.2.3
- Microsoft.Data.SqlClient 5.1No known advisories in 5.1.9
- Microsoft.Data.SqlClient 5.01 advisory in 5.0.2
Which of your client projects still run an old Microsoft.Data.SqlClient?
NPMscan reads the packages.lock.json and .csproj files in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.
Other NuGet packages
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the NuGet registry.