Vulnerability · Published Dec 10, 2023 · Assigned by mitre
CVE-2023-50463
Medium 6.5
In plain English
A medium-severity security flaw in the github.com/shift72/caddy-geo-ip package (Go). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities).
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)0.7%top 48.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/shift72/caddy-geo-ip | no fix listed | GHSA-rxg9-hgq7-8pwx |
| Go | github.com/shift72/caddy-geo-ip | no fix listed | GO-2023-2394 |