GHSA-656w-x92q-369m: 
JavaScript Analyse et atténuation de la vulnérabilité

Summary

TrieRouter looked up the handler of a route by the HTTP method name on a plain object. When the method of a request was the name of an inherited property such as __proto__, the router wrote a property to Object.prototype. As a result, later requests in the same process could fail until the process was restarted.

Details

TrieRouter keeps the handlers of each route in an object keyed by the HTTP method. The object had the default prototype, so a method name such as __proto__ returned an inherited value instead of nothing. The router then treated this value as a matched handler and added a property to it. For __proto__, the value is Object.prototype. The added property is enumerable, so it appears in every plain object in the process. Parts of Hono that iterate over plain objects, such as response header handling, then throw an error. This issue arises when TrieRouter is in use and a method name chosen by the client reaches the router. The default Hono uses TrieRouter when the registered routes are not supported by RegExpRouter. Most runtimes and HTTP/1.1 parsers reject such method names, but they can reach the router over HTTP/2 on Node.js or through the Method Override Middleware.

Impact

An unauthenticated client may make later requests fail with a single request. This may lead to:

  • Error responses for JSON responses and for many other responses until the process is restarted The attacker cannot choose the name or the value of the added property. This issue affects applications that use TrieRouter and accept arbitrary method names, for example with HTTP/2 on Node.js or with hono/method-override. Applications on Cloudflare Workers and Bun are not affected unless they use hono/method-override.

Source: NVD

Connexe JavaScript Vulnérabilités :

CVE ID

Gravité

Partition

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

GHSA-7hh4-7hx5-vxx8HIGH7.7
  • JavaScript logoJavaScript
  • mysql2
NonOuiNov 26, 2026
GHSA-656w-x92q-369mMEDIUM5.9
  • JavaScript logoJavaScript
  • hono
NonOuiNov 26, 2026
GHSA-mhwf-w6q6-q58wMEDIUM5.3
  • JavaScript logoJavaScript
  • hono
NonOuiNov 26, 2026
GHSA-586x-c76g-h528MEDIUM5.3
  • JavaScript logoJavaScript
  • hono
NonOuiNov 26, 2026
GHSA-2qxc-5xj9-7342LOW2.3
  • JavaScript logoJavaScript
  • @logtape/syslog
NonNonNov 26, 2026

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité afin d’évaluer votre niveau de risque et d’identifier les lacunes dans vos défenses.

Évaluation de la demande

Ressources Wiz supplémentaires

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités