cve.bz

CVE-2024-0056 microsoft

8.7 highEPSS 1.2%Fix available

High (8.7) in microsoft. EPSS 1.2% estimated probability of exploitation activity in the next 30 days. Fixed in Microsoft.Data.SqlClient 2.1.7, 3.1.5, 4.0.5.

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

Severity

CVSS 3.1

8.7 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 68th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-05-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-319 Cleartext Transmission of Sensitive Information
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-0056 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-0056?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-0056?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-0056 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

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

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-98g6-xh36-x2p7NuGetMicrosoft.Data.SqlClient<2.1.72.1.7
GHSA-98g6-xh36-x2p7NuGetSystem.Data.SqlClient<4.8.64.8.6
GHSA-98g6-xh36-x2p7NuGetMicrosoft.Data.SqlClient>=3.0.0 <3.1.53.1.5
GHSA-98g6-xh36-x2p7NuGetMicrosoft.Data.SqlClient>=4.0.0 <4.0.54.0.5
GHSA-98g6-xh36-x2p7NuGetMicrosoft.Data.SqlClient>=5.0.0 <5.1.35.1.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatenterprise_linux:8::appstreamdotnet, dotnet8.0, dotnet-sdk-8.0 and 5 more0:8.0.101-1.el8_9RHSA-2024:0150
Red Hatenterprise_linux:8::appstreamdotnet-host, dotnet-hostfxr-8.0, dotnet-runtime-8.0 and 8 more0:8.0.1-1.el8_9RHSA-2024:0150
Red Hatenterprise_linux:8::appstreamdotnet-hostfxr-6.0, dotnet-runtime-6.0, aspnetcore-runtime-6.0 and 6 more0:6.0.26-1.el8_9RHSA-2024:0158
Red Hatenterprise_linux:8::appstreamdotnet-hostfxr-7.0, dotnet-runtime-7.0, aspnetcore-runtime-7.0 and 6 more0:7.0.15-1.el8_9RHSA-2024:0157
Red Hatenterprise_linux:8::appstreamdotnet6.0, dotnet-sdk-6.0, dotnet6.0-debuginfo and 3 more0:6.0.126-1.el8_9RHSA-2024:0158
Red Hatenterprise_linux:8::appstreamdotnet7.0, dotnet-sdk-7.0, dotnet7.0-debuginfo and 3 more0:7.0.115-1.el8_9RHSA-2024:0157
Red Hatenterprise_linux:8::crbdotnet-host-debuginfo, dotnet-hostfxr-8.0-debuginfo, dotnet-runtime-8.0-debuginfo and 1 more0:8.0.1-1.el8_9RHSA-2024:0150
Red Hatenterprise_linux:8::crbdotnet-hostfxr-6.0-debuginfo, dotnet-runtime-6.0-debuginfo, dotnet-apphost-pack-6.0-debuginfo0:6.0.26-1.el8_9RHSA-2024:0158
Red Hatenterprise_linux:8::crbdotnet-hostfxr-7.0-debuginfo, dotnet-runtime-7.0-debuginfo, dotnet-apphost-pack-7.0-debuginfo0:7.0.15-1.el8_9RHSA-2024:0157
Red Hatenterprise_linux:8::crbdotnet6.0-debuginfo, dotnet6.0-debugsource, dotnet-sdk-6.0-debuginfo and 1 more0:6.0.126-1.el8_9RHSA-2024:0158
Red Hatenterprise_linux:8::crbdotnet7.0-debuginfo, dotnet7.0-debugsource, dotnet-sdk-7.0-debuginfo and 1 more0:7.0.115-1.el8_9RHSA-2024:0157
Red Hatenterprise_linux:8::crbdotnet8.0-debuginfo, dotnet8.0-debugsource, dotnet-sdk-8.0-debuginfo and 1 more0:8.0.101-1.el8_9RHSA-2024:0150
14 more for Red Hat in the JSON and on Red Hat's page.
AlmaLinux8dotnet, dotnet-sdk-8.0, dotnet-templates-8.0 and 2 more8.0.101-1.el8_9ALSA-2024:0150
AlmaLinux8dotnet-host, dotnet-hostfxr-8.0, dotnet-runtime-8.0 and 4 more8.0.1-1.el8_9ALSA-2024:0150
AlmaLinux8dotnet-hostfxr-6.0, dotnet-runtime-6.0, aspnetcore-runtime-6.0 and 3 more6.0.26-1.el8_9ALSA-2024:0158
AlmaLinux8dotnet-hostfxr-7.0, dotnet-runtime-7.0, aspnetcore-runtime-7.0 and 3 more7.0.15-1.el8_9ALSA-2024:0157
AlmaLinux8dotnet-sdk-6.0, dotnet-templates-6.0, dotnet-sdk-6.0-source-built-artifacts6.0.126-1.el8_9ALSA-2024:0158
AlmaLinux8dotnet-sdk-7.0, dotnet-templates-7.0, dotnet-sdk-7.0-source-built-artifacts7.0.115-1.el8_9ALSA-2024:0157
AlmaLinux9dotnet-host, dotnet-hostfxr-8.0, dotnet-runtime-8.0 and 4 more8.0.1-1.el9_3ALSA-2024:0152
AlmaLinux9dotnet-hostfxr-6.0, dotnet-runtime-6.0, aspnetcore-runtime-6.0 and 3 more6.0.26-1.el9_3ALSA-2024:0156
AlmaLinux9dotnet-hostfxr-7.0, dotnet-runtime-7.0, aspnetcore-runtime-7.0 and 3 more7.0.15-1.el9_3ALSA-2024:0151
AlmaLinux9dotnet-sdk-6.0, dotnet-templates-6.0, dotnet-sdk-6.0-source-built-artifacts6.0.126-1.el9_3ALSA-2024:0156
AlmaLinux9dotnet-sdk-7.0, dotnet-templates-7.0, dotnet-sdk-7.0-source-built-artifacts7.0.115-1.el9_3ALSA-2024:0151
AlmaLinux9dotnet-sdk-8.0, dotnet-templates-8.0, netstandard-targeting-pack-2.1 and 1 more8.0.101-1.el9_3ALSA-2024:0152
Rocky Linux8dotnet6.00:6.0.126-1.el8_9RLSA-2024:0158
Rocky Linux8dotnet7.00:7.0.115-1.el8_9RLSA-2024:0157
Rocky Linux8dotnet8.00:8.0.101-1.el8_9RLSA-2024:0150
Alpinev3.19dotnet7-build7.0.115-r0ALPINE-CVE-2024-0056
Alpinev3.19dotnet7-runtime7.0.15-r0ALPINE-CVE-2024-0056
Alpinev3.19, v3.20dotnet6-build6.0.126-r0ALPINE-CVE-2024-0056
Alpinev3.19, v3.20dotnet6-runtime6.0.26-r0ALPINE-CVE-2024-0056

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This flaw allows attackers to execute an adversary-in-the-middle (AiTM) attack, potentially enabling the theft of authentication credentials even when the connection is encrypted with protocols like TLS. This security lapse could lead to unauthorized access to sensitive databases, raising concerns about data breaches and the compromise of confidential information.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
.NET Core on Red Hat Enterprise Linuxrh-dotnet60-dotnet-0:6.0.126-1.el7_9Fixed 2024-01-15RHSA-2024:0255
Red Hat Enterprise Linux 8dotnet8.0-0:8.0.101-1.el8_9Fixed 2024-01-10RHSA-2024:0150
Red Hat Enterprise Linux 8dotnet7.0-0:7.0.115-1.el8_9Fixed 2024-01-10RHSA-2024:0157
Red Hat Enterprise Linux 8dotnet6.0-0:6.0.126-1.el8_9Fixed 2024-01-10RHSA-2024:0158
Red Hat Enterprise Linux 9dotnet7.0-0:7.0.115-1.el9_3Fixed 2024-01-10RHSA-2024:0151
Red Hat Enterprise Linux 9dotnet8.0-0:8.0.101-1.el9_3Fixed 2024-01-10RHSA-2024:0152
Red Hat Enterprise Linux 9dotnet6.0-0:6.0.126-1.el9_3Fixed 2024-01-10RHSA-2024:0156

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-0056.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-317-15Siemens COMOS2025-11-11Critical ManufacturingCOMOSnone listed
ICSA-25-135-02Siemens INTRALOG WMS2025-05-13Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesINTRALOG WMSnone listed
ICSA-25-100-02Siemens SIDIS Prime2025-04-08Chemical, Critical Manufacturing, Energy, Food and Agriculture, Water and Wastewater SystemsSIDIS Primenone listed
ICSA-24-228-02Siemens INTRALOG WMS2024-08-13MultipleINTRALOG WMSnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-65 Sniff Application Code Likelihood: Low · Severity: High
  • CAPEC-102 Session Sidejacking Likelihood: High · Severity: High
  • CAPEC-117 Interception Likelihood: Low · Severity: Medium
  • CAPEC-383 Harvesting Information via API Event Monitoring Severity: Low
  • CAPEC-477 Signature Spoofing by Mixing Signed and Unsigned Content Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON