CVE-2023-36435: Microsoft.Native.Quic.MsQuic.OpenSSL Denial of Service Vulnerability

HIGH
Advisory Identifier: GHSA-fr44-546p-7xcp
CVSS 7.5
CWE-400 CWE-401
Published
Advisory Summary

CVE-2023-36435 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Microsoft.Native.Quic.MsQuic.OpenSSL libraries in the NuGet ecosystem. The issue involves msquic remote denial of service vulnerability. Remediation is available by upgrading affected packages to version 2.2.3.

CVE-2023-36435 at a Glance

CVE Identifier CVE-2023-36435
GHSA Identifier GHSA-fr44-546p-7xcp
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Microsoft.Native.Quic.MsQuic.OpenSSL
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2023-36435

To remediate this vulnerability, upgrade all affected Microsoft.Native.Quic.MsQuic.OpenSSL dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Microsoft.Native.Quic.MsQuic.OpenSSL fixed: 2.2.3
Upgrade Microsoft.Native.Quic.MsQuic.OpenSSL to 2.2.3
Microsoft.Native.Quic.MsQuic.Schannel fixed: 2.2.3
Upgrade Microsoft.Native.Quic.MsQuic.Schannel to 2.2.3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for Microsoft.Native.Quic.MsQuic.OpenSSL

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-36435, inspect your project dependencies for Microsoft.Native.Quic.MsQuic.OpenSSL:

inspect dependencies for Microsoft.Native.Quic.MsQuic.OpenSSL

Analyze the terminal output to locate any version of Microsoft.Native.Quic.MsQuic.OpenSSL in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.2.3), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Microsoft.Native.Quic.MsQuic.OpenSSL, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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/d364feeda0dd8b729eca6fef149c1ef98630f0cb ### Workarounds Beyond upgrading to the patched versions, there is no other workaround.

CVE-2023-36435 Affected Microsoft.Native.Quic.MsQuic.OpenSSL Versions

2 component(s)
Fixed Versions:
2.2.3
Product / Package Ecosystem Affected Versions Fixed Version
Microsoft.Native.Quic.MsQuic.OpenSSL
NuGet
< 2.2.3
2.2.3
Microsoft.Native.Quic.MsQuic.Schannel
NuGet
< 2.2.3
2.2.3

References

Frequently Asked Questions

What is CVE-2023-36435?
CVE-2023-36435 is a security vulnerability in Microsoft.Native.Quic.MsQuic.OpenSSL involving MsQuic Remote Denial of Service Vulnerability under CWE-400: Uncontrolled Resource Consumption.
Which Microsoft.Native.Quic.MsQuic.OpenSSL versions are affected?
Affected versions include releases prior to 2.2.3 across affected packages: Microsoft.Native.Quic.MsQuic.OpenSSL, Microsoft.Native.Quic.MsQuic.Schannel.
What version fixes CVE-2023-36435?
Upgrading to 2.2.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Microsoft.Native.Quic.MsQuic.OpenSSL affected?
Yes, Microsoft.Native.Quic.MsQuic.OpenSSL is affected in releases prior to 2.2.3. Upgrade your dependency to 2.2.3 or later.
Is Microsoft.Native.Quic.MsQuic.Schannel affected?
Yes, Microsoft.Native.Quic.MsQuic.Schannel is affected in releases prior to 2.2.3. Upgrade your dependency to 2.2.3 or later.
What is the CVSS score of CVE-2023-36435?
CVE-2023-36435 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2023-36435?
CVE-2023-36435 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check NuGet dependencies for CVE-2023-36435?
Run the dependency tree command: 'inspect dependencies for Microsoft.Native.Quic.MsQuic.OpenSSL'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-fr44-546p-7xcp",
  "modified" : "2024-06-03T18:31:15Z",
  "published" : "2023-10-10T22:23:28Z",
  "aliases" : [ "CVE-2023-36435" ],
  "summary" : "MsQuic Remote Denial of Service Vulnerability",
  "details" : "### Impact\nThe MsQuic server will continue to leak memory until no more is available, resulting in a denial of service.\n\n### Patches\nThe following patch was made:\n\n- Fix Memory Leak from Multiple Decodes of TP - https://github.com/microsoft/msquic/commit/d364feeda0dd8b729eca6fef149c1ef98630f0cb\n\n### Workarounds\nBeyond upgrading to the patched versions, there is no other workaround.\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.Native.Quic.MsQuic.OpenSSL"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.2.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.Native.Quic.MsQuic.Schannel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.2.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/microsoft/msquic/security/advisories/GHSA-fr44-546p-7xcp"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-36435"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/microsoft/msquic/commit/d364feeda0dd8b729eca6fef149c1ef98630f0cb"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/microsoft/msquic"
  }, {
    "type" : "WEB",
    "url" : "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-36435"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400", "CWE-401" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-10-10T22:23:28Z",
    "nvd_published_at" : "2023-10-10T18:15:12Z"
  }
}