GHSA-QV38-P6HV-9756
Out-of-order streaming: a synchronous render error inside `<Pending>` becomes an unhandled promise rejection and terminates the Node.js server process
Texto original en inglés · Ver en español
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-QV38-P6HV-9756 divulgada · CVSS 5.9 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Denial of service in Qwik out-of-order streaming
Summary
Qwik’s out-of-order streaming can leave a rejected rendering promise temporarily unhandled. Under Node.js’s default unhandled-rejection behavior, this can terminate the server process.
An unauthenticated attacker can trigger the failure if request-controlled input causes a component to throw synchronously during server-side rendering inside an affected `<Pending>` boundary.
Affected configuration
Reported in Qwik 2.0.0-rc.3 with the experimental `pendingBoundary` feature enabled, out-of-order streaming active, and no enclosing `<Catch>` boundary.
Impact
A single crafted request can terminate the affected server process and interrupt all requests it handles. Repeated requests may cause sustained denial of service, including when a process manager automatically restarts the server.
Remediation
Ensure queued rendering promises have rejection handlers attached immediately while preserving subsequent rendering error handling.
Applications can mitigate the issue by wrapping affected boundaries in `<Catch>` or disabling out-of-order streaming.
Weakness: CWE-248 — Uncaught Exception.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npm@qwik.dev/core |
Sin parche | — | — | 0.0.0 afectada |
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/QwikDev/qwik/security/advisories/GHSA-qv38-p6hv-9756Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
