VDB
Sign up
MEDIUM6.1

GHSA-733f-44f3-3frw

gopkg.in/macaron.v1 Open Redirect vulnerability

Quick fix

GHSA-733f-44f3-3frw — gopkg.in/macaron.v1: upgrade to the fixed version with the command below.

go get gopkg.in/macaron.v1@v1.3.7

Details

macaron before 1.3.7 has an open redirect in the static handler. Due to improper request santization, a specifically crafted URL can cause the static file handler to redirect to an attacker chosen URL, allowing for open redirect attacks.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/gopkg.in/macaron.v1
Introduced in: 0Fixed in: 1.3.7
Fixgo get gopkg.in/macaron.v1@v1.3.7

References