# CVE-2022-41064: .NET Framework Information Disclosure Vulnerability

> An attacker can exploit this vulnerability in the .NET Framework to disclose sensitive information.

- **Severity:** Medium 5.8 (`CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N/E:U/RL:O/RC:C`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 9 Nov 2022
- **Updated:** 10 Aug 2026
- **Also known as:** GHSA-8g2p-5pqh-5jmc

## What is CVE-2022-41064?

CVE-2022-41064 is a medium-severity vulnerability in Microsoft .Net Framework, published on 9 Nov 2022. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

.NET Framework Information Disclosure Vulnerability

## Which versions are affected by CVE-2022-41064?

6 open source packages ship an affected version, including Microsoft.Data.SqlClient and System.Data.SqlClient. It affects 2 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `Microsoft.Data.SqlClient` | NuGet | All versions | 1.1.4 |
| `Microsoft.Data.SqlClient` | NuGet | All versions | 1.1.4 |
| `Microsoft.Data.SqlClient` | NuGet | From 2.0.0 | 2.1.2 |
| `Microsoft.Data.SqlClient` | NuGet | From 2.0.0 | 2.1.2 |
| `System.Data.SqlClient` | NuGet | All versions | 4.8.5 |
| `System.Data.SqlClient` | NuGet | All versions | 4.8.5 |

Products: Microsoft .Net Framework, Microsoft Nuget.

## How do I fix CVE-2022-41064?

Upgrade Microsoft.Data.SqlClient to a fixed version for your release line: 1.1.4 or 2.1.2.

## Is CVE-2022-41064 being exploited?

There is no known exploitation of CVE-2022-41064 in the wild and no public exploit code.

## Other vulnerabilities in Microsoft .Net Framework

- [CVE-2020-0646](https://insights.sbomify.com/CVE-2020-0646/): Microsoft .NET Framework Remote Code Execution (critical 9.8, exploited in the wild)
- [CVE-2017-8759](https://insights.sbomify.com/CVE-2017-8759/): Microsoft .NET Framework Remote Code Execution (high 7.8, exploited in the wild)
- [CVE-2015-1671](https://insights.sbomify.com/CVE-2015-1671/): Microsoft Windows Remote Code Execution (high 7.8, exploited in the wild)
- [CVE-2024-29059](https://insights.sbomify.com/CVE-2024-29059/): Microsoft .NET Framework Information Disclosure (high 7.5, exploited in the wild)
- [CVE-2014-4073](https://insights.sbomify.com/CVE-2014-4073/): Privilege escalation in n/a (critical 10.0)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2022-41064 and fix it if it is affected.

What it is: CVE-2022-41064 is a medium-severity vulnerability in Microsoft .Net Framework, published on 9 Nov 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2022-41064 in the wild and no public exploit code.

Affected packages and fixed versions:
- Microsoft.Data.SqlClient (NuGet): affected all versions; fixed in 1.1.4
- Microsoft.Data.SqlClient (NuGet): affected all versions; fixed in 1.1.4
- Microsoft.Data.SqlClient (NuGet): affected from 2.0.0; fixed in 2.1.2
- Microsoft.Data.SqlClient (NuGet): affected from 2.0.0; fixed in 2.1.2
- System.Data.SqlClient (NuGet): affected all versions; fixed in 4.8.5
- System.Data.SqlClient (NuGet): affected all versions; fixed in 4.8.5

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2022-41064/ (Markdown: https://insights.sbomify.com/CVE-2022-41064/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2022-41064
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2022-41064
- OSV: https://osv.dev/vulnerability/CVE-2022-41064

---
From sbomify Insights: https://insights.sbomify.com/CVE-2022-41064/
Summaries are generated and may contain mistakes; the official description above is the record.
