
Cloud Vulnerability DB
A community-led vulnerabilities database
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
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."