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

- Severity: High 8.7 (CVSS:3.1, scored by microsoft) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.18%, higher than 68% of CVEs (2026-12-01)
- Published: 2024-01-09T17:56:58.972Z
- Modified: 2026-09-08T08:46:47.419Z
- Also known as: GHSA-98g6-xh36-x2p7, BIT-DOTNET-2024-0056, BIT-DOTNET-SDK-2024-0056
- Weaknesses: CWE-319
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: microsoft

## Description

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

(As written by CVE List.)

## Affected

- Microsoft Microsoft SQL Server 2022 (GDR): from 16.0.0 before 16.0.1110.1
- Microsoft .NET 6.0: from 6.0.0 before 6.0.26
- Microsoft .NET 7.0: from 7.0.0 before 7.0.15
- Microsoft .NET 8.0: from 8.0 before 8.0.1
- Microsoft Microsoft.Data.SqlClient: from 2.0 before 2.1.7; from 3.0 before 3.1.5; from 4.0 before 4.0.5; from 5.0 before 5.1.3; from 2.1 before 2.1.7; from 3.1 before 3.1.5; from 5.1 before 5.1.3
- Microsoft System.Data.SqlClient: from 1.0 before 4.8.6; before 4.8.6
- Microsoft Microsoft Visual Studio 2022 version 17.2: from 17.2.0 before 17.2.23
- Microsoft Microsoft Visual Studio 2022 version 17.4: from 17.4.0 before 17.4.15
- Microsoft Microsoft Visual Studio 2022 version 17.6: from 17.6.0 before 17.6.11
- Microsoft Microsoft Visual Studio 2022 version 17.8: from 17.8.0 before 17.8.4
- Microsoft Microsoft SQL Server 2022 (CU 10): before 16.0.4100.1
- Microsoft Microsoft .NET Framework 4.8: from 4.8.0 before 4.8.04690.02
- Microsoft Microsoft .NET Framework 3.5 AND 4.8: from 4.8.0 before 4.8.04690.02
- Microsoft Microsoft .NET Framework 3.5 AND 4.7.2: from 4.7.0 before 4.7.04081.03
- Microsoft Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2: from 4.7.0 before 4.7.04081.02
- Microsoft Microsoft .NET Framework 3.5 AND 4.8.1: from 4.8.1 before 4.8.09214.01
- Microsoft Microsoft .NET Framework 2.0 Service Pack 2: from 2.0.0 before 3.0.50727.8976
- Microsoft.Data.SqlClient (NuGet): before 2.1.7; from 3.0.0 before 3.1.5; from 4.0.0 before 4.0.5; from 5.0.0 before 5.1.3
- System.Data.SqlClient (NuGet): before 4.8.6
- microsoft sql_server: 2022
- microsoft visual_studio_2022: from 17.2 before 17.2.23; from 17.4 before 17.4.15; from 17.6 before 17.6.11; from 17.8 before 17.8.4
- microsoft .net_framework: from 4.8 before 4.8.04690.02; from 4.8 before 4.8.04690.01; 4.6.2; 4.7; 4.7.1; 4.7.2; 3.5; 4.8.1; 2.0
- microsoft .net: from 6.0.0 before 6.0.26; from 7.0.0 before 7.0.15; 8.0.0
- dotnet (Bitnami): from 6.0.0 before 6.0.26; from 7.0.0 before 7.0.15; from 8.0.0 before 8.0.1
- dotnet-sdk (Bitnami): from 6.0.0 before 6.0.26; from 7.0.0 before 7.0.15; from 8.0.0 before 8.0.1

## Every score

- microsoft: 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/E:U/RL:O/RC:C`
- GitHub: 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`
- Bitnami Vulnerability Database: rating High

## References

- <https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-0056> (advisory, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-0056> (advisory, web)
- <https://github.com/dotnet/announcements/issues/292> (web)

## Sources

- CVE List: [CVE-2024-0056](https://www.cve.org/CVERecord?id=CVE-2024-0056), CVE Terms of Use, modified 2025-06-03
- GitHub Advisory Database: [GHSA-98g6-xh36-x2p7](https://github.com/advisories/GHSA-98g6-xh36-x2p7), CC-BY-4.0, modified 2024-05-31
- NVD: [CVE-2024-0056](https://nvd.nist.gov/vuln/detail/CVE-2024-0056), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DOTNET-2024-0056](https://osv.dev/vulnerability/BIT-DOTNET-2024-0056), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-DOTNET-SDK-2024-0056](https://osv.dev/vulnerability/BIT-DOTNET-SDK-2024-0056), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-0056 · Whole record: https://cve.day/CVE-2024-0056.json · Rebuilt by cve.day 2026-11-25T22:58:35.970Z
