CVE-2024-1765: Quiche Remote Code Execution Vulnerability
MODERATECVE-2024-1765 is a MODERATE (CVSS 5.9) remote code execution vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Quiche libraries in the crates.io ecosystem. The issue involves quiche vulnerable to unlimited resource allocation by quic crypto frames flooding. Remediation is available by upgrading affected packages to version 0.19.2, 0.20.1.
CVE-2024-1765 at a Glance
Security Impact
CVSS: 5.9
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:H).
How to Fix CVE-2024-1765
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.
Upgrade quiche to 0.19.2
Upgrade quiche to 0.20.1
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-1765, 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
CVE-2024-1765 Affected Quiche Versions
2 component(s)| 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-1765?
Which Quiche versions are affected?
What version fixes CVE-2024-1765?
Is quiche affected?
What is the CVSS score of CVE-2024-1765?
What CWE is associated with CVE-2024-1765?
How can I check crates.io dependencies for CVE-2024-1765?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-78wx-jg4j-5j6g",
"modified" : "2024-03-13T15:39:41Z",
"published" : "2024-03-13T15:39:40Z",
"aliases" : [ "CVE-2024-1765" ],
"summary" : "quiche vulnerable to unlimited resource allocation by QUIC CRYPTO frames flooding",
"details" : "### Impact\n\nCloudflare Quiche (through version 0.19.1/0.20.0) was affected by an unlimited resource allocation vulnerability causing rapid increase of memory usage of the system running quiche server or client.\n\nA remote attacker could take advantage of this vulnerability by repeatedly sending an unlimited number of 1-RTT CRYPTO frames after previously completing the QUIC handshake.\nExploitation was possible for the duration of the connection which could be extended by the attacker.\n\n### Patches\n\nQuiche 0.19.2 and 0.20.1 are the earliest versions containing the fix for this issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"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-78wx-jg4j-5j6g"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-1765"
}, {
"type" : "WEB",
"url" : "https://github.com/cloudflare/quiche/commit/1017466c143fc93a82b286a1ba35e53334cdf8e2"
}, {
"type" : "WEB",
"url" : "https://github.com/cloudflare/quiche/commit/11dbf5461ab657bbc02e466d719070124b27ef3c"
}, {
"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" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-03-13T15:39:40Z",
"nvd_published_at" : "2024-03-12T18:15:07Z"
}
}