CVE-2024-0056

High

Description

Microsoft.Data.SqlClient and System.Data.SqlClient SQL Data Provider Security Feature Bypass Vulnerability

SeverityHigh
CVSS8.7
Exploit probability—
ProductMicrosoft.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

Affected products

ProductAffected versionsFixed in
microsoft microsoft.data.sqlclient2.1 ≤ v < 2.1.7, 3.1 ≤ v < 3.1.5, 4.0 ≤ v < 4.0.5, 5.1 ≤ v < 5.1.32.1.7, 3.1.5, 4.0.5, 5.1.3
microsoft sql_server2022—
microsoft system.data.sqlclientv < 4.8.64.8.6
microsoft visual_studio_202217.2 ≤ v < 17.2.23, 17.4 ≤ v < 17.4.15, 17.6 ≤ v < 17.6.11, 17.8 ≤ v < 17.8.417.2.23, 17.4.15, 17.6.11, 17.8.4
microsoft .net_framework4.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.04.8.04690.02, 4.8.04690.01
microsoft .net6.0.0 ≤ v < 6.0.26, 7.0.0 ≤ v < 7.0.15, 8.0.06.0.26, 7.0.15
Microsoft.Data.SqlClientNuGetv < 2.1.7, 3.0.0 ≤ v < 3.1.5, 4.0.0 ≤ v < 4.0.5, 5.0.0 ≤ v < 5.1.32.1.7, 3.1.5, 4.0.5, 5.1.3
System.Data.SqlClientNuGetv < 4.8.64.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.