data/reports: add GO-2022-1187.yaml
Aliases: CVE-2020-36627
Fixes golang/vulndb#1187
Change-Id: I754e02336c239e6a6f38b5b8b2d1ef071a2354cb
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/459655
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Tim King <taking@google.com>
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
diff --git a/data/osv/GO-2022-1187.json b/data/osv/GO-2022-1187.json
new file mode 100644
index 0000000..7d300b0
--- /dev/null
+++ b/data/osv/GO-2022-1187.json
@@ -0,0 +1,58 @@
+{
+ "id": "GO-2022-1187",
+ "published": "0001-01-01T00:00:00Z",
+ "modified": "0001-01-01T00:00:00Z",
+ "aliases": [
+ "CVE-2020-36627"
+ ],
+ "details": "A user controlled string could lead to open redirect.",
+ "affected": [
+ {
+ "package": {
+ "name": "github.com/go-macaron/i18n",
+ "ecosystem": "Go"
+ },
+ "ranges": [
+ {
+ "type": "SEMVER",
+ "events": [
+ {
+ "introduced": "0"
+ },
+ {
+ "fixed": "0.5.0"
+ }
+ ]
+ }
+ ],
+ "database_specific": {
+ "url": "https://pkg.go.dev/vuln/GO-2022-1187"
+ },
+ "ecosystem_specific": {
+ "imports": [
+ {
+ "path": "github.com/go-macaron/i18n",
+ "symbols": [
+ "I18n"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "references": [
+ {
+ "type": "WEB",
+ "url": "https://vuldb.com/?id.216745"
+ },
+ {
+ "type": "FIX",
+ "url": "https://github.com/go-macaron/i18n/commit/329b0c4844cc16a5a253c011b55180598e707735"
+ },
+ {
+ "type": "WEB",
+ "url": "https://github.com/go-macaron/i18n/releases/tag/v0.5.0"
+ }
+ ],
+ "schema_version": "1.3.1"
+}
\ No newline at end of file
diff --git a/data/reports/GO-2022-1187.yaml b/data/reports/GO-2022-1187.yaml
new file mode 100644
index 0000000..20b975e
--- /dev/null
+++ b/data/reports/GO-2022-1187.yaml
@@ -0,0 +1,17 @@
+modules:
+ - module: github.com/go-macaron/i18n
+ versions:
+ - fixed: 0.5.0
+ vulnerable_at: 0.0.0-20200216154541-326bc77d7eb1
+ packages:
+ - package: github.com/go-macaron/i18n
+ symbols:
+ - I18n
+description: |
+ A user controlled string could lead to open redirect.
+cves:
+ - CVE-2020-36627
+references:
+ - web: https://vuldb.com/?id.216745
+ - fix: https://github.com/go-macaron/i18n/commit/329b0c4844cc16a5a253c011b55180598e707735
+ - web: https://github.com/go-macaron/i18n/releases/tag/v0.5.0