GO-2023-1567

Source
https://pkg.go.dev/vuln/GO-2023-1567
Import Source
https://vuln.go.dev/ID/GO-2023-1567.json
JSON Data
https://api.test.osv.dev/v1/vulns/GO-2023-1567
Aliases
Published
2023-02-16T18:37:09Z
Modified
2024-09-11T06:12:51.338513Z
Summary
Open redirect in github.com/caddyserver/caddy/v2
Details

Due to improper request sanitization, a crafted URL can cause the static file handler to redirect to an attacker chosen URL, allowing for open redirect attacks.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2023-1567"
}
References
Credits
    • Mayank Mukhi (@Hunt2behunter)

Affected packages

Go / github.com/caddyserver/caddy/v2

Package

Name
github.com/caddyserver/caddy/v2
View open source insights on deps.dev
Purl
pkg:golang/github.com/caddyserver/caddy/v2

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.5.0-beta.1

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/caddyserver/caddy/v2/modules/caddyhttp",
            "symbols": [
                "SanitizedPathJoin"
            ]
        },
        {
            "path": "github.com/caddyserver/caddy/v2/modules/caddyhttp/fileserver",
            "symbols": [
                "FileServer.Provision",
                "FileServer.ServeHTTP",
                "FileServer.directoryListing",
                "MatchFile.Match",
                "MatchFile.UnmarshalCaddyfile",
                "MatchFile.Validate",
                "fileInfo.HumanModTime",
                "fileInfo.HumanSize",
                "statusOverrideResponseWriter.WriteHeader"
            ]
        }
    ]
}