Description
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.
Problem types
CWE-129: Improper Validation of Array Index
Product status
>= 3.0.0, < 3.1.0
References
github.com/.../fiber/security/advisories/GHSA-mrq8-rjmw-wpq3
github.com/gofiber/fiber/pull/3962
github.com/gofiber/fiber/blob/main/path.go
github.com/gofiber/fiber/blob/v2/path.go