Go Vulnerability Database
GO-2026-6875
Reverse Proxy Forwards Attacker-Supplied X-Real-IP to Upstream by Default in github.com/labstack/echo
Details
Reverse Proxy Forwards Attacker-Supplied X-Real-IP to Upstream by Default in github.com/labstack/echo
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/labstack/echo/v4 | From 4.0.0 before 4.16.3 (fixed in 4.16.3) |
| Go | github.com/labstack/echo/v5 | All versions before 5.4.0 (fixed in 5.4.0) |
References
- https://github.com/labstack/echo/security/advisories/GHSA-99jh-6h7p-pp36
- https://github.com/labstack/echo/commit/ebbb855f5827b76fb206e267dd91d020000baf66
- https://github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5af
- https://github.com/labstack/echo/releases/tag/v4.16.3
- https://github.com/labstack/echo/releases/tag/v5.4.0