CVEfocus › CVE database › CVE-2024-0056

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

CVSS 8.7 HighEPSS 0.9% (higher than 56% of CVEs)Published 2024-01-09Updated 2025-06-03Assigner: microsoft

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

CWE-319

What to do

Fixed builds are available from AlmaLinux, Alpine, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

133Fixed
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04dotnet6Not affected
vulnerable_code_not_present
Ubuntu 22.04dotnet7Not affected
vulnerable_code_not_present
Ubuntu 22.04dotnet8Not affected
vulnerable_code_not_present
Red Hat Enterprise Linux 9aspnetcore-runtime-6.0Fixed0:6.0.26-1.el9_3RHSA-2024:0156
Red Hat Enterprise Linux 9aspnetcore-runtime-7.0Fixed0:7.0.15-1.el9_3RHSA-2024:0151
Red Hat Enterprise Linux 9aspnetcore-runtime-8.0Fixed0:8.0.1-1.el9_3RHSA-2024:0152
Red Hat Enterprise Linux 9aspnetcore-targeting-pack-6.0Fixed0:6.0.26-1.el9_3RHSA-2024:0156
Red Hat Enterprise Linux 9aspnetcore-targeting-pack-7.0Fixed0:7.0.15-1.el9_3RHSA-2024:0151
Red Hat Enterprise Linux 9aspnetcore-targeting-pack-8.0Fixed0:8.0.1-1.el9_3RHSA-2024:0152
Red Hat Enterprise Linux 9dotnet-apphost-pack-6.0Fixed0:6.0.26-1.el9_3RHSA-2024:0156
Red Hat Enterprise Linux 9dotnet-apphost-pack-7.0Fixed0:7.0.15-1.el9_3RHSA-2024:0151
Red Hat Enterprise Linux 9dotnet-apphost-pack-8.0Fixed0:8.0.1-1.el9_3RHSA-2024:0152
Red Hat Enterprise Linux 9dotnet-hostFixed0:8.0.1-1.el9_3RHSA-2024:0152
Red Hat Enterprise Linux 9dotnet-hostfxr-6.0Fixed0:6.0.26-1.el9_3RHSA-2024:0156
Red Hat Enterprise Linux 9dotnet-hostfxr-7.0Fixed0:7.0.15-1.el9_3RHSA-2024:0151
Red Hat Enterprise Linux 9dotnet-hostfxr-8.0Fixed0:8.0.1-1.el9_3RHSA-2024:0152
Red Hat Enterprise Linux 9dotnet-runtime-6.0Fixed0:6.0.26-1.el9_3RHSA-2024:0156
Red Hat Enterprise Linux 9dotnet-runtime-7.0Fixed0:7.0.15-1.el9_3RHSA-2024:0151
Red Hat Enterprise Linux 9dotnet-runtime-8.0Fixed0:8.0.1-1.el9_3RHSA-2024:0152
Red Hat Enterprise Linux 9dotnet-sdk-6.0Fixed0:6.0.126-1.el9_3RHSA-2024:0156
Red Hat Enterprise Linux 9dotnet-sdk-6.0-source-built-artifactsFixed0:6.0.126-1.el9_3RHSA-2024:0156
Red Hat Enterprise Linux 9dotnet-sdk-7.0Fixed0:7.0.115-1.el9_3RHSA-2024:0151
Red Hat Enterprise Linux 9dotnet-sdk-7.0-source-built-artifactsFixed0:7.0.115-1.el9_3RHSA-2024:0151
Red Hat Enterprise Linux 9dotnet-sdk-8.0Fixed0:8.0.101-1.el9_3RHSA-2024:0152
Red Hat Enterprise Linux 9dotnet-sdk-8.0-source-built-artifactsFixed0:8.0.101-1.el9_3RHSA-2024:0152
Red Hat Enterprise Linux 9dotnet-targeting-pack-6.0Fixed0:6.0.26-1.el9_3RHSA-2024:0156
Red Hat Enterprise Linux 9dotnet-targeting-pack-7.0Fixed0:7.0.15-1.el9_3RHSA-2024:0151
Red Hat Enterprise Linux 9dotnet-targeting-pack-8.0Fixed0:8.0.1-1.el9_3RHSA-2024:0152
Red Hat Enterprise Linux 9dotnet-templates-6.0Fixed0:6.0.126-1.el9_3RHSA-2024:0156
Red Hat Enterprise Linux 9dotnet-templates-7.0Fixed0:7.0.115-1.el9_3RHSA-2024:0151
Red Hat Enterprise Linux 9dotnet-templates-8.0Fixed0:8.0.101-1.el9_3RHSA-2024:0152
Red Hat Enterprise Linux 9dotnet6.0Fixed0:6.0.126-1.el9_3RHSA-2024:0156
Red Hat Enterprise Linux 9dotnet7.0Fixed0:7.0.115-1.el9_3RHSA-2024:0151
Red Hat Enterprise Linux 9dotnet8.0Fixed0:8.0.101-1.el9_3RHSA-2024:0152
Red Hat Enterprise Linux 9netstandard-targeting-pack-2.1Fixed0:8.0.101-1.el9_3RHSA-2024:0152
Red Hat Enterprise Linux 8aspnetcore-runtime-6.0Fixed0:6.0.26-1.el8_9RHSA-2024:0158
Red Hat Enterprise Linux 8aspnetcore-runtime-7.0Fixed0:7.0.15-1.el8_9RHSA-2024:0157
Red Hat Enterprise Linux 8aspnetcore-runtime-8.0Fixed0:8.0.1-1.el8_9RHSA-2024:0150
Red Hat Enterprise Linux 8aspnetcore-targeting-pack-6.0Fixed0:6.0.26-1.el8_9RHSA-2024:0158
Red Hat Enterprise Linux 8aspnetcore-targeting-pack-7.0Fixed0:7.0.15-1.el8_9RHSA-2024:0157
Red Hat Enterprise Linux 8aspnetcore-targeting-pack-8.0Fixed0:8.0.1-1.el8_9RHSA-2024:0150
Red Hat Enterprise Linux 8dotnetFixed0:8.0.101-1.el8_9RHSA-2024:0150
Red Hat Enterprise Linux 8dotnet-apphost-pack-6.0Fixed0:6.0.26-1.el8_9RHSA-2024:0158
Red Hat Enterprise Linux 8dotnet-apphost-pack-7.0Fixed0:7.0.15-1.el8_9RHSA-2024:0157
Red Hat Enterprise Linux 8dotnet-apphost-pack-8.0Fixed0:8.0.1-1.el8_9RHSA-2024:0150
Red Hat Enterprise Linux 8dotnet-hostFixed0:8.0.1-1.el8_9RHSA-2024:0150
Red Hat Enterprise Linux 8dotnet-hostfxr-6.0Fixed0:6.0.26-1.el8_9RHSA-2024:0158
Red Hat Enterprise Linux 8dotnet-hostfxr-7.0Fixed0:7.0.15-1.el8_9RHSA-2024:0157
Red Hat Enterprise Linux 8dotnet-hostfxr-8.0Fixed0:8.0.1-1.el8_9RHSA-2024:0150
Red Hat Enterprise Linux 8dotnet-runtime-6.0Fixed0:6.0.26-1.el8_9RHSA-2024:0158
Red Hat Enterprise Linux 8dotnet-runtime-7.0Fixed0:7.0.15-1.el8_9RHSA-2024:0157
Red Hat Enterprise Linux 8dotnet-runtime-8.0Fixed0:8.0.1-1.el8_9RHSA-2024:0150
Red Hat Enterprise Linux 8dotnet-sdk-6.0Fixed0:6.0.126-1.el8_9RHSA-2024:0158
Red Hat Enterprise Linux 8dotnet-sdk-6.0-source-built-artifactsFixed0:6.0.126-1.el8_9RHSA-2024:0158
Red Hat Enterprise Linux 8dotnet-sdk-7.0Fixed0:7.0.115-1.el8_9RHSA-2024:0157
Red Hat Enterprise Linux 8dotnet-sdk-7.0-source-built-artifactsFixed0:7.0.115-1.el8_9RHSA-2024:0157
Red Hat Enterprise Linux 8dotnet-sdk-8.0Fixed0:8.0.101-1.el8_9RHSA-2024:0150
Red Hat Enterprise Linux 8dotnet-sdk-8.0-source-built-artifactsFixed0:8.0.101-1.el8_9RHSA-2024:0150
Red Hat Enterprise Linux 8dotnet-targeting-pack-6.0Fixed0:6.0.26-1.el8_9RHSA-2024:0158
Red Hat Enterprise Linux 8dotnet-targeting-pack-7.0Fixed0:7.0.15-1.el8_9RHSA-2024:0157
Red Hat Enterprise Linux 8dotnet-targeting-pack-8.0Fixed0:8.0.1-1.el8_9RHSA-2024:0150
Red Hat Enterprise Linux 8dotnet-templates-6.0Fixed0:6.0.126-1.el8_9RHSA-2024:0158
Red Hat Enterprise Linux 8dotnet-templates-7.0Fixed0:7.0.115-1.el8_9RHSA-2024:0157
Red Hat Enterprise Linux 8dotnet-templates-8.0Fixed0:8.0.101-1.el8_9RHSA-2024:0150
Red Hat Enterprise Linux 8dotnet6.0Fixed0:6.0.126-1.el8_9RHSA-2024:0158
Red Hat Enterprise Linux 8dotnet7.0Fixed0:7.0.115-1.el8_9RHSA-2024:0157
Red Hat Enterprise Linux 8dotnet8.0Fixed0:8.0.101-1.el8_9RHSA-2024:0150
Red Hat Enterprise Linux 8netstandard-targeting-pack-2.1Fixed0:8.0.101-1.el8_9RHSA-2024:0150
AlmaLinux 9aspnetcore-runtime-6.0Fixed6.0.26-1.el9_3ALSA-2024:0156
AlmaLinux 9aspnetcore-runtime-7.0Fixed7.0.15-1.el9_3ALSA-2024:0151
AlmaLinux 9aspnetcore-runtime-8.0Fixed8.0.1-1.el9_3ALSA-2024:0152
AlmaLinux 9aspnetcore-targeting-pack-6.0Fixed6.0.26-1.el9_3ALSA-2024:0156
AlmaLinux 9aspnetcore-targeting-pack-7.0Fixed7.0.15-1.el9_3ALSA-2024:0151
AlmaLinux 9aspnetcore-targeting-pack-8.0Fixed8.0.1-1.el9_3ALSA-2024:0152
AlmaLinux 9dotnet-apphost-pack-6.0Fixed6.0.26-1.el9_3ALSA-2024:0156
AlmaLinux 9dotnet-apphost-pack-7.0Fixed7.0.15-1.el9_3ALSA-2024:0151
AlmaLinux 9dotnet-apphost-pack-8.0Fixed8.0.1-1.el9_3ALSA-2024:0152
AlmaLinux 9dotnet-hostFixed8.0.1-1.el9_3ALSA-2024:0152
AlmaLinux 9dotnet-hostfxr-6.0Fixed6.0.26-1.el9_3ALSA-2024:0156
AlmaLinux 9dotnet-hostfxr-7.0Fixed7.0.15-1.el9_3ALSA-2024:0151
AlmaLinux 9dotnet-hostfxr-8.0Fixed8.0.1-1.el9_3ALSA-2024:0152
AlmaLinux 9dotnet-runtime-6.0Fixed6.0.26-1.el9_3ALSA-2024:0156
AlmaLinux 9dotnet-runtime-7.0Fixed7.0.15-1.el9_3ALSA-2024:0151
AlmaLinux 9dotnet-runtime-8.0Fixed8.0.1-1.el9_3ALSA-2024:0152
AlmaLinux 9dotnet-sdk-6.0Fixed6.0.126-1.el9_3ALSA-2024:0156
AlmaLinux 9dotnet-sdk-6.0-source-built-artifactsFixed6.0.126-1.el9_3ALSA-2024:0156
AlmaLinux 9dotnet-sdk-7.0Fixed7.0.115-1.el9_3ALSA-2024:0151
AlmaLinux 9dotnet-sdk-7.0-source-built-artifactsFixed7.0.115-1.el9_3ALSA-2024:0151
AlmaLinux 9dotnet-sdk-8.0Fixed8.0.101-1.el9_3ALSA-2024:0152
AlmaLinux 9dotnet-sdk-8.0-source-built-artifactsFixed8.0.101-1.el9_3ALSA-2024:0152
AlmaLinux 9dotnet-targeting-pack-6.0Fixed6.0.26-1.el9_3ALSA-2024:0156
AlmaLinux 9dotnet-targeting-pack-7.0Fixed7.0.15-1.el9_3ALSA-2024:0151
AlmaLinux 9dotnet-targeting-pack-8.0Fixed8.0.1-1.el9_3ALSA-2024:0152
AlmaLinux 9dotnet-templates-6.0Fixed6.0.126-1.el9_3ALSA-2024:0156
AlmaLinux 9dotnet-templates-7.0Fixed7.0.115-1.el9_3ALSA-2024:0151
AlmaLinux 9dotnet-templates-8.0Fixed8.0.101-1.el9_3ALSA-2024:0152
AlmaLinux 9netstandard-targeting-pack-2.1Fixed8.0.101-1.el9_3ALSA-2024:0152
AlmaLinux 8aspnetcore-runtime-6.0Fixed6.0.26-1.el8_9ALSA-2024:0158
AlmaLinux 8aspnetcore-runtime-7.0Fixed7.0.15-1.el8_9ALSA-2024:0157
AlmaLinux 8aspnetcore-runtime-8.0Fixed8.0.1-1.el8_9ALSA-2024:0150
AlmaLinux 8aspnetcore-targeting-pack-6.0Fixed6.0.26-1.el8_9ALSA-2024:0158
AlmaLinux 8aspnetcore-targeting-pack-7.0Fixed7.0.15-1.el8_9ALSA-2024:0157
AlmaLinux 8aspnetcore-targeting-pack-8.0Fixed8.0.1-1.el8_9ALSA-2024:0150
AlmaLinux 8dotnetFixed8.0.101-1.el8_9ALSA-2024:0150
AlmaLinux 8dotnet-apphost-pack-6.0Fixed6.0.26-1.el8_9ALSA-2024:0158
AlmaLinux 8dotnet-apphost-pack-7.0Fixed7.0.15-1.el8_9ALSA-2024:0157
AlmaLinux 8dotnet-apphost-pack-8.0Fixed8.0.1-1.el8_9ALSA-2024:0150
AlmaLinux 8dotnet-hostFixed8.0.1-1.el8_9ALSA-2024:0150
AlmaLinux 8dotnet-hostfxr-6.0Fixed6.0.26-1.el8_9ALSA-2024:0158
AlmaLinux 8dotnet-hostfxr-7.0Fixed7.0.15-1.el8_9ALSA-2024:0157
AlmaLinux 8dotnet-hostfxr-8.0Fixed8.0.1-1.el8_9ALSA-2024:0150
AlmaLinux 8dotnet-runtime-6.0Fixed6.0.26-1.el8_9ALSA-2024:0158
AlmaLinux 8dotnet-runtime-7.0Fixed7.0.15-1.el8_9ALSA-2024:0157
AlmaLinux 8dotnet-runtime-8.0Fixed8.0.1-1.el8_9ALSA-2024:0150
AlmaLinux 8dotnet-sdk-6.0Fixed6.0.126-1.el8_9ALSA-2024:0158
AlmaLinux 8dotnet-sdk-6.0-source-built-artifactsFixed6.0.126-1.el8_9ALSA-2024:0158
AlmaLinux 8dotnet-sdk-7.0Fixed7.0.115-1.el8_9ALSA-2024:0157
AlmaLinux 8dotnet-sdk-7.0-source-built-artifactsFixed7.0.115-1.el8_9ALSA-2024:0157
AlmaLinux 8dotnet-sdk-8.0Fixed8.0.101-1.el8_9ALSA-2024:0150
AlmaLinux 8dotnet-sdk-8.0-source-built-artifactsFixed8.0.101-1.el8_9ALSA-2024:0150
AlmaLinux 8dotnet-targeting-pack-6.0Fixed6.0.26-1.el8_9ALSA-2024:0158
AlmaLinux 8dotnet-targeting-pack-7.0Fixed7.0.15-1.el8_9ALSA-2024:0157
AlmaLinux 8dotnet-targeting-pack-8.0Fixed8.0.1-1.el8_9ALSA-2024:0150
AlmaLinux 8dotnet-templates-6.0Fixed6.0.126-1.el8_9ALSA-2024:0158
AlmaLinux 8dotnet-templates-7.0Fixed7.0.115-1.el8_9ALSA-2024:0157
AlmaLinux 8dotnet-templates-8.0Fixed8.0.101-1.el8_9ALSA-2024:0150
AlmaLinux 8netstandard-targeting-pack-2.1Fixed8.0.101-1.el8_9ALSA-2024:0150
Rocky Linux 8dotnet6.0Fixed0:6.0.126-1.el8_9RLSA-2024:0158
Rocky Linux 8dotnet7.0Fixed0:7.0.115-1.el8_9RLSA-2024:0157
Rocky Linux 8dotnet8.0Fixed0:8.0.101-1.el8_9RLSA-2024:0150
Alpine Linux 3.20dotnet6-buildFixed6.0.126-r0ALPINE-CVE-2024-0056
Alpine Linux 3.20dotnet6-runtimeFixed6.0.26-r0ALPINE-CVE-2024-0056
Alpine Linux 3.19dotnet6-buildFixed6.0.126-r0ALPINE-CVE-2024-0056
Alpine Linux 3.19dotnet6-runtimeFixed6.0.26-r0ALPINE-CVE-2024-0056
Alpine Linux 3.19dotnet7-buildFixed7.0.115-r0ALPINE-CVE-2024-0056
Alpine Linux 3.19dotnet7-runtimeFixed7.0.15-r0ALPINE-CVE-2024-0056

What the vendor says

As published in the CVE record by microsoft, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.