CVE-2024-0056
Microsoft.Data.SqlClient and System.Data.SqlClient SQL Data Provider Security Feature Bypass Vulnerability
Description
Microsoft.Data.SqlClient and System.Data.SqlClient SQL Data Provider Security Feature Bypass Vulnerability
Severity (CVSS)
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
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality high, integrity high, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.86%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 56.0% of all scored CVEs. Scores of 29 Nov 2026.
The assessment of CISA (SSVC, 8 May 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-319 Cleartext Transmission of Sensitive Information
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Microsoft SQL Server 2022 (GDR) |
affected from 16.0.0, before 16.0.1110.1
|
| .NET 6.0 |
affected from 6.0.0, before 6.0.26
|
| .NET 7.0 |
affected from 7.0.0, before 7.0.15
|
| .NET 8.0 |
affected from 8.0, before 8.0.1
|
| Microsoft.Data.SqlClient |
affected from 2.0, before 2.1.7
|
| Microsoft.Data.SqlClient |
affected from 3.0, before 3.1.5
|
| Microsoft.Data.SqlClient |
affected from 4.0, before 4.0.5
|
| Microsoft.Data.SqlClient |
affected from 5.0, before 5.1.3
|
| System.Data.SqlClient |
affected from 1.0, before 4.8.6
|
| Microsoft Visual Studio 2022 version 17.2 |
affected from 17.2.0, before 17.2.23
|
| Microsoft Visual Studio 2022 version 17.4 |
affected from 17.4.0, before 17.4.15
|
| Microsoft Visual Studio 2022 version 17.6 |
affected from 17.6.0, before 17.6.11
|
| Microsoft Visual Studio 2022 version 17.8 |
affected from 17.8.0, before 17.8.4
|
| Microsoft SQL Server 2022 (CU 10) |
affected before 16.0.4100.1
|
| Microsoft .NET Framework 4.8 |
affected from 4.8.0, before 4.8.04690.02
|
| Microsoft .NET Framework 3.5 AND 4.8 |
affected from 4.8.0, before 4.8.04690.02
|
| Microsoft .NET Framework 3.5 AND 4.7.2 |
affected from 4.7.0, before 4.7.04081.03
|
| Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2 |
affected from 4.7.0, before 4.7.04081.02
|
| Microsoft .NET Framework 3.5 AND 4.8.1 |
affected from 4.8.1, before 4.8.09214.01
|
| Microsoft .NET Framework 2.0 Service Pack 2 |
affected from 2.0.0, before 3.0.50727.8976
|
Is my server affected?
This CVE is in Microsoft SQL Server 2022 (GDR) of Microsoft, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Advisories
- Microsoft.Data.SqlClient and System.Data.SqlClient SQL Data Provider Security Feature Bypass Vulnerability msrc.microsoft.com · vendor advisory
Source: the record CVE-2024-0056 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse