CVE-2024-0056 — Vulnerability in Microsoft.Data.SqlClient — CVE...
Microsoft.Data.SqlClient and System.Data.SqlClient vulnerable to SQL Data Provider Security Feature Bypass
Summary
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.
dotnet add package Microsoft.Data.SqlClient --version 5.1.3
dotnet add package System.Data.SqlClient --version 4.8.6
dotnet add package Microsoft.Data.SqlClient --version 2.1.7
dotnet add package Microsoft.Data.SqlClient --version 4.0.5
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).
| Package | Ecosystem | Affected | Fixed 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.
- CWE-319
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.7 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
References
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
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-106112HIGH
ImageSharp: ICC LUT16 output channel count can write beyond Vector4
- CVE-2026-106115HIGH
ImageSharp: TIFF CCITT T6 encoder writes beyond an undersized output buffer
- CVE-2022-41064MEDIUM
.NET Information Disclosure Vulnerability
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies