GO-2020-0039

Source
https://pkg.go.dev/vuln/GO-2020-0039
Import Source
https://vuln.go.dev/ID/GO-2020-0039.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2020-0039
Aliases
Published
2021-04-14T20:04:52Z
Modified
2024-05-20T16:03:47Z
Summary
Open redirect in gopkg.in/macaron.v1
Details

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

References
Credits
    • @ev0A

Affected packages

Go / gopkg.in/macaron.v1

Package

Name
gopkg.in/macaron.v1
View open source insights on deps.dev
Purl
pkg:golang/gopkg.in/macaron.v1

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3.7

Ecosystem specific

{
    "imports": [
        {
            "path": "gopkg.in/macaron.v1",
            "symbols": [
                "Context.Next",
                "LoggerInvoker.Invoke",
                "Macaron.Run",
                "Macaron.ServeHTTP",
                "Router.ServeHTTP",
                "staticHandler"
            ]
        }
    ]
}