CVE-2023-6193: Quiche Unbounded Queuing Of Path Validation Vulnerability

MODERATE
Advisory Identifier: GHSA-w3vp-jw9m-f9pm
CVSS 5.3
CWE-400
Published
Advisory Summary

CVE-2023-6193 is a MODERATE (CVSS 5.3) unbounded queuing of path validation vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Quiche libraries in the crates.io ecosystem. The issue involves unbounded queuing of path validation messages in cloudflare-quiche. Remediation is available by upgrading affected packages to version 0.19.1.

CVE-2023-6193 at a Glance

CVE Identifier CVE-2023-6193
GHSA Identifier GHSA-w3vp-jw9m-f9pm
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Quiche
Package Ecosystem crates.io
Published Date
Last Updated

Security Impact

CVSS: 5.3

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:L).

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 Low (A:L)

How to Fix CVE-2023-6193

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

quiche fixed: 0.19.1
Upgrade quiche to 0.19.1
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 quiche

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-6193, inspect your project dependencies for Quiche:

inspect dependencies for quiche

Analyze the terminal output to locate any version of Quiche in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.19.1), 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 Quiche, 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 quiche v. 0.15.0 through 0.19.0 was discovered to be vulnerable to unbounded queuing of path validation messages, which could lead to excessive resource consumption. QUIC path validation ([RFC 9000 Section 8.2](https://datatracker.ietf.org/doc/html/rfc9000#section-8.2)) requires that the recipient of a PATH_CHALLENGE frame responds by sending a PATH_RESPONSE. An unauthenticated remote attacker can exploit the vulnerability by sending PATH_CHALLENGE frames and manipulating the connection (e.g. by restricting the peer's congestion window size) so that PATH_RESPONSE frames can only be sent at the slower rate than they are received, leading to storage of path validation data in an unbounded queue. ### Patches Quiche versions greater than 0.19.0 address this problem. ### References [CVE-2023-6193](https://www.cve.org/CVERecord?id=CVE-2023-6193) [RFC 9000 Section 8.2](https://datatracker.ietf.org/doc/html/rfc9000#section-8.2)

CVE-2023-6193 Affected Quiche Versions

1 component(s)
Fixed Versions:
0.19.1
Product / Package Ecosystem Affected Versions Fixed Version
quiche
crates.io
≥ 0.15.0
< 0.19.1
0.19.1

References

Frequently Asked Questions

What is CVE-2023-6193?
CVE-2023-6193 is a security vulnerability in Quiche involving Unbounded queuing of path validation messages in cloudflare-quiche under CWE-400: Uncontrolled Resource Consumption.
Which Quiche versions are affected?
Affected versions include releases prior to 0.19.1 across affected packages: quiche.
What version fixes CVE-2023-6193?
Upgrading to 0.19.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is quiche affected?
Yes, quiche is affected in releases prior to 0.19.1. Upgrade your dependency to 0.19.1 or later.
What is the CVSS score of CVE-2023-6193?
CVE-2023-6193 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
What CWE is associated with CVE-2023-6193?
CVE-2023-6193 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 crates.io dependencies for CVE-2023-6193?
Run the dependency tree command: 'inspect dependencies for quiche'. 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-w3vp-jw9m-f9pm",
  "modified" : "2023-12-13T13:34:55Z",
  "published" : "2023-12-13T13:34:55Z",
  "aliases" : [ "CVE-2023-6193" ],
  "summary" : "Unbounded queuing of path validation messages in cloudflare-quiche",
  "details" : "### Impact\nquiche v. 0.15.0 through 0.19.0 was discovered to be vulnerable to unbounded queuing of path validation messages, which could lead to excessive resource consumption.\n\nQUIC path validation ([RFC 9000 Section 8.2](https://datatracker.ietf.org/doc/html/rfc9000#section-8.2)) requires that the recipient of a PATH_CHALLENGE frame responds by sending a PATH_RESPONSE. An unauthenticated remote attacker can exploit the vulnerability by sending PATH_CHALLENGE frames and manipulating the connection (e.g. by restricting the peer's congestion window size) so that PATH_RESPONSE frames can only be sent at the slower rate than they are received, leading to storage of path validation data in an unbounded queue.\n\n### Patches\nQuiche versions greater than 0.19.0 address this problem.\n\n### References\n[CVE-2023-6193](https://www.cve.org/CVERecord?id=CVE-2023-6193)\n[RFC 9000 Section 8.2](https://datatracker.ietf.org/doc/html/rfc9000#section-8.2)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "quiche"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.15.0"
      }, {
        "fixed" : "0.19.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/cloudflare/quiche/security/advisories/GHSA-w3vp-jw9m-f9pm"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-6193"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cloudflare/quiche/commit/ea7ecf39ae28ab24cf1785c1674dc2e8a076f9ca"
  }, {
    "type" : "WEB",
    "url" : "https://datatracker.ietf.org/doc/html/rfc9000#section-8.2"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/cloudflare/quiche"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-12-13T13:34:55Z",
    "nvd_published_at" : "2023-12-12T14:15:07Z"
  }
}