Fiber has a Denial of Service Vulnerability via Route Parameter Overflow
gofiber fiber
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/gofiber/fiber/v2 Go |
|
|
| github.com/gofiber/fiber/v3 Go |
|
|
gofiber fiber
| Product | Affected | Fixed in |
|---|---|---|
| github.com/gofiber/fiber/v2 Go |
|
|
| github.com/gofiber/fiber/v3 Go |
|
|
Fiber is an Express inspired web framework written in Go. A denial of service vulnerability exists in Fiber v2 and v3 that allows remote attackers to crash the application by sending requests to routes with more than 30 parameters. The vulnerability results from missing validation during route registration combined with an unbounded array write during request matching. Version 2.52.12 patches the issue in the v2 branch and 3.1.0 patches the issue in the v3 branch.
From the CVE record · GitHub_M
Fiber v2 and v3 are vulnerable to an application crash involving routes with more than 30 parameters. A remote attacker can trigger the crash by sending requests to those routes; the issue stems from missing validation during route registration and an unbounded array write during request matching. No authentication or user interaction is specified.
Engineers running Go package github.com/gofiber/fiber/v2 before 2.52.12 or github.com/gofiber/fiber/v3 before 3.1.0 should check their deployments.