{"id":"GHSA-rxg9-hgq7-8pwx","summary":"Header spoofing in caddy-geo-ip","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":["CVE-2023-50463","GO-2023-2394"],"modified":"2024-01-02T18:56:29.026970Z","published":"2023-12-11T00:30:32Z","database_specific":{"github_reviewed_at":"2023-12-11T21:46:50Z","nvd_published_at":"2023-12-10T23:15:07Z","cwe_ids":["CWE-290"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50463"},{"type":"WEB","url":"https://github.com/shift72/caddy-geo-ip/issues/4"},{"type":"WEB","url":"https://caddyserver.com/v2"},{"type":"WEB","url":"https://github.com/shift72/caddy-geo-ip/tags"},{"type":"PACKAGE","url":"github.com/shift72/caddy-geo-ip"}],"affected":[{"package":{"name":"github.com/shift72/caddy-geo-ip","ecosystem":"Go","purl":"pkg:golang/github.com/shift72/caddy-geo-ip"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.6.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/12/GHSA-rxg9-hgq7-8pwx/GHSA-rxg9-hgq7-8pwx.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"}]}