{"cve":"CVE-2023-50463","nvd":{"published":"2023-12-10T23:15:07.247","modified":"2026-06-17T06:39:42.073","status":"Modified","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).","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5},"cwes":["CWE-290"],"references":["https://caddyserver.com/v2","https://github.com/shift72/caddy-geo-ip/issues/4","https://github.com/shift72/caddy-geo-ip/tags","https://caddyserver.com/v2","https://github.com/shift72/caddy-geo-ip/issues/4"],"products":["caddyserver:caddy"],"source":"nvd","synced_at":"2026-10-19T21:42:34.585441961+00:00"},"epss":{"cve":"CVE-2023-50463","score":0.00655,"percentile":0.5138,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-rxg9-hgq7-8pwx","url":"https://osv.dev/vulnerability/GHSA-rxg9-hgq7-8pwx","summary":"Header spoofing in caddy-geo-ip","modified":"2024-01-02T18:56:29.026970Z","packages":[{"ecosystem":"Go","name":"github.com/shift72/caddy-geo-ip","purl":"pkg:golang/github.com/shift72/caddy-geo-ip","ranges":["<=0.6.0"],"fixed":[]}]},{"id":"GO-2023-2394","url":"https://osv.dev/vulnerability/GO-2023-2394","summary":"Spoofed source IP address in github.com/shift72/caddy-geo-ip","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"github.com/shift72/caddy-geo-ip","purl":"pkg:golang/github.com/shift72/caddy-geo-ip","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}