CVE-2020-12666
MEDIUM 6.1CVSS 3.1gopkg.in/macaron.v1 Open Redirect vulnerability
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.
- Published
- 5 May 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-601
- Also known as
- GHSA-733f-44f3-3frwGO-2020-0039
- Sources
- NVDJSONOSV GHSA-733f-44f3-3frwJSONOSV GO-2020-0039JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | go-macaron | macaroncpe:2.3:a:go-macaron:macaron:*:*:*:*:*:*:*:* |
< 1.3.7 | 1.3.7 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* |
= 32 | |
| OSV | Go | gopkg.in/macaron.v1 | < 1.3.7 | 1.3.7 |
References
- https://github.com/go-macaron/macaron/issues/198 · Exploit, Third Party Advisory, WEB
- https://github.com/go-macaron/macaron/releases/tag/v1.3.7 · Release Notes, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QEUOHRC4EN4WZ66EVFML2UCV7ZQ63XZ/
- https://nvd.nist.gov/vuln/detail/CVE-2020-12666 · ADVISORY
- https://github.com/go-macaron/macaron/issues/198#issuecomment-622885959 · WEB
- https://github.com/go-macaron/macaron/pull/199 · WEB, FIX
- https://github.com/go-macaron/macaron/pull/199/commits/6bd9385542f7133467ab7d09a5f28f7d5dc52af7 · WEB
- https://github.com/go-macaron/macaron/commit/addc7461c3a90a040e79aa75bfd245107a210245 · WEB, FIX
- https://github.com/go-macaron/macaron · PACKAGE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3QEUOHRC4EN4WZ66EVFML2UCV7ZQ63XZ · WEB
- https://pkg.go.dev/vuln/GO-2020-0039 · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 5 May 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Apr 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 18 May 2021)