CVE-2023-50463
MEDIUM 6.5CVSS 3.1Header spoofing in caddy-geo-ip
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).
- Published
- 10 Dec 2023
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-290
- Also known as
- GHSA-rxg9-hgq7-8pwxGO-2023-2394
- Sources
- NVDJSONOSV GHSA-rxg9-hgq7-8pwxJSONOSV GO-2023-2394JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | caddyserver | caddycpe:2.3:a:caddyserver:caddy:*:*:*:*:*:*:*:* |
<= 0.6.0 | |
| OSV | Go | github.com/shift72/caddy-geo-ip | <= 0.6.0 | |
| OSV | Go | github.com/shift72/caddy-geo-ip | all versions |
References
- https://caddyserver.com/v2 · Broken Link, WEB
- https://github.com/shift72/caddy-geo-ip/issues/4 · Third Party Advisory, WEB, REPORT
- https://github.com/shift72/caddy-geo-ip/tags · Release Notes, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-50463 · ADVISORY
- github.com/shift72/caddy-geo-ip · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 10 Dec 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Jan 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Dec 2023)