Vulnerability · Published Jan 9, 2024 · Assigned by microsoft

CVE-2024-0056Microsoft.Data.SqlClient and System.Data.SqlClient SQL Data Provider Security Feature Bypass Vulnerability

High 8.7

In plain English

A high-severity security flaw in Microsoft.Data.SqlClient from Microsoft. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.7High
Exploit odds (30 days)1.2%top 32.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8aspnetcore-runtime-6.06.0.26-1.el8_9ALSA-2024:0158
AlmaLinux:9aspnetcore-runtime-6.06.0.26-1.el9_3ALSA-2024:0156
AlmaLinux:8aspnetcore-runtime-7.07.0.15-1.el8_9ALSA-2024:0157
AlmaLinux:9aspnetcore-runtime-7.07.0.15-1.el9_3ALSA-2024:0151
AlmaLinux:8aspnetcore-runtime-8.08.0.1-1.el8_9ALSA-2024:0150
AlmaLinux:9aspnetcore-runtime-8.08.0.1-1.el9_3ALSA-2024:0152
AlmaLinux:8aspnetcore-targeting-pack-6.06.0.26-1.el8_9ALSA-2024:0158
AlmaLinux:9aspnetcore-targeting-pack-6.06.0.26-1.el9_3ALSA-2024:0156
AlmaLinux:8aspnetcore-targeting-pack-7.07.0.15-1.el8_9ALSA-2024:0157
AlmaLinux:9aspnetcore-targeting-pack-7.07.0.15-1.el9_3ALSA-2024:0151
AlmaLinux:8aspnetcore-targeting-pack-8.08.0.1-1.el8_9ALSA-2024:0150
AlmaLinux:9aspnetcore-targeting-pack-8.08.0.1-1.el9_3ALSA-2024:0152
AlmaLinux:8dotnet8.0.101-1.el8_9ALSA-2024:0150
AlmaLinux:8dotnet-apphost-pack-6.06.0.26-1.el8_9ALSA-2024:0158
AlmaLinux:9dotnet-apphost-pack-6.06.0.26-1.el9_3ALSA-2024:0156
AlmaLinux:8dotnet-apphost-pack-7.07.0.15-1.el8_9ALSA-2024:0157
AlmaLinux:9dotnet-apphost-pack-7.07.0.15-1.el9_3ALSA-2024:0151
AlmaLinux:8dotnet-apphost-pack-8.08.0.1-1.el8_9ALSA-2024:0150
AlmaLinux:9dotnet-apphost-pack-8.08.0.1-1.el9_3ALSA-2024:0152
AlmaLinux:8dotnet-host8.0.1-1.el8_9ALSA-2024:0150
AlmaLinux:9dotnet-host8.0.1-1.el9_3ALSA-2024:0152
AlmaLinux:8dotnet-hostfxr-6.06.0.26-1.el8_9ALSA-2024:0158
AlmaLinux:9dotnet-hostfxr-6.06.0.26-1.el9_3ALSA-2024:0156
AlmaLinux:8dotnet-hostfxr-7.07.0.15-1.el8_9ALSA-2024:0157
AlmaLinux:9dotnet-hostfxr-7.07.0.15-1.el9_3ALSA-2024:0151
AlmaLinux:8dotnet-hostfxr-8.08.0.1-1.el8_9ALSA-2024:0150
AlmaLinux:9dotnet-hostfxr-8.08.0.1-1.el9_3ALSA-2024:0152
AlmaLinux:8dotnet-runtime-6.06.0.26-1.el8_9ALSA-2024:0158
AlmaLinux:9dotnet-runtime-6.06.0.26-1.el9_3ALSA-2024:0156
AlmaLinux:8dotnet-runtime-7.07.0.15-1.el8_9ALSA-2024:0157
AlmaLinux:9dotnet-runtime-7.07.0.15-1.el9_3ALSA-2024:0151
AlmaLinux:8dotnet-runtime-8.08.0.1-1.el8_9ALSA-2024:0150
AlmaLinux:9dotnet-runtime-8.08.0.1-1.el9_3ALSA-2024:0152
AlmaLinux:8dotnet-sdk-6.06.0.126-1.el8_9ALSA-2024:0158
AlmaLinux:9dotnet-sdk-6.06.0.126-1.el9_3ALSA-2024:0156
AlmaLinux:8dotnet-sdk-6.0-source-built-artifacts6.0.126-1.el8_9ALSA-2024:0158
AlmaLinux:9dotnet-sdk-6.0-source-built-artifacts6.0.126-1.el9_3ALSA-2024:0156
AlmaLinux:8dotnet-sdk-7.07.0.115-1.el8_9ALSA-2024:0157
AlmaLinux:9dotnet-sdk-7.07.0.115-1.el9_3ALSA-2024:0151
AlmaLinux:8dotnet-sdk-7.0-source-built-artifacts7.0.115-1.el8_9ALSA-2024:0157
AlmaLinux:9dotnet-sdk-7.0-source-built-artifacts7.0.115-1.el9_3ALSA-2024:0151
AlmaLinux:8dotnet-sdk-8.08.0.101-1.el8_9ALSA-2024:0150
AlmaLinux:9dotnet-sdk-8.08.0.101-1.el9_3ALSA-2024:0152
AlmaLinux:8dotnet-sdk-8.0-source-built-artifacts8.0.101-1.el8_9ALSA-2024:0150
AlmaLinux:9dotnet-sdk-8.0-source-built-artifacts8.0.101-1.el9_3ALSA-2024:0152
AlmaLinux:8dotnet-targeting-pack-6.06.0.26-1.el8_9ALSA-2024:0158
AlmaLinux:9dotnet-targeting-pack-6.06.0.26-1.el9_3ALSA-2024:0156
AlmaLinux:8dotnet-targeting-pack-7.07.0.15-1.el8_9ALSA-2024:0157
AlmaLinux:9dotnet-targeting-pack-7.07.0.15-1.el9_3ALSA-2024:0151
AlmaLinux:8dotnet-targeting-pack-8.08.0.1-1.el8_9ALSA-2024:0150
AlmaLinux:9dotnet-targeting-pack-8.08.0.1-1.el9_3ALSA-2024:0152
AlmaLinux:8dotnet-templates-6.06.0.126-1.el8_9ALSA-2024:0158
AlmaLinux:9dotnet-templates-6.06.0.126-1.el9_3ALSA-2024:0156
AlmaLinux:8dotnet-templates-7.07.0.115-1.el8_9ALSA-2024:0157
AlmaLinux:9dotnet-templates-7.07.0.115-1.el9_3ALSA-2024:0151
AlmaLinux:8dotnet-templates-8.08.0.101-1.el8_9ALSA-2024:0150
AlmaLinux:9dotnet-templates-8.08.0.101-1.el9_3ALSA-2024:0152
AlmaLinux:8netstandard-targeting-pack-2.18.0.101-1.el8_9ALSA-2024:0150
AlmaLinux:9netstandard-targeting-pack-2.18.0.101-1.el9_3ALSA-2024:0152
Alpine:v3.20dotnet6-build6.0.126-r0ALPINE-CVE-2024-0056
Alpine:v3.20dotnet6-runtime6.0.26-r0ALPINE-CVE-2024-0056
NuGetmicrosoft.data.sqlclient5.1.3GHSA-98g6-xh36-x2p7
NuGetmicrosoft.data.sqlclient2.1.7GHSA-98g6-xh36-x2p7
NuGetmicrosoft.data.sqlclient3.1.5GHSA-98g6-xh36-x2p7
NuGetmicrosoft.data.sqlclient4.0.5GHSA-98g6-xh36-x2p7
NuGetsystem.data.sqlclient4.8.6GHSA-98g6-xh36-x2p7
Rocky Linux:8dotnet6.00:6.0.126-1.el8_9RLSA-2024:0158
Rocky Linux:8dotnet7.00:7.0.115-1.el8_9RLSA-2024:0157
Rocky Linux:8dotnet8.00:8.0.101-1.el8_9RLSA-2024:0150

Affected products (as reported)

VendorProductVersions
Microsoft Microsoft SQL Server 2022 (GDR) 16.0.0 – before 16.0.1110.1
Microsoft .NET 6.0 6.0.0 – before 6.0.26
Microsoft .NET 7.0 7.0.0 – before 7.0.15
Microsoft .NET 8.0 8.0 – before 8.0.1
Microsoft Microsoft.Data.SqlClient 2.0 – before 2.1.7
Microsoft Microsoft.Data.SqlClient 3.0 – before 3.1.5
Microsoft Microsoft.Data.SqlClient 4.0 – before 4.0.5
Microsoft Microsoft.Data.SqlClient 5.0 – before 5.1.3
Microsoft System.Data.SqlClient 1.0 – before 4.8.6
Microsoft Microsoft Visual Studio 2022 version 17.2 17.2.0 – before 17.2.23
Microsoft Microsoft Visual Studio 2022 version 17.4 17.4.0 – before 17.4.15
Microsoft Microsoft Visual Studio 2022 version 17.6 17.6.0 – before 17.6.11
Microsoft Microsoft Visual Studio 2022 version 17.8 17.8.0 – before 17.8.4
Microsoft Microsoft SQL Server 2022 (CU 10) 0 – before 16.0.4100.1
Microsoft Microsoft .NET Framework 4.8 4.8.0 – before 4.8.04690.02
Microsoft Microsoft .NET Framework 3.5 AND 4.8 4.8.0 – before 4.8.04690.02
Microsoft Microsoft .NET Framework 3.5 AND 4.7.2 4.7.0 – before 4.7.04081.03
Microsoft Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2 4.7.0 – before 4.7.04081.02
Microsoft Microsoft .NET Framework 3.5 AND 4.8.1 4.8.1 – before 4.8.09214.01
Microsoft Microsoft .NET Framework 2.0 Service Pack 2 2.0.0 – before 3.0.50727.8976

Weakness: CWE-319 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N/E:U/RL:O/RC:C

References