# GHSA-2x7m-gf85-3745: Remote Denial of Service Vulnerability in Microsoft QUIC

> Remote attackers can cause a denial of service in Microsoft QUIC servers by triggering a memory leak through multiple decodes.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 13 Mar 2024

## What is GHSA-2x7m-gf85-3745?

GHSA-2x7m-gf85-3745 is a denial of service vulnerability in Microsoft.Native.Quic.MsQuic.OpenSSL, published on 13 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

### Impact
The MsQuic server will continue to leak memory until no more is available, resulting in a denial of service.

### Patches
The following patch was made:

 - Fix Memory Leak from Multiple Decodes of TP - https://github.com/microsoft/msquic/commit/5d070d661c45979946615289e92bb6b822efe9e9

### Workarounds
Beyond upgrading to the patched versions, there is no other workaround.

### MSRC CVE Info
https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-26190

## Which versions are affected by GHSA-2x7m-gf85-3745?

12 open source packages ship an affected version, including Microsoft.Native.Quic.MsQuic.OpenSSL and Microsoft.Native.Quic.MsQuic.Schannel.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `Microsoft.Native.Quic.MsQuic.OpenSSL` | NuGet | All versions | 2.1.12 |
| `Microsoft.Native.Quic.MsQuic.OpenSSL` | NuGet | All versions | 2.1.12 |
| `Microsoft.Native.Quic.MsQuic.OpenSSL` | NuGet | From 2.2.0 | 2.2.7 |
| `Microsoft.Native.Quic.MsQuic.OpenSSL` | NuGet | From 2.2.0 | 2.2.7 |
| `Microsoft.Native.Quic.MsQuic.OpenSSL` | NuGet | From 2.3.0 | 2.3.5 |
| `Microsoft.Native.Quic.MsQuic.OpenSSL` | NuGet | From 2.3.0 | 2.3.5 |
| `Microsoft.Native.Quic.MsQuic.Schannel` | NuGet | All versions | 2.1.12 |
| `Microsoft.Native.Quic.MsQuic.Schannel` | NuGet | All versions | 2.1.12 |
| `Microsoft.Native.Quic.MsQuic.Schannel` | NuGet | From 2.2.0 | 2.2.7 |
| `Microsoft.Native.Quic.MsQuic.Schannel` | NuGet | From 2.2.0 | 2.2.7 |
| `Microsoft.Native.Quic.MsQuic.Schannel` | NuGet | From 2.3.0 | 2.3.5 |
| `Microsoft.Native.Quic.MsQuic.Schannel` | NuGet | From 2.3.0 | 2.3.5 |

## How do I fix GHSA-2x7m-gf85-3745?

Upgrade Microsoft.Native.Quic.MsQuic.OpenSSL to a fixed version for your release line: 2.1.12, 2.2.7 or 2.3.5.

## Is GHSA-2x7m-gf85-3745 being exploited?

There is no known exploitation of GHSA-2x7m-gf85-3745 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-2x7m-gf85-3745 and fix it if it is affected.

What it is: GHSA-2x7m-gf85-3745 is a denial of service vulnerability in Microsoft.Native.Quic.MsQuic.OpenSSL, published on 13 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of GHSA-2x7m-gf85-3745 in the wild and no public exploit code.

Affected packages and fixed versions:
- Microsoft.Native.Quic.MsQuic.OpenSSL (NuGet): affected all versions; fixed in 2.1.12
- Microsoft.Native.Quic.MsQuic.OpenSSL (NuGet): affected all versions; fixed in 2.1.12
- Microsoft.Native.Quic.MsQuic.OpenSSL (NuGet): affected from 2.2.0; fixed in 2.2.7
- Microsoft.Native.Quic.MsQuic.OpenSSL (NuGet): affected from 2.2.0; fixed in 2.2.7
- Microsoft.Native.Quic.MsQuic.OpenSSL (NuGet): affected from 2.3.0; fixed in 2.3.5
- Microsoft.Native.Quic.MsQuic.OpenSSL (NuGet): affected from 2.3.0; fixed in 2.3.5
- Microsoft.Native.Quic.MsQuic.Schannel (NuGet): affected all versions; fixed in 2.1.12
- Microsoft.Native.Quic.MsQuic.Schannel (NuGet): affected all versions; fixed in 2.1.12
- Microsoft.Native.Quic.MsQuic.Schannel (NuGet): affected from 2.2.0; fixed in 2.2.7
- Microsoft.Native.Quic.MsQuic.Schannel (NuGet): affected from 2.2.0; fixed in 2.2.7
- Microsoft.Native.Quic.MsQuic.Schannel (NuGet): affected from 2.3.0; fixed in 2.3.5
- Microsoft.Native.Quic.MsQuic.Schannel (NuGet): affected from 2.3.0; fixed in 2.3.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/GHSA-2x7m-gf85-3745/ (Markdown: https://insights.sbomify.com/GHSA-2x7m-gf85-3745/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-2x7m-gf85-3745

---
From sbomify Insights: https://insights.sbomify.com/GHSA-2x7m-gf85-3745/
Summaries are generated and may contain mistakes; the official description above is the record.
