Security mailing lists by PureSourceCode

CVE-2024-0056

HIGH 8.7CVSS 3.1

Microsoft.Data.SqlClient and System.Data.SqlClient vulnerable to SQL Data Provider Security Feature Bypass

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

Published
9 Jan 2024
Last modified
17 Jun 2026
Assigned by
secure@microsoft.com
NVD status
Modified
Weakness
CWE-319
Also known as
BIT-dotnet-2024-0056BIT-dotnet-sdk-2024-0056GHSA-98g6-xh36-x2p7
Sources
NVDJSONOSV GHSA-98g6-xh36-x2p7JSON

Scores

SourceScored byVersionScoreVector / decision
NVD secure@microsoft.com (Secondary) CVSS 3.1 HIGH 8.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 8.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD microsoft microsoft.data.sqlclient
cpe:2.3:a:microsoft:microsoft.data.sqlclient:*:*:*:*:*:*:*:*
>= 2.1, < 2.1.7 2.1.7
NVD microsoft microsoft.data.sqlclient
cpe:2.3:a:microsoft:microsoft.data.sqlclient:*:*:*:*:*:*:*:*
>= 3.1, < 3.1.5 3.1.5
NVD microsoft microsoft.data.sqlclient
cpe:2.3:a:microsoft:microsoft.data.sqlclient:*:*:*:*:*:*:*:*
>= 4.0, < 4.0.5 4.0.5
NVD microsoft microsoft.data.sqlclient
cpe:2.3:a:microsoft:microsoft.data.sqlclient:*:*:*:*:*:*:*:*
>= 5.1, < 5.1.3 5.1.3
NVD microsoft sql_server
cpe:2.3:a:microsoft:sql_server:2022:*:*:*:*:*:x64:*
= 2022
NVD microsoft sql_server
cpe:2.3:a:microsoft:sql_server:2022:cumulative_update_10:*:*:*:*:*:*
= 2022
NVD microsoft system.data.sqlclient
cpe:2.3:a:microsoft:system.data.sqlclient:*:*:*:*:*:*:*:*
< 4.8.6 4.8.6
NVD microsoft visual_studio_2022
cpe:2.3:a:microsoft:visual_studio_2022:*:*:*:*:*:*:*:*
>= 17.2, < 17.2.23 17.2.23
NVD microsoft visual_studio_2022
cpe:2.3:a:microsoft:visual_studio_2022:*:*:*:*:*:*:*:*
>= 17.4, < 17.4.15 17.4.15
NVD microsoft visual_studio_2022
cpe:2.3:a:microsoft:visual_studio_2022:*:*:*:*:*:*:*:*
>= 17.6, < 17.6.11 17.6.11
NVD microsoft visual_studio_2022
cpe:2.3:a:microsoft:visual_studio_2022:*:*:*:*:*:*:*:*
>= 17.8, < 17.8.4 17.8.4
NVD microsoft .net_framework
cpe:2.3:a:microsoft:.net_framework:*:*:*:*:*:*:*:*
>= 4.8, < 4.8.04690.02 4.8.04690.02
NVD microsoft .net_framework
cpe:2.3:a:microsoft:.net_framework:*:*:*:*:*:*:*:*
>= 4.8, < 4.8.04690.01 4.8.04690.01
NVD microsoft .net_framework
cpe:2.3:a:microsoft:.net_framework:4.6.2:*:*:*:*:*:*:*
= 4.6.2
NVD microsoft .net_framework
cpe:2.3:a:microsoft:.net_framework:4.7:*:*:*:*:*:*:*
= 4.7
NVD microsoft .net_framework
cpe:2.3:a:microsoft:.net_framework:4.7.1:*:*:*:*:*:*:*
= 4.7.1
NVD microsoft .net_framework
cpe:2.3:a:microsoft:.net_framework:4.7.2:*:*:*:*:*:*:*
= 4.7.2
NVD microsoft .net_framework
cpe:2.3:a:microsoft:.net_framework:3.5:*:*:*:*:*:*:*
= 3.5
NVD microsoft .net_framework
cpe:2.3:a:microsoft:.net_framework:4.8.1:*:*:*:*:*:*:*
= 4.8.1
NVD microsoft .net_framework
cpe:2.3:a:microsoft:.net_framework:2.0:sp2:*:*:*:*:*:*
= 2.0
NVD microsoft .net
cpe:2.3:a:microsoft:.net:*:*:*:*:*:*:*:*
>= 6.0.0, < 6.0.26 6.0.26
NVD microsoft .net
cpe:2.3:a:microsoft:.net:*:*:*:*:*:*:*:*
>= 7.0.0, < 7.0.15 7.0.15
NVD microsoft .net
cpe:2.3:a:microsoft:.net:8.0.0:-:*:*:*:*:*:*
= 8.0.0
OSV NuGet Microsoft.Data.SqlClient < 2.1.7 2.1.7
OSV NuGet System.Data.SqlClient < 4.8.6 4.8.6
OSV NuGet Microsoft.Data.SqlClient >= 3.0.0, < 3.1.5 3.1.5
OSV NuGet Microsoft.Data.SqlClient >= 4.0.0, < 4.0.5 4.0.5
OSV NuGet Microsoft.Data.SqlClient >= 5.0.0, < 5.1.3 5.1.3

References

History

  • 25 Nov 2026 20:37 UTC · NVD: first stored (published 9 Jan 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Jan 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.