GHSA-rxg9-hgq7-8pwxMediumCVSS 6.5

Header spoofing in caddy-geo-ip

Published
December 11, 2023
Last Modified
December 13, 2023

🔗 CVE IDs covered (1)

📋 Description

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).

🎯 Affected products1

  • go/github.com/shift72/caddy-geo-ip:<= 0.6.0

🔗 References (5)