Search
Find a vulnerability
Search criteria
Related vulnerabilities
RUSTSEC-2024-0003 (GHSA-8R5V-VM4M-4G25)
Vulnerability from osv_rustsec – Published: 2024-01-17 12:00 – Updated: 2024-02-10 15:57 – Source website
VLAI
Summary
Resource exhaustion vulnerability in h2 may lead to Denial of Service (DoS)
Details
An attacker with an HTTP/2 connection to an affected endpoint can send a steady stream of invalid frames to force the generation of reset frames on the victim endpoint. By closing their recv window, the attacker could then force these resets to be queued in an unbounded fashion, resulting in Out Of Memory (OOM) and high CPU usage.
This fix is corrected in hyperium/h2#737, which limits the total number of internal error resets emitted by default before the connection is closed.
References
| URL | Type | |
|---|---|---|
{
"affected": [
{
"database_specific": {
"categories": [
"denial-of-service"
],
"cvss": null,
"informational": null
},
"ecosystem_specific": {
"affected_functions": null,
"affects": {
"arch": [],
"functions": [],
"os": []
}
},
"package": {
"ecosystem": "crates.io",
"name": "h2",
"purl": "pkg:cargo/h2"
},
"ranges": [
{
"events": [
{
"introduced": "0.0.0-0"
},
{
"fixed": "0.3.24"
},
{
"introduced": "0.4.0-0"
},
{
"fixed": "0.4.2"
}
],
"type": "SEMVER"
}
],
"versions": []
}
],
"aliases": [
"GHSA-8r5v-vm4m-4g25"
],
"database_specific": {
"license": "CC0-1.0"
},
"details": "An attacker with an HTTP/2 connection to an affected endpoint can send a steady stream of invalid frames to force the\ngeneration of reset frames on the victim endpoint.\nBy closing their recv window, the attacker could then force these resets to be queued in an unbounded fashion,\nresulting in Out Of Memory (OOM) and high CPU usage.\n\nThis fix is corrected in [hyperium/h2#737](https://github.com/hyperium/h2/pull/737), which limits the total number of\ninternal error resets emitted by default before the connection is closed.",
"id": "RUSTSEC-2024-0003",
"modified": "2024-02-10T15:57:43Z",
"published": "2024-01-17T12:00:00Z",
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/h2"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2024-0003.html"
},
{
"type": "ADVISORY",
"url": "https://github.com/Netflix/security-bulletins/blob/master/advisories/third-party/2019-002.md"
}
],
"related": [
"CVE-2019-9514"
],
"severity": [],
"summary": "Resource exhaustion vulnerability in h2 may lead to Denial of Service (DoS)"
}