Skip to content
OpenAdvisories

Description

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

Affected products

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
RHEL 9 dotnet-host +6 8.0.1-1.el9_3 RHSA-2024:0152
RHEL 9 dotnet-hostfxr-6.0 +5 6.0.26-1.el9_3 RHSA-2024:0156
RHEL 9 dotnet-hostfxr-7.0 +5 7.0.15-1.el9_3 RHSA-2024:0151
RHEL 9 dotnet6.0 +3 6.0.126-1.el9_3 RHSA-2024:0156
RHEL 9 dotnet7.0 +3 7.0.115-1.el9_3 RHSA-2024:0151
RHEL 9 dotnet8.0 +4 8.0.101-1.el9_3 RHSA-2024:0152
RHEL 8 dotnet +5 8.0.101-1.el8_9 RHSA-2024:0150
RHEL 8 dotnet-host +6 8.0.1-1.el8_9 RHSA-2024:0150
RHEL 8 dotnet-hostfxr-6.0 +5 6.0.26-1.el8_9 RHSA-2024:0158
RHEL 8 dotnet-hostfxr-7.0 +5 7.0.15-1.el8_9 RHSA-2024:0157
RHEL 8 dotnet6.0 +3 6.0.126-1.el8_9 RHSA-2024:0158
RHEL 8 dotnet7.0 +3 7.0.115-1.el8_9 RHSA-2024:0157
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhel Dotnet 6 rh-dotnet60-dotnet +4 6.0.126-1.el7_9 RHSA-2024:0255
Red Hat Rhel Dotnet 6 rh-dotnet60-dotnet-host +6 6.0.26-1.el7_9 RHSA-2024:0255

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 dotnet-host +6 8.0.1-1.el9_3 ALSA-2024:0152
AlmaLinux 9 dotnet-hostfxr-6.0 +5 6.0.26-1.el9_3 ALSA-2024:0156
AlmaLinux 9 dotnet-hostfxr-7.0 +5 7.0.15-1.el9_3 ALSA-2024:0151
AlmaLinux 9 dotnet-sdk-6.0 +2 6.0.126-1.el9_3 ALSA-2024:0156
AlmaLinux 9 dotnet-sdk-7.0 +2 7.0.115-1.el9_3 ALSA-2024:0151
AlmaLinux 9 dotnet-sdk-8.0 +3 8.0.101-1.el9_3 ALSA-2024:0152
AlmaLinux 8 dotnet +4 8.0.101-1.el8_9 ALSA-2024:0150
AlmaLinux 8 dotnet-host +6 8.0.1-1.el8_9 ALSA-2024:0150
AlmaLinux 8 dotnet-hostfxr-6.0 +5 6.0.26-1.el8_9 ALSA-2024:0158
AlmaLinux 8 dotnet-hostfxr-7.0 +5 7.0.15-1.el8_9 ALSA-2024:0157
AlmaLinux 8 dotnet-sdk-6.0 +2 6.0.126-1.el8_9 ALSA-2024:0158
AlmaLinux 8 dotnet-sdk-7.0 +2 7.0.115-1.el8_9 ALSA-2024:0157

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 dotnet6.0 6.0.126-1.el8_9 RLSA-2024:0158
Rocky Linux 8 dotnet7.0 7.0.115-1.el8_9 RLSA-2024:0157
Rocky Linux 8 dotnet8.0 8.0.101-1.el8_9 RLSA-2024:0150
ReleasePackageFixed inAdvisory
Alpine v3.20 dotnet6-build 6.0.126-r0 —
Alpine v3.20 dotnet6-runtime 6.0.26-r0 —
Alpine v3.19 dotnet6-build 6.0.126-r0 —
Alpine v3.19 dotnet6-runtime 6.0.26-r0 —
Alpine v3.19 dotnet7-build 7.0.115-r0 —
Alpine v3.19 dotnet7-runtime 7.0.15-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 dotnet +4 6.0.126-1.amzn2023.0.1 ALAS2023-2024-489
Amazon Linux 2023 dotnet-host +6 6.0.26-1.amzn2023.0.1 ALAS2023-2024-489

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 dotnet-host +6 8.0.1-1.0.1.el9_3 ELSA-2024-0152
Oracle Linux 9 dotnet-hostfxr-6.0 +5 6.0.26-1.0.1.el9_3 ELSA-2024-0156
Oracle Linux 9 dotnet-hostfxr-7.0 +5 7.0.15-1.0.1.el9_3 ELSA-2024-0151
Oracle Linux 9 dotnet-sdk-6.0 +2 6.0.126-1.0.1.el9_3 ELSA-2024-0156
Oracle Linux 9 dotnet-sdk-7.0 +2 7.0.115-1.0.1.el9_3 ELSA-2024-0151
Oracle Linux 9 dotnet-sdk-8.0 +3 8.0.101-1.0.1.el9_3 ELSA-2024-0152
Oracle Linux 8 dotnet +4 7.0.115-1.0.1.el8_9 ELSA-2024-0157, ELSA-2024-0150
Oracle Linux 8 dotnet-host +6 7.0.15-1.0.1.el8_9 ELSA-2024-0157, ELSA-2024-0150
Oracle Linux 8 dotnet-hostfxr-6.0 +5 6.0.26-1.0.1.el8_9 ELSA-2024-0158
Oracle Linux 8 dotnet-hostfxr-8.0 +5 8.0.1-1.0.1.el8_9 ELSA-2024-0150
Oracle Linux 8 dotnet-sdk-6.0 +2 6.0.126-1.0.1.el8_9 ELSA-2024-0158
Oracle Linux 8 dotnet-sdk-8.0 +2 8.0.101-1.0.1.el8_9 ELSA-2024-0150

Affected packages

EcosystemPackageAffectedFixedRecord
NuGet Microsoft.Data.SqlClient < 2.1.7 2.1.7 GHSA-98g6-xh36-x2p7
NuGet Microsoft.Data.SqlClient >= 3.0.0, < 3.1.5 3.1.5 GHSA-98g6-xh36-x2p7
NuGet Microsoft.Data.SqlClient >= 4.0.0, < 4.0.5 4.0.5 GHSA-98g6-xh36-x2p7
NuGet Microsoft.Data.SqlClient >= 5.0.0, < 5.1.3 5.1.3 GHSA-98g6-xh36-x2p7
NuGet System.Data.SqlClient < 4.8.6 4.8.6 GHSA-98g6-xh36-x2p7

Advisories 40

References