{"id":"CVE-2023-50463","aliases":["CVE-2023-50463","GHSA-rxg9-hgq7-8pwx","GO-2023-2394"],"related":[],"kind":"vulnerability","state":"published","title":"Header spoofing in caddy-geo-ip","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","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).","source":"cvelist"},{"lang":"en","text":"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).","format":"markdown","source":"go"},{"lang":"es","text":"El middleware caddy-geo-ip (también conocido como GeoIP) hasta la versión 0.6.0 para Caddy 2, cuando se utiliza trust_header X-Forwarded-For, permite a los atacantes falsificar su dirección IP de origen a través de un encabezado X-Forwarded-For, que puede eludir un mecanismo de protección (directiva Trusted_proxy en Reverse_Proxy o restricciones de rango de direcciones IP).","source":"nvd"}],"published":"2023-12-10T00:00:00.000Z","modified":"2026-06-17T06:39:42.073Z","severity":{"scorer":"NVD","scheme":"CVSS: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,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"MEDIUM"}],"cwes":["CWE-290"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.6.0"}],"ecosystem":"Go","package":"github.com/shift72/caddy-geo-ip","purl":"pkg:golang/github.com/shift72/caddy-geo-ip","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/shift72/caddy-geo-ip","purl":"pkg:golang/github.com/shift72/caddy-geo-ip","source":"go"},{"ranges":[{"status":"affected","lastAffected":"0.6.0"}],"vendor":"caddyserver","product":"caddy","cpe":"cpe:2.3:a:caddyserver:caddy:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/shift72/caddy-geo-ip/issues/4","tags":["report","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/shift72/caddy-geo-ip/tags","tags":["release-notes","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://caddyserver.com/v2","tags":["broken-link","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50463","tags":["advisory"],"sources":["ghsa","go"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-50463","url":"https://www.cve.org/CVERecord?id=CVE-2023-50463","licence":"CVE Terms of Use","modified":"2024-08-02T22:16:46.761Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rxg9-hgq7-8pwx","url":"https://github.com/advisories/GHSA-rxg9-hgq7-8pwx","licence":"CC-BY-4.0","modified":"2024-01-02T18:56:29.026Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2023-2394","url":"https://pkg.go.dev/vuln/GO-2023-2394","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-50463","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50463","licence":"Public domain","modified":"2026-06-17T06:39:42.073Z"}],"updatedAt":"2026-11-25T22:58:31.190Z","epss":{"score":0.00655,"percentile":0.52653,"date":"2026-12-01T12:00:22.000Z"}}