Fiber: X-Real-IP Spoofing via Header.Add() in BalancerForward
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| gofiber | fiber | affected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Gofiber | Fiber |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-gcfq-8gqf-4876 | GoFiber Vulnerable to X-Real-IP Spoofing via Header.Add() in BalancerForward |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.463% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Gofiber
Gofiber fiber |
|
| Vendors & Products |
Gofiber
Gofiber fiber |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | Fiber: X-Real-IP Spoofing via Header.Add() in BalancerForward | |
| Weaknesses | CWE-290 | |
| References |
|
|
| Metrics |
cvssV3_1
|