
PEACH
Un cadre d’isolation des locataires
TrieRouter did not group the regular expression of a constrained path parameter. When the expression had an alternation, a path that only started or ended with one of the alternatives also matched. As a result, except() in hono/combine could skip a middleware for paths that the application did not mean to exclude.
A path parameter can have a regular expression, and the expression may list alternatives. TrieRouter added the start and end anchors without grouping the expression. Because of this, the start anchor applied only to the first alternative and the end anchor applied only to the last one.
except() always uses TrieRouter to check its path conditions, so this affects applications that use any router. When a condition matched too many paths, the middleware passed to except() did not run for them, and the request reached a route with a wider pattern.
A route registered on TrieRouter with such a parameter also matched these paths. This is corrected by the same change.
This issue arises when applications pass a path condition with an alternation in a constrained parameter to except(), and a wider route handles the same paths.
An unauthenticated client may reach a route without running the middleware passed to except().
This may lead to:
except() with an alternation in a constrained parameter. The impact depends on the route that is reached.Source: NVD
Évaluation gratuite des vulnérabilités
É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.
Obtenez une démo personnalisée
"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."