{"id":"CVE-2023-50463","details":"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).","aliases":["GHSA-rxg9-hgq7-8pwx","GO-2023-2394"],"modified":"2026-08-12T03:51:20.233439279Z","published":"2023-12-10T00:00:00Z","database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/50xxx/CVE-2023-50463.json"},"references":[{"type":"WEB","url":"https://caddyserver.com/v2"},{"type":"WEB","url":"https://github.com/shift72/caddy-geo-ip/tags"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/50xxx/CVE-2023-50463.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50463"},{"type":"REPORT","url":"https://github.com/shift72/caddy-geo-ip/issues/4"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/caddyserver/caddy","events":[{"introduced":"0"},{"last_affected":"a5f20829cb87c3474b68e7af4def46e71b8864e0"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"0.6.0"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:caddyserver:caddy:*:*:*:*:*:*:*:*"}},{"type":"GIT","repo":"https://github.com/shift72/caddy-geo-ip","events":[{"introduced":"0"},{"fixed":"d3b139de0004411db8f3c00700c7c61bc7b10ee1"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"0.6.0"}],"source":"DESCRIPTION"}}],"versions":["v0.6.0","v0.5.1","v0.5.0","v0.4.0","v0.3.0","v0.2.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-50463.json"}}],"schema_version":"1.9.0"}