65 行
2.9 KiB
JSON
65 行
2.9 KiB
JSON
{
|
|
"canonical_id": "undici--CVE-2026-1526",
|
|
"system_id": "undici",
|
|
"display_name": "Undici",
|
|
"category": "frameworks",
|
|
"advisory_mode": "core",
|
|
"title": "Undici has Unbounded Memory Consumption in WebSocket permessage-deflate Decompression",
|
|
"summary": "## Description\n\nThe undici WebSocket client is vulnerable to a denial-of-service attack via unbounded memory consumption during permessage-deflate decompression. When a WebSocket connection negotiates the permessage-deflate extension, the client decompresses incoming compressed frames without enforcing any limit on the decompressed data size. A malicious WebSocket server can send a small compressed frame (a \"decompression bomb\") that expands to an extremely large size in memory, causing the Node.js process to exhaust available memory and crash or become unresponsive.\n\nThe vulnerability exists in the `PerMessageDeflate.decompress()` method, which accumulates all decompressed chunks in memory and concatenates them into a single Buffer without checking whether the total size exceeds a safe threshold.\n\n## Impact\n\n- Remote denial of service against any Node.js application using undici's WebSocket client\n- A single compressed WebSocket frame of ~6 MB can decompress to ~1 GB or more\n- Memory exhaustion occurs in native/external memory, bypassing V8 heap limits\n- No application-level mitigation is possible as decompression occurs before message delivery\n\n### Patches\n\nUsers should upgrade to fixed versions.\n\n### Workarounds\n\nNo workaround are possible.",
|
|
"published_at": "2026-03-13T20:41:56Z",
|
|
"updated_at": "2026-03-13T20:54:25.563997Z",
|
|
"severity": "low",
|
|
"cvss_score": 3.1,
|
|
"exploit_status": "unknown",
|
|
"source_confidence": "official",
|
|
"official_source_url": "https://github.com/nodejs/undici/security/advisories/GHSA-vrm6-8vpv-qv8q",
|
|
"secondary_source_urls": [
|
|
"https://nvd.nist.gov/vuln/detail/CVE-2026-1526",
|
|
"https://hackerone.com/reports/3481206",
|
|
"https://cna.openjsf.org/security-advisories.html",
|
|
"https://datatracker.ietf.org/doc/html/rfc7692",
|
|
"https://github.com/nodejs/undici",
|
|
"https://owasp.org/www-community/attacks/Denial_of_Service"
|
|
],
|
|
"aliases": [
|
|
"CVE-2026-1526",
|
|
"GHSA-vrm6-8vpv-qv8q"
|
|
],
|
|
"cve_ids": [
|
|
"CVE-2026-1526"
|
|
],
|
|
"ghsa_ids": [
|
|
"GHSA-vrm6-8vpv-qv8q"
|
|
],
|
|
"osv_ids": [
|
|
"GHSA-vrm6-8vpv-qv8q"
|
|
],
|
|
"affected_versions": [
|
|
"introduced=0, fixed<6.24.0",
|
|
"introduced=7.0.0, fixed<7.24.0"
|
|
],
|
|
"fixed_versions": [
|
|
"6.24.0",
|
|
"7.24.0"
|
|
],
|
|
"package_name": "undici",
|
|
"render_markdown": true,
|
|
"case_path": "07-framework-security/frameworks/undici/cases/undici-cve-2026-1526.md",
|
|
"secure_code_topics": [
|
|
"ssrf-url-validation",
|
|
"proxy-trust-boundary",
|
|
"plugin-extension-trust-policy"
|
|
],
|
|
"status": "generated",
|
|
"triage_reasons": [],
|
|
"metadata": {
|
|
"source_names": [
|
|
"OSV Undici"
|
|
],
|
|
"source_kinds": [
|
|
"osv-batch"
|
|
],
|
|
"candidate_count": 1
|
|
}
|
|
}
|