logo

CVE-2023-50463 github.com/shift72/caddy-geo-ip

Package

Manager: go
Name: github.com/shift72/caddy-geo-ip
Vulnerable Version: >=0 <=0.6.0

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00091 pctl0.26688

Details

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

Metadata

Created: 2023-12-11T00:30:32Z
Modified: 2023-12-13T21:34:15Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/12/GHSA-rxg9-hgq7-8pwx/GHSA-rxg9-hgq7-8pwx.json
CWE IDs: ["CWE-290"]
Alternative ID: GHSA-rxg9-hgq7-8pwx
Finding: F032
Auto approve: 1