llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · @astrojs/node

GHSA-QH8J-HQJV-7M4X

Astro: Malformed port in the Host header can crash the Node adapter

Parche disponible
Descargar PNG JSON
CVSS
—
high
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -43 d de la divulgación
Exposición51 dDesde la divulgación, 30 sept 2026, 6:29 p. m.
Detección47 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Explotación
Remediación
Parche 11.1.3
Monitoreo
Detectada
18 ago 26
30 sept 26
17 nov 26
21 nov 26
18 ago 26
11 sept 26
5 oct 26
28 oct 26
21 nov 26
FechaFaseEventoDetalle
Remediación Parche 11.1.3 @astrojs/node · -43 d desde divulgación
Divulgación Publicada GHSA-QH8J-HQJV-7M4X divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

Summary

In the Astro Node adapter, a request whose `Host` header contains a malformed port (for example `example.com:65536` or `example.com:8080:8080`) produced an invalid request URL. The fallback intended to recover from an unparseable URL reused the same malformed host, so it failed again and raised an uncaught `TypeError: Invalid URL` while the request was being built, before any route ran.

Impact

The effect depends on the adapter configuration:

  • Default configuration (`standalone`): the request returns `500 Internal Server Error` and the server continues running.
  • With the opt-in `staticHeaders: true` option: the throw reaches a synchronous HTTP handler that does not catch it, becoming an `uncaughtException` that terminates the process.

This is an availability-only issue. It does not expose data or allow code execution. Triggering it requires sending a hand-crafted `Host` header, and many proxies and CDNs reject malformed hosts before they reach the origin.

Affected versions

`@astrojs/node` <= 11.1.2.

Patches

Fixed in `@astrojs/node` 11.1.3. When the incoming host cannot be parsed, the request URL now degrades to a host the server controls, so the request is handled instead of throwing. Hosts carrying more than a single `hostname:port` pair are also rejected during host validation.

Workarounds

Upgrade to `@astrojs/node` 11.1.3 or later. Deployments that terminate malformed `Host` headers at a reverse proxy or CDN are not reachable through this path.

Credits

Reported by @Celggar.

Versiones

Rangos afectados

Afectada Corregida Última
@astrojs/node< 11.1.3
11.1.3
11.1.13
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npm@astrojs/node
Corregida 11.1.3 -43 d 11.1.13 no afectada
Versiones corregidas11.1.3
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-102984
Otrahttps://github.com/withastro/astro/security/advisories/GHSA-qh8j-hqjv-7m4x
Otrahttps://github.com/withastro/astro/pull/17572
Otrahttps://github.com/withastro/astro/commit/2066f39c60707a100531b4ef4bb5dab8feafa7f2
Otrahttps://github.com/withastro/astro
Otrahttps://github.com/withastro/astro/releases/tag/@astrojs/node@11.1.3

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.