GHSA-47p6-69vm-vw6v
@koa/router has an Access Control Bypass
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @koa/router | >= 14.0.0, < 15.0.0 | 15.0.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
Versions of the package @koa/router from 14.0.0 and before 15.0.0 are vulnerable to Access Control Bypass due to the middleware being silently dropped from the execution chain when the router prefix contains path parameters. Depending on what the skipped middleware was supposed to protect, an attacker could bypass authentication and authorization, evade rate limiting or bypass input sanitization.
References
External links from the advisory. They lead to third-party sites.