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

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

Published: 2024-01-09 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-0056 is rated Moderate Risk (61.3/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.86%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2024-0056

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-03-25 0.64% 0.86% +0.23%
2 2026-03-09 0.66% 0.64% -0.02%
3 2026-02-24 0.66%

Full EPSS history (24 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-0056

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
8.7 3.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
2.2 5.8 [email protected]

Weakness enumeration for CVE-2024-0056

GitHub Security Advisory for CVE-2024-0056

GHSA-98g6-xh36-x2p7 · Severity: high · Ecosystem: nuget — Microsoft.Data.SqlClient and System.Data.SqlClient vulnerable to SQL Data Provider Security Feature Bypass

OS Trackers for CVE-2024-0056

vendor priority summary link
alpine CVE-2024-0056: 4 source package rows (dotnet6-build, dotnet6-runtime, dotnet7-build, dotnet7-runtime); 10 state rows across 3 repos (3.19-community, 3.20-community, edge-community); fixed 10, open 0. https://security.alpinelinux.org/vuln/CVE-2024-0056
redhat high https://access.redhat.com/security/cve/CVE-2024-0056
ubuntu medium CVE-2024-0056 medium priority: Ubuntu including 3 source packages (dotnet6, dotnet7, dotnet8), 24 status rows across 8 suites (bionic, focal, jammy, lunar, mantic, trusty, upstream, xenial): DNE 13, not-affected 8, needs-triage 3. https://ubuntu.com/security/CVE-2024-0056

Affected software / configurations for CVE-2024-0056

Vendor Product Version Raw CPE
microsoft microsoft.data.sqlclient >= 2.1, < 2.1.7 cpe:2.3:a:microsoft:microsoft.data.sqlclient:*:*:*:*:*:*:*:*
microsoft microsoft.data.sqlclient >= 3.1, < 3.1.5 cpe:2.3:a:microsoft:microsoft.data.sqlclient:*:*:*:*:*:*:*:*
microsoft microsoft.data.sqlclient >= 4.0, < 4.0.5 cpe:2.3:a:microsoft:microsoft.data.sqlclient:*:*:*:*:*:*:*:*
microsoft microsoft.data.sqlclient >= 5.1, < 5.1.3 cpe:2.3:a:microsoft:microsoft.data.sqlclient:*:*:*:*:*:*:*:*
microsoft sql_server 2022 cpe:2.3:a:microsoft:sql_server:2022:*:*:*:*:*:x64:*
microsoft sql_server 2022 cpe:2.3:a:microsoft:sql_server:2022:cumulative_update_10:*:*:*:*:*:*
microsoft system.data.sqlclient < 4.8.6 cpe:2.3:a:microsoft:system.data.sqlclient:*:*:*:*:*:*:*:*
microsoft visual_studio_2022 >= 17.2, < 17.2.23 cpe:2.3:a:microsoft:visual_studio_2022:*:*:*:*:*:*:*:*
microsoft visual_studio_2022 >= 17.4, < 17.4.15 cpe:2.3:a:microsoft:visual_studio_2022:*:*:*:*:*:*:*:*
microsoft visual_studio_2022 >= 17.6, < 17.6.11 cpe:2.3:a:microsoft:visual_studio_2022:*:*:*:*:*:*:*:*
microsoft visual_studio_2022 >= 17.8, < 17.8.4 cpe:2.3:a:microsoft:visual_studio_2022:*:*:*:*:*:*:*:*
microsoft .net_framework >= 4.8, < 4.8.04690.02 cpe:2.3:a:microsoft:.net_framework:*:*:*:*:*:*:*:*
microsoft .net_framework >= 4.8, < 4.8.04690.01 cpe:2.3:a:microsoft:.net_framework:*:*:*:*:*:*:*:*
microsoft .net_framework 4.6.2 cpe:2.3:a:microsoft:.net_framework:4.6.2:*:*:*:*:*:*:*
microsoft .net_framework 4.7 cpe:2.3:a:microsoft:.net_framework:4.7:*:*:*:*:*:*:*
microsoft .net_framework 4.7.1 cpe:2.3:a:microsoft:.net_framework:4.7.1:*:*:*:*:*:*:*
microsoft .net_framework 4.7.2 cpe:2.3:a:microsoft:.net_framework:4.7.2:*:*:*:*:*:*:*
microsoft .net_framework 3.5 cpe:2.3:a:microsoft:.net_framework:3.5:*:*:*:*:*:*:*
microsoft .net_framework 4.8.1 cpe:2.3:a:microsoft:.net_framework:4.8.1:*:*:*:*:*:*:*
microsoft .net_framework 2.0 cpe:2.3:a:microsoft:.net_framework:2.0:sp2:*:*:*:*:*:*
microsoft .net >= 6.0.0, < 6.0.26 cpe:2.3:a:microsoft:.net:*:*:*:*:*:*:*:*
microsoft .net >= 7.0.0, < 7.0.15 cpe:2.3:a:microsoft:.net:*:*:*:*:*:*:*:*
microsoft .net 8.0.0 cpe:2.3:a:microsoft:.net:8.0.0:-:*:*:*:*:*:*

References for CVE-2024-0056

cvelogic Threat Intelligence