CVE-2020-12666 gopkg.in/macaron.v1 Open Redirect vulnerability
An open redirect vulnerability in the macaron Go library allows attackers to redirect users to malicious sites via crafted URLs.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-12666?
CVE-2020-12666 is a medium-severity vulnerability in Fedoraproject Fedora, published on 5 May 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
macaron before 1.3.7 has an open redirect in the static handler, as demonstrated by the http://127.0.0.1:4000//example.com/ URL.
Weakness: CWE-601
Which versions are affected by CVE-2020-12666?
3 open source packages ship an affected version, including gopkg.in/macaron.v1. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
gopkg.in/macaron.v1 Go | All versions | 1.3.7 |
gopkg.in/macaron.v1 Go | All versions | 1.3.7 |
gopkg.in/macaron.v1 Go | All versions | 1.3.7 |
Products include Fedoraproject Fedora, Go-Macaron Macaron.
How do I fix CVE-2020-12666?
Upgrade gopkg.in/macaron.v1 to 1.3.7 or later.
Is CVE-2020-12666 being exploited?
There is no known exploitation of CVE-2020-12666 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as GHSA-733f-44f3-3frw, GO-2020-0039.