Security mailing lists by PureSourceCode

CVE-2023-50463

MEDIUM 6.5CVSS 3.1

Header 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD caddyserver caddy
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.