GitHub Advisory Database
GHSA-47p6-69vm-vw6v
@koa/router has an Access Control Bypass
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | @koa/router | From 14.0.0 before 15.0.0 (fixed in 15.0.0) |