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
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.180% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 8.7 · published by microsoftCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N/E:U/RL:O/RC:C
Assessment source · checked 2026-11-19T12:57:03.577Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:03.577Z | CVE Program |
| epss | verified | 2026-11-19T16:04:37.769Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:16.650Z | OSV |
| affected | verified | 2026-11-19T12:57:03.577Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:03.577Z | CVE Program |
Affected versions and configuration
Microsoft Microsoft SQL Server 2022 (GDR) (x64-based Systems); default status: unknown: 16.0.0 to < 16.0.1110.1 [affected; scheme: custom] Microsoft .NET 6.0 (Unknown); default status: unknown: 6.0.0 to < 6.0.26 [affected; scheme: custom] Microsoft .NET 7.0 (Unknown); default status: unknown: 7.0.0 to < 7.0.15 [affected; scheme: custom] Microsoft .NET 8.0 (Unknown); default status: unknown: 8.0 to < 8.0.1 [affected; scheme: custom] Microsoft Microsoft.Data.SqlClient (Unknown); default status: unknown: 2.0 to < 2.1.7 [affected; scheme: custom] Microsoft Microsoft.Data.SqlClient (Unknown); default status: unknown: 3.0 to < 3.1.5 [affected; scheme: custom] Microsoft Microsoft.Data.SqlClient (Unknown); default status: unknown: 4.0 to < 4.0.5 [affected; scheme: custom] Microsoft Microsoft.Data.SqlClient (Unknown); default status: unknown: 5.0 to < 5.1.3 [affected; scheme: custom] Microsoft System.Data.SqlClient (Unknown); default status: unknown: 1.0 to < 4.8.6 [affected; scheme: custom] Microsoft Microsoft Visual Studio 2022 version 17.2 (Unknown); default status: unknown: 17.2.0 to < 17.2.23 [affected; scheme: custom] Microsoft Microsoft Visual Studio 2022 version 17.4 (Unknown); default status: unknown: 17.4.0 to < 17.4.15 [affected; scheme: custom] Microsoft Microsoft Visual Studio 2022 version 17.6 (Unknown); default status: unknown: 17.6.0 to < 17.6.11 [affected; scheme: custom] Microsoft Microsoft Visual Studio 2022 version 17.8 (Unknown); default status: unknown: 17.8.0 to < 17.8.4 [affected; scheme: custom] Microsoft Microsoft SQL Server 2022 (CU 10) (x64-based Systems); default status: unknown: 0 to < 16.0.4100.1 [affected; scheme: custom] Microsoft Microsoft .NET Framework 4.8 (Windows 10 Version 1607 for 32-bit Systems, Windows 10 Version 1607 for x64-based Systems, Windows Server 2016 (Server Core installation), Windows Server 2008 R2 for x64-based Systems Service Pack 1, Windows Server 2016, Windows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation), Windows Server 2012 (Server Core installation), Windows Server 2012, Windows Server 2012 R2, Windows Server 2012 R2 (Server Core installation)); default status: unknown: 4.8.0 to < 4.8.04690.02 [affected; scheme: custom] Microsoft Microsoft .NET Framework 3.5 AND 4.8 (Windows 10 Version 1809 for 32-bit Systems, Windows 10 Version 1809 for x64-based Systems, Windows Server 2019, Windows Server 2019 (Server Core installation), Windows Server 2022, Windows Server 2022 (Server Core installation), Windows 11 version 21H2 for x64-based Systems, Windows 11 version 21H2 for ARM64-based Systems, Windows 10 Version 21H2 for 32-bit Systems, Windows 10 Version 21H2 for ARM64-based Systems, Windows 10 Version 21H2 for x64-based Systems, Windows 10 Version 22H2 for x64-based Systems, Windows 10 Version 22H2 for ARM64-based Systems, Windows 10 Version 22H2 for 32-bit Systems); default status: unknown: 4.8.0 to < 4.8.04690.02 [affected; scheme: custom] Microsoft Microsoft .NET Framework 3.5 AND 4.7.2 (Windows 10 Version 1809 for 32-bit Systems, Windows 10 Version 1809 for x64-based Systems, Windows 10 Version 1809 for ARM64-based Systems, Windows Server 2019, Windows Server 2019 (Server Core installation), Windows 10 Version 1607 for 32-bit Systems, Windows Server 2016, Windows 10 Version 1607 for x64-based Systems, Windows Server 2016 (Server Core installation)); default status: unknown: 4.7.0 to < 4.7.04081.03 [affected; scheme: custom] Microsoft Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2 (Windows Server 2008 R2 for x64-based Systems Service Pack 1, Windows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation), Windows Server 2012, Windows Server 2012 (Server Core installation), Windows Server 2012 R2 (Server Core installation), Windows Server 2012 R2); default status: unknown: 4.7.0 to < 4.7.04081.02 [affected; scheme: custom] Microsoft Microsoft .NET Framework 3.5 AND 4.8.1 (Windows Server 2022 (Server Core installation), Windows Server 2022, Windows 11 version 21H2 for x64-based Systems, Windows 11 version 21H2 for ARM64-based Systems, Windows 10 Version 21H2 for 32-bit Systems, Windows 10 Version 21H2 for ARM64-based Systems, Windows 10 Version 21H2 for x64-based Systems, Windows 11 Version 22H2 for ARM64-based Systems, Windows 11 Version 22H2 for x64-based Systems, Windows 10 Version 22H2 for x64-based Systems, Windows 10 Version 22H2 for ARM64-based Systems, Windows 10 Version 22H2 for 32-bit Systems, Windows 11 Version 23H2 for ARM64-based Systems, Windows Server 2022, 23H2 Edition (Server Core installation), Windows 11 Version 23H2 for x64-based Systems); default status: unknown: 4.8.1 to < 4.8.09214.01 [affected; scheme: custom] Microsoft Microsoft .NET Framework 2.0 Service Pack 2 (Windows Server 2008 for 32-bit Systems Service Pack 2, Windows Server 2008 for x64-based Systems Service Pack 2); default status: unknown: 2.0.0 to < 3.0.50727.8976 [affected; scheme: custom]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "Microsoft",
"product": "Microsoft SQL Server 2022 (GDR)",
"versions": [
{
"status": "affected",
"version": "16.0.0",
"lessThan": "16.0.1110.1",
"versionType": "custom"
}
],
"platforms": [
"x64-based Systems"
]
},
{
"vendor": "Microsoft",
"product": ".NET 6.0",
"versions": [
{
"status": "affected",
"version": "6.0.0",
"lessThan": "6.0.26",
"versionType": "custom"
}
],
"platforms": [
"Unknown"
]
},
{
"vendor": "Microsoft",
"product": ".NET 7.0",
"versions": [
{
"status": "affected",
"version": "7.0.0",
"lessThan": "7.0.15",
"versionType": "custom"
}
],
"platforms": [
"Unknown"
]
},
{
"vendor": "Microsoft",
"product": ".NET 8.0",
"versions": [
{
"status": "affected",
"version": "8.0",
"lessThan": "8.0.1",
"versionType": "custom"
}
],
"platforms": [
"Unknown"
]
},
{
"vendor": "Microsoft",
"product": "Microsoft.Data.SqlClient",
"versions": [
{
"status": "affected",
"version": "2.0",
"lessThan": "2.1.7",
"versionType": "custom"
}
],
"platforms": [
"Unknown"
]
},
{
"vendor": "Microsoft",
"product": "Microsoft.Data.SqlClient",
"versions": [
{
"status": "affected",
"version": "3.0",
"lessThan": "3.1.5",
"versionType": "custom"
}
],
"platforms": [
"Unknown"
]
},
{
"vendor": "Microsoft",
"product": "Microsoft.Data.SqlClient",
"versions": [
{
"status": "affected",
"version": "4.0",
"lessThan": "4.0.5",
"versionType": "custom"
}
],
"platforms": [
"Unknown"
]
},
{
"vendor": "Microsoft",
"product": "Microsoft.Data.SqlClient",
"versions": [
{
"status": "affected",
"version": "5.0",
"lessThan": "5.1.3",
"versionType": "custom"
}
],
"platforms": [
"Unknown"
]
},
{
"vendor": "Microsoft",
"product": "System.Data.SqlClient",
"versions": [
{
"status": "affected",
"version": "1.0",
"lessThan": "4.8.6",
"versionType": "custom"
}
],
"platforms": [
"Unknown"
]
},
{
"vendor": "Microsoft",
"product": "Microsoft Visual Studio 2022 version 17.2",
"versions": [
{
"status": "affected",
"version": "17.2.0",
"lessThan": "17.2.23",
"versionType": "custom"
}
],
"platforms": [
"Unknown"
]
},
{
"vendor": "Microsoft",
"product": "Microsoft Visual Studio 2022 version 17.4",
"versions": [
{
"status": "affected",
"version": "17.4.0",
"lessThan": "17.4.15",
"versionType": "custom"
}
],
"platforms": [
"Unknown"
]
},
{
"vendor": "Microsoft",
"product": "Microsoft Visual Studio 2022 version 17.6",
"versions": [
{
"status": "affected",
"version": "17.6.0",
"lessThan": "17.6.11",
"versionType": "custom"
}
],
"platforms": [
"Unknown"
]
},
{
"vendor": "Microsoft",
"product": "Microsoft Visual Studio 2022 version 17.8",
"versions": [
{
"status": "affected",
"version": "17.8.0",
"lessThan": "17.8.4",
"versionType": "custom"
}
],
"platforms": [
"Unknown"
]
},
{
"vendor": "Microsoft",
"product": "Microsoft SQL Server 2022 (CU 10)",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "16.0.4100.1",
"versionType": "custom"
}
],
"platforms": [
"x64-based Systems"
]
},
{
"vendor": "Microsoft",
"product": "Microsoft .NET Framework 4.8",
"versions": [
{
"status": "affected",
"version": "4.8.0",
"lessThan": "4.8.04690.02",
"versionType": "custom"
}
],
"platforms": [
"Windows 10 Version 1607 for 32-bit Systems",
"Windows 10 Version 1607 for x64-based Systems",
"Windows Server 2016 (Server Core installation)",
"Windows Server 2008 R2 for x64-based Systems Service Pack 1",
"Windows Server 2016",
"Windows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation)",
"Windows Server 2012 (Server Core installation)",
"Windows Server 2012",
"Windows Server 2012 R2",
"Windows Server 2012 R2 (Server Core installation)"
]
},
{
"vendor": "Microsoft",
"product": "Microsoft .NET Framework 3.5 AND 4.8",
"versions": [
{
"status": "affected",
"version": "4.8.0",
"lessThan": "4.8.04690.02",
"versionType": "custom"
}
],
"platforms": [
"Windows 10 Version 1809 for 32-bit Systems",
"Windows 10 Version 1809 for x64-based Systems",
"Windows Server 2019",
"Windows Server 2019 (Server Core installation)",
"Windows Server 2022",
"Windows Server 2022 (Server Core installation)",
"Windows 11 version 21H2 for x64-based Systems",
"Windows 11 version 21H2 for ARM64-based Systems",
"Windows 10 Version 21H2 for 32-bit Systems",
"Windows 10 Version 21H2 for ARM64-based Systems",
"Windows 10 Version 21H2 for x64-based Systems",
"Windows 10 Version 22H2 for x64-based Systems",
"Windows 10 Version 22H2 for ARM64-based Systems",
"Windows 10 Version 22H2 for 32-bit Systems"
]
},
{
"vendor": "Microsoft",
"product": "Microsoft .NET Framework 3.5 AND 4.7.2",
"versions": [
{
"status": "affected",
"version": "4.7.0",
"lessThan": "4.7.04081.03",
"versionType": "custom"
}
],
"platforms": [
"Windows 10 Version 1809 for 32-bit Systems",
"Windows 10 Version 1809 for x64-based Systems",
"Windows 10 Version 1809 for ARM64-based Systems",
"Windows Server 2019",
"Windows Server 2019 (Server Core installation)",
"Windows 10 Version 1607 for 32-bit Systems",
"Windows Server 2016",
"Windows 10 Version 1607 for x64-based Systems",
"Windows Server 2016 (Server Core installation)"
]
},
{
"vendor": "Microsoft",
"product": "Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2",
"versions": [
{
"status": "affected",
"version": "4.7.0",
"lessThan": "4.7.04081.02",
"versionType": "custom"
}
],
"platforms": [
"Windows Server 2008 R2 for x64-based Systems Service Pack 1",
"Windows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation)",
"Windows Server 2012",
"Windows Server 2012 (Server Core installation)",
"Windows Server 2012 R2 (Server Core installation)",
"Windows Server 2012 R2"
]
},
{
"vendor": "Microsoft",
"product": "Microsoft .NET Framework 3.5 AND 4.8.1",
"versions": [
{
"status": "affected",
"version": "4.8.1",
"lessThan": "4.8.09214.01",
"versionType": "custom"
}
],
"platforms": [
"Windows Server 2022 (Server Core installation)",
"Windows Server 2022",
"Windows 11 version 21H2 for x64-based Systems",
"Windows 11 version 21H2 for ARM64-based Systems",
"Windows 10 Version 21H2 for 32-bit Systems",
"Windows 10 Version 21H2 for ARM64-based Systems",
"Windows 10 Version 21H2 for x64-based Systems",
"Windows 11 Version 22H2 for ARM64-based Systems",
"Windows 11 Version 22H2 for x64-based Systems",
"Windows 10 Version 22H2 for x64-based Systems",
"Windows 10 Version 22H2 for ARM64-based Systems",
"Windows 10 Version 22H2 for 32-bit Systems",
"Windows 11 Version 23H2 for ARM64-based Systems",
"Windows Server 2022, 23H2 Edition (Server Core installation)",
"Windows 11 Version 23H2 for x64-based Systems"
]
},
{
"vendor": "Microsoft",
"product": "Microsoft .NET Framework 2.0 Service Pack 2",
"versions": [
{
"status": "affected",
"version": "2.0.0",
"lessThan": "3.0.50727.8976",
"versionType": "custom"
}
],
"platforms": [
"Windows Server 2008 for 32-bit Systems Service Pack 2",
"Windows Server 2008 for x64-based Systems Service Pack 2"
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-0056",
"name": "Microsoft.Data.SqlClient and System.Data.SqlClient SQL Data Provider Security Feature Bypass Vulnerability",
"tags": [
"vendor-advisory",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-01T17:41:15.885Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2024-0056",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2025-05-08T15:47:49.601673Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-06-03T14:30:31.644Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-98g6-xh36-x2p7",
"aliases": [
"BIT-dotnet-2024-0056",
"BIT-dotnet-sdk-2024-0056",
"CVE-2024-0056"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.1.7"
}
]
}
],
"package": {
"name": "Microsoft.Data.SqlClient",
"purl": "pkg:nuget/Microsoft.Data.SqlClient",
"ecosystem": "NuGet"
},
"versions": [
"1.0.19123.2-Preview",
"1.0.19128.1-Preview",
"1.0.19189.1-Preview",
"1.0.19221.1-Preview",
"1.0.19239.1",
"1.0.19249.1",
"1.0.19269.1",
"1.1.0",
"1.1.1",
"1.1.2",
"1.1.3",
"1.1.4",
"2.0.0",
"2.0.1",
"2.1.0",
"2.1.1",
"2.1.2",
"2.1.3",
"2.1.4",
"2.1.5",
"2.1.6"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-98g6-xh36-x2p7/GHSA-98g6-xh36-x2p7.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.1.5"
}
]
}
],
"package": {
"name": "Microsoft.Data.SqlClient",
"purl": "pkg:nuget/Microsoft.Data.SqlClient",
"ecosystem": "NuGet"
},
"versions": [
"3.0.0",
"3.0.1",
"3.1.0",
"3.1.1",
"3.1.2",
"3.1.3",
"3.1.4"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-98g6-xh36-x2p7/GHSA-98g6-xh36-x2p7.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.0.5"
}
]
}
],
"package": {
"name": "Microsoft.Data.SqlClient",
"purl": "pkg:nuget/Microsoft.Data.SqlClient",
"ecosystem": "NuGet"
},
"versions": [
"4.0.0",
"4.0.1",
"4.0.2",
"4.0.3",
"4.0.4"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-98g6-xh36-x2p7/GHSA-98g6-xh36-x2p7.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.1.3"
}
]
}
],
"package": {
"name": "Microsoft.Data.SqlClient",
"purl": "pkg:nuget/Microsoft.Data.SqlClient",
"ecosystem": "NuGet"
},
"versions": [
"5.0.0",
"5.0.1",
"5.0.2",
"5.1.0",
"5.1.1",
"5.1.2"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-98g6-xh36-x2p7/GHSA-98g6-xh36-x2p7.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-0056",
"type": "ADVISORY"
},
{
"url": "https://github.com/dotnet/announcements/issues/292",
"type": "WEB"
},
{
"url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-0056",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-319"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2024-01-09T18:15:46Z",
"github_reviewed_at": "2024-01-16T19:13:48Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | NuGet / package | Microsoft.Data.SqlClient | Not a distribution channel | 2.1.7 | Official record |
| ecosystem-boundary | NuGet / package | Microsoft.Data.SqlClient | Not a distribution channel | 3.1.5 | Official record |
| ecosystem-boundary | NuGet / package | Microsoft.Data.SqlClient | Not a distribution channel | 4.0.5 | Official record |
| ecosystem-boundary | NuGet / package | Microsoft.Data.SqlClient | Not a distribution channel | 5.1.3 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - OSVConsulted: 2026-11-19T12:52:16.650ZArchived source JSON
Source publication: 2024-01-09T18:30:27.000Z
Source modification: 2024-05-31T20:48:39.831ZDocument fingerprint
bd940309ce89c07186d50f15fb222c970d3443a710558ec3e1c5a37492610de5 - CVE ProgramConsulted: 2026-11-19T12:57:03.577ZArchived source JSON
Source publication: 2024-01-09T17:56:58.972Z
Source modification: 2025-06-03T14:30:31.644ZDocument fingerprint
8ccbf0926b509447d3e32e0c2578bbe5d436bac8b0702361d28513cfc16e2ee6 - FIRST EPSSConsulted: 2026-11-19T16:04:37.769ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
eeab810781addaf3718bffbbfbd9069ab904b94a362008ceb3a8de1b19f5ac77
Official status history
- UNKNOWN → PUBLISHED · · evidence