{"id":"CVE-2023-50463","aliases":["EUVD-2023-3297","GHSA-rxg9-hgq7-8pwx","GO-2023-2394"],"status":"published","title":"Header spoofing in caddy-geo-ip","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).","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00655,"percentile":0.51662,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-290"],"published":"2023-12-10T00:00:00Z","modified":"2026-10-28T02:30:22Z","affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/shift72/caddy-geo-ip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.6.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/shift72/caddy-geo-ip","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.6.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/shift72/caddy-geo-ip","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}],"products":[{"vendor":"caddyserver","product":"caddy"}],"references":[{"url":"https://github.com/shift72/caddy-geo-ip/issues/4","tags":["x_transferred","Third Party Advisory","report","web"]},{"url":"https://github.com/shift72/caddy-geo-ip/tags","tags":["x_transferred","Release Notes","web"]},{"url":"https://caddyserver.com/v2","tags":["x_transferred","Broken Link","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50463","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-rxg9-hgq7-8pwx"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/50xxx/CVE-2023-50463.json","tags":["advisory"]},{"url":"github.com/shift72/caddy-geo-ip","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-50463","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).","status":"published","published":"2023-12-10T00:00:00Z","modified":"2024-08-02T22:16:46.761Z","updated_at":"2026-11-02T14:35:34.923818Z"}],"euvd":[{"id":"EUVD-2023-3297","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).","status":"published","published":"2023-12-10T00:00:00Z","modified":"2024-08-02T22:16:46Z","updated_at":"2026-11-03T03:49:55.131895Z"}],"ghsa":[{"id":"GHSA-rxg9-hgq7-8pwx","title":"Header spoofing in caddy-geo-ip","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).","status":"published","published":"2023-12-11T00:30:32Z","modified":"2023-12-13T21:34:16Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-290"],"updated_at":"2026-11-02T14:37:25.311671Z"}],"nvd":[{"id":"CVE-2023-50463","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).","status":"published","published":"2023-12-10T23:15:07.247Z","modified":"2026-06-17T06:39:42.073Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-290"],"updated_at":"2026-11-02T14:08:54.010507Z"}],"osv":[{"id":"GHSA-rxg9-hgq7-8pwx","title":"Header spoofing in caddy-geo-ip","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).","status":"published","published":"2023-12-11T00:30:32Z","modified":"2024-01-02T18:56:29.02697Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-290"],"updated_at":"2026-11-02T15:46:56.639206Z"},{"id":"CVE-2023-50463","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).","status":"published","published":"2023-12-10T00:00:00Z","modified":"2026-10-28T02:30:22.623782287Z","updated_at":"2026-11-02T15:44:35.245372Z"},{"id":"GO-2023-2394","title":"Spoofed source IP address in github.com/shift72/caddy-geo-ip","description":"The caddy-geo-ip (aka GeoIP) middleware for Caddy 2 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).","status":"published","published":"2024-01-02T18:32:43Z","modified":"2024-05-20T16:03:47Z","updated_at":"2026-11-02T15:47:01.185262Z"}]}}
