Fiber is an Express inspired web framework written in Go. Prior to 3.3.0 and 2.52.14, the BalancerForward proxy helper in middleware/proxy/proxy.go uses Header.Add() instead of Header.Set() when injecting X-Real-IP, allowing an attacker-supplied first X-Real-IP value to be forwarded to upstream servers for logging, rate limiting, and access control. This issue is fixed in version 3.3.0 and 2.52.14.
Attack Parameters
Impact Assessment
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 2
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Gofiber Fiber
cpe:2.3:a:gofiber:fiber:*:*:*:*:*:go:*:*
|
— |
2.52.14
|
|
Gofiber Fiber
cpe:2.3:a:gofiber:fiber:*:*:*:*:*:go:*:*
|
3.0.0
|
3.3.0
|