Every CVE Search/ Get API key

CVE-2022-41064

.NET Framework Information Disclosure Vulnerability

5.8 MediumFix available

.NET Framework Information Disclosure Vulnerability

Attack profile

How easy it is to exploit

Attack vector
Adjacent network
Complexity
High
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

0.92%Unchanged since Nov 10, 2022
90%50%10%1%

What each source reports

CVE List Score used 5.8

.NET Framework Information Disclosure Vulnerability

.NET Framework Information Disclosure Vulnerability

Record
CVE-2022-41064
CVSS 3.1
5.8 MediumCVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N/E:U/RL:O/RC:C
Updated
2026-11-02
EUVDEUVD-2022-7282 5.8

.NET Framework Information Disclosure Vulnerability

Record
EUVD-2022-7282
CVSS 3.1
5.8 MediumCVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N/E:U/RL:O/RC:C
Updated
2026-11-02
GitHub AdvisoriesGHSA-8g2p-5pqh-5jmc 5.8

.NET Information Disclosure Vulnerability

Microsoft is releasing this security advisory to provide information about a vulnerability in .NET, .NET Core and .NET Framework's System.Data.SqlClient and Microsoft.Data.SqlClient NuGet Packages.

A vulnerability exists in System.Data.SqlClient and Microsoft.Data.SqlClient libraries where a timeout occurring under high load can cause incorrect data to be returned as the result of an asynchronously executed query.

<a name="mitigation-factors"></a>Mitigation factors

If you are not talking to Microsoft SQL Server from your application you are not affected by this vulnerability.

<a name="how-affected"></a>How do I know if I am affected?

.NET has two types of dependencies: direct and transitive. Direct dependencies are dependencies where you specifically add a package to your project, transitive dependencies occur when you add a package to your project that in turn relies on another package.

For example, the Microsoft.AspNetCore.Mvc package depends on the Microsoft.AspNetCore.Mvc.Core package. When you add a dependency on Microsoft.AspNetCore.Mvc in your project, you're taking a transitive dependency on Microsoft.AspNetCore.Mvc.Core.

Any application that has a direct or transitive dependency on the  affected packages listed above are vulnerable.

<a name="how-fix"></a>How do I fix the issue?

  • If you are using System.Data.SqlClient on .NET Framework you must install the November update for .NET Framework
  • If you are using System.Data.SqlClient on .NET Core, .NET 5 or .NET 6 you must update the nuget package to an updated version as listed in the affected packages.
  • If you are using Microsoft.Data.SqlClient, anywhere (.NET Core, .NET 5/6, .NET Framework) and you are using a version that is vulnerable you must update as listed in the affected packages.

Additional Details

.NET and .NET Framework projects have two types of dependencies: direct and transitive. You must update your projects using the following instructions to address both types of dependency.

Additionally, .NET Framework users must also install the November 2022 security patch to be protected.

Direct dependencies

Direct dependencies are discoverable by examining your csproj file. They can be fixed by editing the project file or using nuget command line to update the dependency.

Transitive dependencies

Transitive dependencies occur when you add a package to your project that in turn relies on another package. Transitive dependencies can be discovered by searching the project.assets.json file for each of your projects. This file is produced on each build and is in the obj directory for each project.

The project.assets.json files are the authoritative list of all packages used by your project, containing both direct and transitive dependencies.

Fixing direct dependencies

Direct dependencies are nuget packages that have been specifically added to a project, rather than being pulled in because a nuget package added requires it. They can be seen in the solution explorer in Visual Studio or by opening the csproj for the project and examining the packageReference nodes for the package name, specified by the Include parameter, and its version, specified by the Version parameter.

For example, the following project file has a direct dependency on version 2.1.1 of Microsoft.Data.SqlClient.

<Project Sdk="Microsoft.NET.Sdk.Web"> 

  <PropertyGroup> 
    <TargetFramework>net6.0</TargetFramework> 
    <Nullable>enable</Nullable> 
    <ImplicitUsings>enable</ImplicitUsings> 
  </PropertyGroup> 

  <ItemGroup> 
    <PackageReference Include="Microsoft.Data.SqlClient" Version="2.1.1" /> 
  </ItemGroup> 

</Project> 

Fixing direct dependencies with the nuget command line

Open a command line to the directory holding your project

Run the following command if you are using a version of Microsoft.Data.SqlClient between 2.0.0 and 2.1.1

dotnet add package Microsoft.Data.SqlClient…

Record
GHSA-8g2p-5pqh-5jmc
CVSS 3.1
5.8 MediumCVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
Updated
2026-11-02
NVD 5.8

.NET Framework Information Disclosure Vulnerability

Record
CVE-2022-41064
CVSS 3.1
5.8 MediumCVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
Updated
2026-11-02
OSVGHSA-8g2p-5pqh-5jmc 5.8

.NET Information Disclosure Vulnerability

Microsoft is releasing this security advisory to provide information about a vulnerability in .NET, .NET Core and .NET Framework's System.Data.SqlClient and Microsoft.Data.SqlClient NuGet Packages.

A vulnerability exists in System.Data.SqlClient and Microsoft.Data.SqlClient libraries where a timeout occurring under high load can cause incorrect data to be returned as the result of an asynchronously executed query.

<a name="mitigation-factors"></a>Mitigation factors

If you are not talking to Microsoft SQL Server from your application you are not affected by this vulnerability.

<a name="how-affected"></a>How do I know if I am affected?

.NET has two types of dependencies: direct and transitive. Direct dependencies are dependencies where you specifically add a package to your project, transitive dependencies occur when you add a package to your project that in turn relies on another package.

For example, the Microsoft.AspNetCore.Mvc package depends on the Microsoft.AspNetCore.Mvc.Core package. When you add a dependency on Microsoft.AspNetCore.Mvc in your project, you're taking a transitive dependency on Microsoft.AspNetCore.Mvc.Core.

Any application that has a direct or transitive dependency on the  affected packages listed above are vulnerable.

<a name="how-fix"></a>How do I fix the issue?

  • If you are using System.Data.SqlClient on .NET Framework you must install the November update for .NET Framework
  • If you are using System.Data.SqlClient on .NET Core, .NET 5 or .NET 6 you must update the nuget package to an updated version as listed in the affected packages.
  • If you are using Microsoft.Data.SqlClient, anywhere (.NET Core, .NET 5/6, .NET Framework) and you are using a version that is vulnerable you must update as listed in the affected packages.

Additional Details

.NET and .NET Framework projects have two types of dependencies: direct and transitive. You must update your projects using the following instructions to address both types of dependency.

Additionally, .NET Framework users must also install the November 2022 security patch to be protected.

Direct dependencies

Direct dependencies are discoverable by examining your csproj file. They can be fixed by editing the project file or using nuget command line to update the dependency.

Transitive dependencies

Transitive dependencies occur when you add a package to your project that in turn relies on another package. Transitive dependencies can be discovered by searching the project.assets.json file for each of your projects. This file is produced on each build and is in the obj directory for each project.

The project.assets.json files are the authoritative list of all packages used by your project, containing both direct and transitive dependencies.

Fixing direct dependencies

Direct dependencies are nuget packages that have been specifically added to a project, rather than being pulled in because a nuget package added requires it. They can be seen in the solution explorer in Visual Studio or by opening the csproj for the project and examining the packageReference nodes for the package name, specified by the Include parameter, and its version, specified by the Version parameter.

For example, the following project file has a direct dependency on version 2.1.1 of Microsoft.Data.SqlClient.

<Project Sdk="Microsoft.NET.Sdk.Web"> 

  <PropertyGroup> 
    <TargetFramework>net6.0</TargetFramework> 
    <Nullable>enable</Nullable> 
    <ImplicitUsings>enable</ImplicitUsings> 
  </PropertyGroup> 

  <ItemGroup> 
    <PackageReference Include="Microsoft.Data.SqlClient" Version="2.1.1" /> 
  </ItemGroup> 

</Project> 

Fixing direct dependencies with the nuget command line

Open a command line to the directory holding your project

Run the following command if you are using a version of Microsoft.Data.SqlClient between 2.0.0 and 2.1.1

dotnet add package Microsoft.Data.SqlClient…

Record
GHSA-8g2p-5pqh-5jmc
CVSS 3.1
5.8 MediumCVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
Microsoft.Data.SqlClient
NuGet
through 1.1.3
1.1.4
System.Data.SqlClient
NuGet
through 4.8.4
4.8.5
Microsoft.Data.SqlClient
NuGet
2.0.0 up to 2.1.2
2.1.2
Microsoft.Data.SqlClient
NuGet
before 1.1.4, plus listed versions
1.0.19123.2-Preview1.0.19128.1-Preview1.0.19189.1-Preview1.0.19221.1-Preview1.0.19239.1
Show 6 moreShow less
1.0.19249.11.0.19269.11.1.01.1.11.1.21.1.3
1.1.4
System.Data.SqlClient
NuGet
before 4.8.5, plus listed versions
1.0.0-beta11.0.0-beta24.0.0-beta-226054.0.0-beta-228164.0.0-beta-23019
Show 32 moreShow less
4.0.0-beta-231094.0.0-beta-231234.0.0-beta-232254.0.0-beta-234094.0.0-beta-235164.1.04.1.0-rc2-240274.3.04.3.0-preview1-24530-044.3.14.4.04.4.0-preview1-25305-024.4.0-preview2-25405-014.4.14.4.24.4.34.5.04.5.0-preview1-26216-024.5.0-preview2-26406-044.5.0-rc14.5.14.5.34.6.04.6.0-preview2-26905-024.6.0-preview3-27014-024.6.14.7.04.8.04.8.14.8.24.8.34.8.4
4.8.5
Microsoft.Data.SqlClient
NuGet
2.0.0 up to 2.1.2, plus listed versions
2.0.12.1.02.1.1
2.1.2

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-41064 is a medium vulnerability (CVSS 5.8) in Microsoft .net Framework, published November 8, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.92%, the 60th percentile. Fixed in Microsoft.Data.SqlClient 1.1.4.

References

This page doesn't list everything

Left out here: the rest of 2 source descriptions. The JSON record has them.

MoveEnter Open