CVE-2020-12666
gopkg.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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
6.1
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.
- Record
CVE-2020-12666- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - CVSS 2.0
- 5.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:N - Weakness
- CWE-601
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2020-12666- Updated
- 2026-11-02
EUVDEUVD-2021-0982 No score
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.
- Record
EUVD-2021-0982- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-733f-44f3-3frw
6.1
gopkg.in/macaron.v1 Open Redirect vulnerability
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.
- Record
GHSA-733f-44f3-3frw- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-601
- Updated
- 2026-11-02
OSV
6.1
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.
- Record
CVE-2020-12666- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVGHSA-733f-44f3-3frw
6.1
gopkg.in/macaron.v1 Open Redirect vulnerability
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.
- Record
GHSA-733f-44f3-3frw- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-601
- Updated
- 2026-11-02
OSVRHSA-2020:3369
7.5
Red Hat Security Advisory: Red Hat OpenShift Service Mesh security update
- Record
RHSA-2020:3369- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVGO-2020-0039 No score
Open redirect in gopkg.in/macaron.v1
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.
- Record
GO-2020-0039- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
gopkg.in/macaron.v1Go |
before 1.3.7 | 1.3.7 |
kialiRed Hat:service_mesh:1.1::el7 From an advisory covering 5 CVEs |
before 0:v1.12.10.redhat2-1.el7 | 0:v1.12.10.redhat2-1.el7 |
iorRed Hat:service_mesh:1.1::el8 From an advisory covering 5 CVEs |
before 0:1.1.6-1.el8 | 0:1.1.6-1.el8 |
servicemeshRed Hat:service_mesh:1.1::el8 From an advisory covering 5 CVEs |
before 0:1.1.6-1.el8 | 0:1.1.6-1.el8 |
servicemesh-citadelRed Hat:service_mesh:1.1::el8 From an advisory covering 5 CVEs |
before 0:1.1.6-1.el8 | 0:1.1.6-1.el8 |
servicemesh-cniRed Hat:service_mesh:1.1::el8 From an advisory covering 5 CVEs |
before 0:1.1.6-1.el8 | 0:1.1.6-1.el8 |
servicemesh-galleyRed Hat:service_mesh:1.1::el8 From an advisory covering 5 CVEs |
before 0:1.1.6-1.el8 | 0:1.1.6-1.el8 |
servicemesh-grafanaRed Hat:service_mesh:1.1::el8 From an advisory covering 5 CVEs |
before 0:6.4.3-13.el8 | 0:6.4.3-13.el8 |
servicemesh-grafana-prometheusRed Hat:service_mesh:1.1::el8 From an advisory covering 5 CVEs |
before 0:6.4.3-13.el8 | 0:6.4.3-13.el8 |
servicemesh-istioctlRed Hat:service_mesh:1.1::el8 From an advisory covering 5 CVEs |
before 0:1.1.6-1.el8 | 0:1.1.6-1.el8 |
Show 7 moreShow less
| Package | Affected | Fixed |
|---|---|---|
servicemesh-mixcRed Hat:service_mesh:1.1::el8 From an advisory covering 5 CVEs |
before 0:1.1.6-1.el8 | 0:1.1.6-1.el8 |
servicemesh-mixsRed Hat:service_mesh:1.1::el8 From an advisory covering 5 CVEs |
before 0:1.1.6-1.el8 | 0:1.1.6-1.el8 |
servicemesh-operatorRed Hat:service_mesh:1.1::el8 From an advisory covering 5 CVEs |
before 0:1.1.6-2.el8 | 0:1.1.6-2.el8 |
servicemesh-pilot-agentRed Hat:service_mesh:1.1::el8 From an advisory covering 5 CVEs |
before 0:1.1.6-1.el8 | 0:1.1.6-1.el8 |
servicemesh-pilot-discoveryRed Hat:service_mesh:1.1::el8 From an advisory covering 5 CVEs |
before 0:1.1.6-1.el8 | 0:1.1.6-1.el8 |
servicemesh-prometheusRed Hat:service_mesh:1.1::el8 From an advisory covering 5 CVEs |
before 0:2.14.0-14.el8 | 0:2.14.0-14.el8 |
servicemesh-sidecar-injectorRed Hat:service_mesh:1.1::el8 From an advisory covering 5 CVEs |
before 0:1.1.6-1.el8 | 0:1.1.6-1.el8 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-12666 is a medium vulnerability (CVSS 6.1) in Go-macaron Macaron, published May 5, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.41%, the 72nd percentile. Fixed in gopkg.in/macaron.v1 1.3.7.
References
github.com/go-macaron/macaron/releases/tag/v1.3.7
github.com/go-macaron/macaron/issues/198
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QEUOHRC4EN4WZ66EVFML2UCV7ZQ63XZ
nvd.nist.gov/vuln/detail/CVE-2020-12666
github.com/go-macaron/macaron/pull/199/commits/6bd9385542f7133467ab7d09a5f28f7d5dc52af7
github.com/go-macaron/macaron/pull/199
Show 33 moreShow less
github.com/go-macaron/macaron/commit/addc7461c3a90a040e79aa75bfd245107a210245
pkg.go.dev/vuln/GO-2020-0039
lists.fedoraproject.org/archives/list/[email protected]/message/3QEUOHRC4EN4WZ66EVFML2UCV7ZQ63XZ
github.com/advisories/GHSA-733f-44f3-3frw
github.com/go-macaron/macaron
access.redhat.com/errata/RHSA-2020:3369
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=1804533
bugzilla.redhat.com/show_bug.cgi?id=1850004
bugzilla.redhat.com/show_bug.cgi?id=1850034
bugzilla.redhat.com/show_bug.cgi?id=1853652
bugzilla.redhat.com/show_bug.cgi?id=1857412
security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_3369.json
access.redhat.com/security/cve/CVE-2020-8203
cve.org/CVERecord?id=CVE-2020-8203
nvd.nist.gov/vuln/detail/CVE-2020-8203
hackerone.com/reports/712065
npmjs.com/advisories/1523
access.redhat.com/security/cve/CVE-2020-9283
cve.org/CVERecord?id=CVE-2020-9283
nvd.nist.gov/vuln/detail/CVE-2020-9283
groups.google.com/forum
access.redhat.com/security/cve/CVE-2020-11023
cve.org/CVERecord?id=CVE-2020-11023
nvd.nist.gov/vuln/detail/CVE-2020-11023
blog.jquery.com/2020/04/10/jquery-3-5-0-released
cisa.gov/known-exploited-vulnerabilities-catalog
access.redhat.com/security/cve/CVE-2020-12666
cve.org/CVERecord?id=CVE-2020-12666
access.redhat.com/security/cve/CVE-2020-14040
cve.org/CVERecord?id=CVE-2020-14040
nvd.nist.gov/vuln/detail/CVE-2020-14040
github.com/golang/go/issues/39491