CVE-2020-36627: Github.com/go macaron/i18n Macaron I18n Open Redirect Vulnerability Vulnerability
MODERATECVE-2020-36627 is a MODERATE (CVSS 6.1) macaron i18n open redirect vulnerability vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Github.com/go macaron/i18n libraries in the Go ecosystem. The issue involves macaron i18n open redirect vulnerability. Remediation is available by upgrading affected packages to version 0.5.0.
CVE-2020-36627 at a Glance
Security Impact
CVSS: 6.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2020-36627
To remediate this vulnerability, upgrade all affected Github.com/go macaron/i18n dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/go-macaron/i18n to 0.5.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/go-macaron/i18n
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-36627, inspect your project dependencies for Github.com/go macaron/i18n:
inspect dependencies for github.com/go-macaron/i18n
Analyze the terminal output to locate any version of Github.com/go macaron/i18n in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.5.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Github.com/go macaron/i18n, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2020-36627 Affected Github.com/go macaron/i18n Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/go-macaron/i18n
|
Go |
< 0.5.0
|
0.5.0
|
References
Frequently Asked Questions
What is CVE-2020-36627?
Which Github.com/go macaron/i18n versions are affected?
What version fixes CVE-2020-36627?
Is github.com/go-macaron/i18n affected?
What is the CVSS score of CVE-2020-36627?
What CWE is associated with CVE-2020-36627?
How can I check Go dependencies for CVE-2020-36627?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jwrv-x6rx-8vfm",
"modified" : "2024-05-20T21:42:40Z",
"published" : "2022-12-25T12:30:25Z",
"aliases" : [ "CVE-2020-36627" ],
"summary" : "Macaron i18n Open Redirect vulnerability",
"details" : "A vulnerability was found in Macaron i18n. It has been declared as problematic. Affected by this vulnerability is an unknown functionality of the file i18n.go. The manipulation leads to open redirect. The attack can be launched remotely. Upgrading to version 0.5.0 can address this issue. The name of the patch is 329b0c4844cc16a5a253c011b55180598e707735. It is recommended to upgrade the affected component. The identifier VDB-216745 was assigned to this vulnerability.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/go-macaron/i18n"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.5.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-36627"
}, {
"type" : "WEB",
"url" : "https://github.com/go-macaron/i18n/commit/329b0c4844cc16a5a253c011b55180598e707735"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/go-macaron/i18n"
}, {
"type" : "WEB",
"url" : "https://github.com/go-macaron/i18n/releases/tag/v0.5.0"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2022-1187"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?id.216745"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-601" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-12-30T17:19:29Z",
"nvd_published_at" : "2022-12-25T11:15:00Z"
}
}