{"schemaVersion":3,"id":"CVE-2024-0056","aliases":["GHSA-98g6-xh36-x2p7","BIT-dotnet-2024-0056","BIT-dotnet-sdk-2024-0056"],"status":"published","duplicateOf":null,"title":null,"description":"Microsoft.Data.SqlClient and System.Data.SqlClient SQL Data Provider Security Feature Bypass Vulnerability","dates":{"published":"2024-01-09T17:56:58.972Z","modified":"2025-06-03T14:30:31.644Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.7,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.7,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Nuget","score":8.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N","exploitability":5.6,"impact":9.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0118,"percentile":0.67227,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.00999999999999994,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0117},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0118,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0118,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0118,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0118,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0118,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0118,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0118,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0118,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0118,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0118,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0118,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0118,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0118,"percentile":0.67227}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0118,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0118,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0118,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0118,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0118,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0118,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0118,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0118,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0118,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0118,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0118,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0118,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0118,"percentile":0.67227}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-319","name":"Cleartext Transmission of Sensitive Information","description":"The product transmits sensitive or security-critical data in cleartext in a communication channel that can be sniffed by unauthorized actors.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/319.html"}],"affected":[{"vendor":"microsoft","product":"microsoft .net framework 2.0 service pack 2","name":"Microsoft .NET Framework 2.0 Service Pack 2","label":"microsoft .net framework 2.0 service pack 2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.0.0, < 3.0.50727.8976","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.0.0, < 3.0.50727.8976","eol":null,"hubHref":"/vendor/microsoft/microsoft_net_framework_20_service_pack_2"},{"vendor":"microsoft","product":"microsoft .net framework 3.5 and 4.7.2","name":"Microsoft .NET Framework 3.5 AND 4.7.2","label":"microsoft .net framework 3.5 and 4.7.2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.7.0, < 4.7.04081.03","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.7.0, < 4.7.04081.03","eol":null,"hubHref":"/vendor/microsoft/microsoft_net_framework_35_and_472"},{"vendor":"microsoft","product":"microsoft .net framework 3.5 and 4.8","name":"Microsoft .NET Framework 3.5 AND 4.8","label":"microsoft .net framework 3.5 and 4.8","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.8.0, < 4.8.04690.02","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.8.0, < 4.8.04690.02","eol":null,"hubHref":"/vendor/microsoft/microsoft_net_framework_35_and_48"},{"vendor":"microsoft","product":"microsoft .net framework 3.5 and 4.8.1","name":"Microsoft .NET Framework 3.5 AND 4.8.1","label":"microsoft .net framework 3.5 and 4.8.1","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.8.1, < 4.8.09214.01","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.8.1, < 4.8.09214.01","eol":null,"hubHref":"/vendor/microsoft/microsoft_net_framework_35_and_481"},{"vendor":"microsoft","product":"microsoft .net framework 4.6.2/4.7/4.7.1/4.7.2","name":"Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2","label":"microsoft .net framework 4.6.2/4.7/4.7.1/4.7.2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.7.0, < 4.7.04081.02","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.7.0, < 4.7.04081.02","eol":null,"hubHref":"/vendor/microsoft/microsoft_net_framework_46247471472"},{"vendor":"microsoft","product":"microsoft .net framework 4.8","name":"Microsoft .NET Framework 4.8","label":"microsoft .net framework 4.8","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.8.0, < 4.8.04690.02","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.8.0, < 4.8.04690.02","eol":null,"hubHref":"/vendor/microsoft/microsoft_net_framework_48"},{"vendor":"microsoft","product":"microsoft sql server 2022 (cu 10)","name":"Microsoft SQL Server 2022 (CU 10)","label":"microsoft sql server 2022 (cu 10)","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 16.0.4100.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 16.0.4100.1","eol":null,"hubHref":"/vendor/microsoft/microsoft_sql_server_2022_cu_10"},{"vendor":"microsoft","product":"microsoft sql server 2022 (gdr)","name":"Microsoft SQL Server 2022 (GDR)","label":"microsoft sql server 2022 (gdr)","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 16.0.0, < 16.0.1110.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 16.0.0, < 16.0.1110.1","eol":null,"hubHref":"/vendor/microsoft/microsoft_sql_server_2022_gdr"},{"vendor":"microsoft","product":"microsoft visual studio 2022 version 17.2","name":"Microsoft Visual Studio 2022 version 17.2","label":"microsoft visual studio 2022 version 17.2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 17.2.0, < 17.2.23","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 17.2.0, < 17.2.23","eol":null,"hubHref":"/vendor/microsoft/microsoft_visual_studio_2022_version_172"},{"vendor":"microsoft","product":"microsoft visual studio 2022 version 17.4","name":"Microsoft Visual Studio 2022 version 17.4","label":"microsoft visual studio 2022 version 17.4","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 17.4.0, < 17.4.15","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 17.4.0, < 17.4.15","eol":null,"hubHref":"/vendor/microsoft/microsoft_visual_studio_2022_version_174"},{"vendor":"microsoft","product":"microsoft visual studio 2022 version 17.6","name":"Microsoft Visual Studio 2022 version 17.6","label":"microsoft visual studio 2022 version 17.6","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 17.6.0, < 17.6.11","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 17.6.0, < 17.6.11","eol":null,"hubHref":"/vendor/microsoft/microsoft_visual_studio_2022_version_176"},{"vendor":"microsoft","product":"microsoft visual studio 2022 version 17.8","name":"Microsoft Visual Studio 2022 version 17.8","label":"microsoft visual studio 2022 version 17.8","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 17.8.0, < 17.8.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 17.8.0, < 17.8.4","eol":null,"hubHref":"/vendor/microsoft/microsoft_visual_studio_2022_version_178"},{"vendor":"microsoft","product":"microsoft.data.sqlclient","name":"microsoft.data.sqlclient","label":"microsoft.data.sqlclient","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.0, < 2.1.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0, < 3.1.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0, < 5.1.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.1, < 2.1.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.1, < 3.1.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0, < 4.0.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.1, < 5.1.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.0, < 2.1.7 | ≥ 3.0, < 3.1.5 | ≥ 5.0, < 5.1.3 | ≥ 2.1, < 2.1.7 | ≥ 3.1, < 3.1.5 | ≥ 4.0, < 4.0.5 | ≥ 5.1, < 5.1.3","eol":null,"hubHref":"/vendor/microsoft/microsoftdatasqlclient"},{"vendor":"microsoft","product":".net","name":".net","label":".net","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 6.0.0, < 6.0.26","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0, < 7.0.15","noFixRecorded":false,"fixedIn":null},{"text":"8.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.0.0, < 6.0.26 | ≥ 7.0.0, < 7.0.15 | 8.0.0","eol":{"isEol":false,"eolDate":"2026-11-10T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (LTS)","eolFrom":"2026-11-10T00:00:00.000Z","isLts":true,"isMaintained":true,"latestVersion":"8.0.32"},"product":{"name":"dotnet","label":"Microsoft .NET","category":"framework"}},"hubHref":"/vendor/microsoft/net"},{"vendor":"microsoft","product":".net 6.0","name":".NET 6.0","label":".net 6.0","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 6.0.0, < 6.0.26","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.0.0, < 6.0.26","eol":null,"hubHref":"/vendor/microsoft/net_60"},{"vendor":"microsoft","product":".net 7.0","name":".NET 7.0","label":".net 7.0","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.0.0, < 7.0.15","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.0.0, < 7.0.15","eol":null,"hubHref":"/vendor/microsoft/net_70"},{"vendor":"microsoft","product":".net 8.0","name":".NET 8.0","label":".net 8.0","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.0, < 8.0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 8.0, < 8.0.1","eol":null,"hubHref":"/vendor/microsoft/net_80"},{"vendor":"microsoft","product":".net_framework","name":".net framework","label":".net_framework","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.8, < 4.8.04690.02","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.8, < 4.8.04690.01","noFixRecorded":false,"fixedIn":null},{"text":"4.6.2","noFixRecorded":false,"fixedIn":null},{"text":"4.7","noFixRecorded":false,"fixedIn":null},{"text":"4.7.1","noFixRecorded":false,"fixedIn":null},{"text":"4.7.2","noFixRecorded":false,"fixedIn":null},{"text":"3.5","noFixRecorded":false,"fixedIn":null},{"text":"4.8.1","noFixRecorded":false,"fixedIn":null},{"text":"2.0:sp2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.8, < 4.8.04690.02 | ≥ 4.8, < 4.8.04690.01 | 4.6.2 | 4.7 | 4.7.1 | 4.7.2 | 3.5 | 4.8.1 | 2.0:sp2","eol":null,"hubHref":"/vendor/microsoft/net_framework"},{"vendor":"microsoft","product":"sql_server","name":"SQL Server","label":"sql_server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2022","noFixRecorded":false,"fixedIn":null},{"text":"2022:cumulative_update_10","noFixRecorded":false,"fixedIn":null}],"versionsText":"2022 | 2022:cumulative_update_10","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"mssqlserver","label":"Microsoft SQL Server","category":"database"}},"hubHref":"/vendor/microsoft/sql_server"},{"vendor":"microsoft","product":"system.data.sqlclient","name":"system.data.sqlclient","label":"system.data.sqlclient","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.0, < 4.8.6","noFixRecorded":false,"fixedIn":null},{"text":"< 4.8.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.0, < 4.8.6 | < 4.8.6","eol":null,"hubHref":"/vendor/microsoft/systemdatasqlclient"},{"vendor":"microsoft","product":"visual_studio_2022","name":"visual studio 2022","label":"visual_studio_2022","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 17.2, < 17.2.23","noFixRecorded":false,"fixedIn":null},{"text":"≥ 17.4, < 17.4.15","noFixRecorded":false,"fixedIn":null},{"text":"≥ 17.6, < 17.6.11","noFixRecorded":false,"fixedIn":null},{"text":"≥ 17.8, < 17.8.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 17.2, < 17.2.23 | ≥ 17.4, < 17.4.15 | ≥ 17.6, < 17.6.11 | ≥ 17.8, < 17.8.4","eol":null,"hubHref":"/vendor/microsoft/visual_studio_2022"},{"vendor":"NuGet","product":"Microsoft.Data.SqlClient","name":"Microsoft.Data.SqlClient","label":"Microsoft.Data.SqlClient","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/Microsoft.Data.SqlClient","purlType":"nuget","versions":[{"text":"< 2.1.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0, < 3.1.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0, < 4.0.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 5.1.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.7 | ≥ 3.0.0, < 3.1.5 | ≥ 4.0.0, < 4.0.5 | ≥ 5.0.0, < 5.1.3","eol":null,"hubHref":null},{"vendor":"NuGet","product":"System.Data.SqlClient","name":"System.Data.SqlClient","label":"System.Data.SqlClient","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/System.Data.SqlClient","purlType":"nuget","versions":[{"text":"< 4.8.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.8.6","eol":null,"hubHref":null}],"affectedCount":23,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-0056","label":"msrc.microsoft.com/update-guide/vulnerability/CVE-2024-0056","hostname":"msrc.microsoft.com","tags":["Vendor Advisory","WEB","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-0056","label":"nvd.nist.gov/vuln/detail/CVE-2024-0056","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/dotnet/announcements/issues/292","label":"github.com/dotnet/announcements/issues/292","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["RHSA-2024:0150","RHSA-2024:0151","RHSA-2024:0152","RHSA-2024:0156","RHSA-2024:0157","RHSA-2024:0158","RHSA-2024:0255"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-01-09T17:56:58.972Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-06-03T14:30:31.644Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T05:57:20.257Z","stale":false,"partial":false}}