Skip to content
Heist/ feed
Back to feed
Unrated

Security advisory

Type: advisorySources: OSVCVE: CVE-2023-50463

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).

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-50463
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 19:31 UTC · Revision 1

Source evidence

CVE-2023-50463

core-osv · Original source

Published 10 Dec 2023, 00:00 UTC

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).

osv:CVE-2023-50463
Complete source record
{
  "id": "284525bad78c9104cfbfe36366bd6409add2ad4d24c232a156b2131496af9c45",
  "url": "https://osv.dev/vulnerability/CVE-2023-50463",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2023-50463",
    "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).",
    "evidence": "osv:CVE-2023-50463",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2023-50463",
      "aliases": [
        "CVE-2023-50463",
        "GHSA-rxg9-hgq7-8pwx",
        "GO-2023-2394"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/caddyserver/caddy",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "a5f20829cb87c3474b68e7af4def46e71b8864e0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:caddyserver:caddy:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.6.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            },
            {
              "repo": "https://github.com/shift72/caddy-geo-ip",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "d3b139de0004411db8f3c00700c7c61bc7b10ee1"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.6.0"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.6.0",
            "v0.5.1",
            "v0.5.0",
            "v0.4.0",
            "v0.3.0",
            "v0.2.0",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-50463.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.623782287Z",
      "provider": "osv",
      "references": [
        "https://caddyserver.com/v2",
        "https://github.com/shift72/caddy-geo-ip/tags",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/50xxx/CVE-2023-50463.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-50463",
        "https://github.com/shift72/caddy-geo-ip/issues/4"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/50xxx/CVE-2023-50463.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-50463",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 489204,
  "published_at": "2023-12-10T00:00:00+00:00"
}