Advisory

GHSA-rxg9-hgq7-8pwx

Also known as: CVE-2023-50463, GO-2023-2394

Summary

Header spoofing in caddy-geo-ip

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-12-11 00:30 UTC
Modified
2024-01-02 18:56 UTC

Affected packages and fixes

github.com/shift72/caddy-geo-ip

Go · All systems

Affected

  • introduced 0, last affected 0.6.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences