Echo: Rejected WebSocket upgrades can bypass Echo route-level access controls
What to do
- Upgrade to a fixed version: github.com/labstack/echo/v4 4.16.1, github.com/labstack/echo/v5 5.4.1.
- Redeploy and restart long-running processes so they load the fixed code.
Affected packages
github.com/labstack/echo/v4
- >= 4.0.0, < 4.16.1
- 4.16.1
Check your project: go list -m all | grep github.com/labstack/echo/v4
github.com/labstack/echo/v5
- >= 5.0.0, < 5.4.1
- 5.4.1
Check your project: go list -m all | grep github.com/labstack/echo/v5
What changed
Published in the GitHub Advisory Database as critical.