CVE-2024-1410: Quiche Quiche Vulnerable To Unbounded Storage Vulnerability

LOW
Advisory Identifier: GHSA-xhg9-xwch-vr7x
CVSS 3.7
CWE-400
Published
Advisory Summary

CVE-2024-1410 is a LOW (CVSS 3.7) quiche vulnerable to unbounded storage vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Quiche libraries in the crates.io ecosystem. The issue involves quiche vulnerable to unbounded storage of information related to connection id retirement. Remediation is available by upgrading affected packages to version 0.19.2, 0.20.1.

CVE-2024-1410 at a Glance

CVE Identifier CVE-2024-1410
GHSA Identifier GHSA-xhg9-xwch-vr7x
Severity LOW
CVSS v3.1 Base Score 3.7
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Quiche
Package Ecosystem crates.io
Published Date
Last Updated

Security Impact

CVSS: 3.7

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

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
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-2024-1410

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.2
Upgrade quiche to 0.19.2
quiche fixed: 0.20.1
Upgrade quiche to 0.20.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-2024-1410, 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.2), 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 Cloudflare quiche was discovered to be vulnerable to unbounded storage of information related to connection ID retirement, which could lead to excessive resource consumption. Each QUIC connection possesses a set of connection Identifiers (IDs); see [RFC 9000 Section 5.1](https://datatracker.ietf.org/doc/html/rfc9000#section-5.1). Endpoints declare the number of active connection IDs they are willing to support using the active_connection_id_limit transport parameter. The peer can create new IDs using a NEW_CONNECTION_ID frame but must stay within the active ID limit. This is done by retirement of old IDs, the endpoint sends NEW_CONNECTION_ID includes a value in the retire_prior_to field, which elicits a RETIRE_CONNECTION_ID frame as confirmation. An unauthenticated remote attacker can exploit the vulnerability by sending NEW_CONNECTION_ID frames and manipulating the connection (e.g. by restricting the peer's congestion window size) so that RETIRE_CONNECTION_ID frames can only be sent at a slower rate than they are received, leading to storage of information related to connection IDs in an unbounded queue. ### Patches Quiche versions 0.19.2 and 0.20.1 are the earliest to address this problem. There is no workaround for affected versions.

CVE-2024-1410 Affected Quiche Versions

2 component(s)
Fixed Versions:
0.19.20.20.1
Product / Package Ecosystem Affected Versions Fixed Version
quiche
crates.io
< 0.19.2
0.19.2
quiche
crates.io
≥ 0.20.0
< 0.20.1
0.20.1

References

Frequently Asked Questions

What is CVE-2024-1410?
CVE-2024-1410 is a security vulnerability in Quiche involving quiche vulnerable to unbounded storage of information related to connection ID retirement under CWE-400: Uncontrolled Resource Consumption.
Which Quiche versions are affected?
Affected versions include releases prior to 0.19.2, 0.20.1 across affected packages: quiche.
What version fixes CVE-2024-1410?
Upgrading to 0.19.2, 0.20.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.2, 0.20.1. Upgrade your dependency to 0.19.2, 0.20.1 or later.
What is the CVSS score of CVE-2024-1410?
CVE-2024-1410 has a CVSS v3.1 base score of 3.7 (LOW) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L.
What CWE is associated with CVE-2024-1410?
CVE-2024-1410 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-2024-1410?
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-xhg9-xwch-vr7x",
  "modified" : "2024-03-13T15:38:21Z",
  "published" : "2024-03-13T15:38:21Z",
  "aliases" : [ "CVE-2024-1410" ],
  "summary" : "quiche vulnerable to unbounded storage of information related to connection ID retirement",
  "details" : "### Impact\n\nCloudflare quiche was discovered to be vulnerable to unbounded storage of information related to connection ID retirement, which could lead to excessive resource consumption. Each QUIC connection possesses a set of connection Identifiers (IDs); see [RFC 9000 Section 5.1](https://datatracker.ietf.org/doc/html/rfc9000#section-5.1). Endpoints declare the number of active connection IDs they are willing to support using the active_connection_id_limit transport parameter. The peer can create new IDs using a NEW_CONNECTION_ID frame but must stay within the active ID limit. This is done by retirement of old IDs, the endpoint sends NEW_CONNECTION_ID includes a value in the retire_prior_to field, which elicits a RETIRE_CONNECTION_ID frame as confirmation. An unauthenticated remote attacker can exploit the vulnerability by sending NEW_CONNECTION_ID frames and manipulating the connection (e.g. by restricting the peer's congestion window size) so that RETIRE_CONNECTION_ID frames can only be sent at a slower rate than they are received, leading to storage of information related to connection IDs in an unbounded queue. \n\n### Patches\n\nQuiche versions 0.19.2 and 0.20.1 are the earliest to address this problem. There is no workaround for affected versions.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/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"
      }, {
        "fixed" : "0.19.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "quiche"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.20.0"
      }, {
        "fixed" : "0.20.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/cloudflare/quiche/security/advisories/GHSA-xhg9-xwch-vr7x"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-1410"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cloudflare/quiche/commit/0c5733a84c41e9e178adc866b11ce59ac264f5af"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cloudflare/quiche/commit/5be8143126f8cfa8a483d4a5ae475b9a46053fa1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cloudflare/quiche/commit/7ab42af5f5e97f20f1d63b7ea2f9ab0536678c40"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cloudflare/quiche/commit/a983998c4408605905ee9a6ab0fc00e68436ac67"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/cloudflare/quiche"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cloudflare/quiche/releases/tag/0.19.2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cloudflare/quiche/releases/tag/0.20.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-03-13T15:38:21Z",
    "nvd_published_at" : "2024-03-12T18:15:07Z"
  }
}