Vulnérabilité dans @astrojs/node (CVE-2026-102984)
Résumé
Vulnérabilité dans @astrojs/node (CVE-2026-102984). Risque d'opérations non autorisées ou de divulgation. Exploitable via Host. Atténuation : mise à jour vers 11.1.3 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
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 returns500 Internal Server Errorand the server continues running. - With the opt-in
staticHeaders: trueoption: the throw reaches a synchronous HTTP handler that does not catch it, becoming anuncaughtExceptionthat 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…
Source: NIST National Vulnerability Database NVD GitHub Advisory
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2026-102984 a été découverte dans @astrojs/node.
Des attaquants peuvent cibler un point d'entrée spécifique comme Host à distance pour détourner le produit.
Risque d'opérations non autorisées ou de divulgation.
Action : mettez à jour @astrojs/node vers 11.1.3 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « @astrojs/node CVE-2026-102984 » sur le site de l'éditeur.
CVE-2026-102984 (@astrojs/node) — CWE-248
Surface d'attaque : Host / standalone / uncaughtException
Correctif : 11.1.3 — appliquer immédiatement
Contournement : Upgrade to @astrojs/node 11.1.3 or later.
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une vulnérabilité (CWE-248) affecte @astrojs/node. Les attaquants atteignent le code vulnérable via Host.
Consultez l'avis de l'éditeur pour les versions affectées de @astrojs/node. Surface d'attaque : Host / standalone / uncaughtException.
Gravité : ?. Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers 11.1.3.
Contournement : Upgrade to @astrojs/node 11.1.3 or later.
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r '@astrojs/node' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
@astrojs/nodeを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply temporary workaround mitigate
Upgrade to `@astrojs/node` 11.1.3 or later.パッチが適用されるまでの応急処置として、Upgrade to
@astrojs/node11.1.3 or later. を実施。回避策の副作用 (機能低下) を確認した上で。 -
3Apply patch patch
Upgrade @astrojs/node to 11.1.3ステージング環境で 11.1.3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- web github.com
- web github.com
- web github.com
- web github.com
- web nvd.nist.gov
- web github.com