Loading...
Skip to main content

CVE-2024-0056 — Vulnerability in Microsoft.Data.SqlClient — CVE...

HIGH

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

Published January 9, 2024Updated May 31, 2024Source: osv

Summary

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

Advisory Timeline

  • First published January 9, 2024 (1007 days ago).
  • Last revised May 31, 2024 — 143 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

NuGet
Update Microsoft.Data.SqlClient to 5.1.3 or later
dotnet add package Microsoft.Data.SqlClient --version 5.1.3
NuGet
Update System.Data.SqlClient to 4.8.6 or later
dotnet add package System.Data.SqlClient --version 4.8.6
NuGet
Update Microsoft.Data.SqlClient to 2.1.7 or later
dotnet add package Microsoft.Data.SqlClient --version 2.1.7
NuGet
Update Microsoft.Data.SqlClient to 4.0.5 or later
dotnet add package Microsoft.Data.SqlClient --version 4.0.5
NuGet
Update Microsoft.Data.SqlClient to 3.1.5 or later
dotnet add package Microsoft.Data.SqlClient --version 3.1.5

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (5)

Affects 1 ecosystem: nuget (2).

PackageEcosystemAffectedFixed In
Microsoft.Data.SqlClient
nuget
5.0.0, 5.0.1, 5.0.2, 5.1.0 (+2 more)5.1.3
System.Data.SqlClient
nuget
1.0.0-beta1, 1.0.0-beta2, 4.0.0-beta-22605, 4.0.0-beta-22816 (+34 more)4.8.6
Microsoft.Data.SqlClient
nuget
1.0.19123.2-Preview, 1.0.19128.1-Preview, 1.0.19189.1-Preview, 1.0.19221.1-Preview (+17 more)2.1.7
Microsoft.Data.SqlClient
nuget
4.0.0, 4.0.1, 4.0.2, 4.0.3 (+1 more)4.0.5
Microsoft.Data.SqlClient
nuget
3.0.0, 3.0.1, 3.1.0, 3.1.1 (+3 more)3.1.5

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.7 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N

Frequently Asked Questions

What is CVE-2024-0056?
Microsoft.Data.SqlClient and System.Data.SqlClient vulnerable to SQL Data Provider Security Feature Bypass This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.7/10).
How do I check if my project is affected by CVE-2024-0056?
CVE-2024-0056 affects Microsoft.Data.SqlClient and System.Data.SqlClient. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-0056 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.7

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-98g6-xh36-x2p7
BIT-dotnet-2024-0056
BIT-dotnet-sdk-2024-0056

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies