GHSA-rxg9-hgq7-8pwx

Suggest an improvement
Source
https://github.com/advisories/GHSA-rxg9-hgq7-8pwx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/12/GHSA-rxg9-hgq7-8pwx/GHSA-rxg9-hgq7-8pwx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rxg9-hgq7-8pwx
Aliases
Published
2023-12-11T00:30:32Z
Modified
2024-01-02T18:56:29.026970Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N CVSS Calculator
Summary
Header spoofing in caddy-geo-ip
Details

The caddy-geo-ip (aka GeoIP) middleware through 0.6.0 for Caddy 2, when trustheader 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 (trustedproxy directive in reverse_proxy or IP address range restrictions).

Database specific
{
    "nvd_published_at": "2023-12-10T23:15:07Z",
    "cwe_ids": [
        "CWE-290"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-12-11T21:46:50Z"
}
References

Affected packages

Go / github.com/shift72/caddy-geo-ip

Package

Name
github.com/shift72/caddy-geo-ip
View open source insights on deps.dev
Purl
pkg:golang/github.com/shift72/caddy-geo-ip

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.6.0