GHSA-rxg9-hgq7-8pwx
Header spoofing in caddy-geo-ip
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/shift72/caddy-geo-ip | <= 0.6.0 | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain text).
The caddy-geo-ip (aka GeoIP) middleware through 0.6.0 for Caddy 2, when trust_header X-Forwarded-For is used, allows attackers to spoof their source IP address via an X-Forwarded-For header, which may bypass a protection mechanism (trusted_proxy directive in reverse_proxy or IP address range restrictions).
References
External links from the advisory. They lead to third-party sites.