CVE-2024-0056
High
Description
Microsoft.Data.SqlClient and System.Data.SqlClient SQL Data Provider Security Feature Bypass Vulnerability
SeverityHigh
CVSS8.7
Exploit probability—
Product
Microsoft.data.sqlclient
PublishedJan 9, 2024
First seenJan 9, 2024
Weakness typeCWE-319CWE-319
How to fix
Update
- microsoft microsoft.data.sqlclient2.1.7, 3.1.5, 4.0.5, 5.1.3 or later
- microsoft system.data.sqlclient4.8.6 or later
- microsoft visual_studio_202217.2.23, 17.4.15, 17.6.11, 17.8.4 or later
- microsoft .net_framework4.8.04690.02, 4.8.04690.01 or later
- microsoft .net6.0.26, 7.0.15 or later
- Microsoft.Data.SqlClient2.1.7, 3.1.5, 4.0.5, 5.1.3 or later
- System.Data.SqlClient4.8.6 or later
Vendor advisories
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| microsoft microsoft.data.sqlclient | 2.1 ≤ v < 2.1.7, 3.1 ≤ v < 3.1.5, 4.0 ≤ v < 4.0.5, 5.1 ≤ v < 5.1.3 | 2.1.7, 3.1.5, 4.0.5, 5.1.3 |
| microsoft sql_server | 2022 | — |
| microsoft system.data.sqlclient | v < 4.8.6 | 4.8.6 |
| microsoft visual_studio_2022 | 17.2 ≤ v < 17.2.23, 17.4 ≤ v < 17.4.15, 17.6 ≤ v < 17.6.11, 17.8 ≤ v < 17.8.4 | 17.2.23, 17.4.15, 17.6.11, 17.8.4 |
| microsoft .net_framework | 4.8 ≤ v < 4.8.04690.02, 4.8 ≤ v < 4.8.04690.01, 4.6.2, 4.7, 4.7.1, 4.7.2, 3.5, 4.8.1, 2.0 | 4.8.04690.02, 4.8.04690.01 |
| microsoft .net | 6.0.0 ≤ v < 6.0.26, 7.0.0 ≤ v < 7.0.15, 8.0.0 | 6.0.26, 7.0.15 |
| Microsoft.Data.SqlClientNuGet | v < 2.1.7, 3.0.0 ≤ v < 3.1.5, 4.0.0 ≤ v < 4.0.5, 5.0.0 ≤ v < 5.1.3 | 2.1.7, 3.1.5, 4.0.5, 5.1.3 |
| System.Data.SqlClientNuGet | v < 4.8.6 | 4.8.6 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.