GO-2023-2394

Source
https://pkg.go.dev/vuln/GO-2023-2394
Import Source
https://vuln.go.dev/ID/GO-2023-2394.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2023-2394
Aliases
Published
2024-01-02T18:32:43Z
Modified
2024-05-20T16:03:47Z
Summary
Spoofed source IP address in github.com/shift72/caddy-geo-ip
Details

The caddy-geo-ip (aka GeoIP) middleware for Caddy 2 allows attackers to spoof their source IP address via an X-Forwarded-For header, which may bypass a protection mechanism (trustedproxy directive in reverseproxy or IP address range restrictions).

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2023-2394"
}
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

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/shift72/caddy-geo-ip"
        }
    ]
}