data/reports: add GO-2022-1213.yaml

The symbols really should be set to  "Generate", but a confusing
history of the github.com/Unknwon/com and github.com/unknwon/com
modules (different names, same location) means that vulnreport's
symbol checks don't work here. Just marking all symbols as
vulnerable.

Aliases: CVE-2018-25060

Fixes golang/vulndb#1213

Change-Id: I641a170c162097ddf61683171cc523704dbfc81b
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/460418
Run-TryBot: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Zvonimir Pavlinovic <zpavlinovic@google.com>
diff --git a/data/osv/GO-2022-1213.json b/data/osv/GO-2022-1213.json
new file mode 100644
index 0000000..9da73c8
--- /dev/null
+++ b/data/osv/GO-2022-1213.json
@@ -0,0 +1,51 @@
+{
+  "id": "GO-2022-1213",
+  "published": "0001-01-01T00:00:00Z",
+  "modified": "0001-01-01T00:00:00Z",
+  "aliases": [
+    "CVE-2018-25060"
+  ],
+  "details": "The Options.Secure value is ignored, and cookies created by Generate never have the secure attribute.",
+  "affected": [
+    {
+      "package": {
+        "name": "github.com/go-macaron/csrf",
+        "ecosystem": "Go"
+      },
+      "ranges": [
+        {
+          "type": "SEMVER",
+          "events": [
+            {
+              "introduced": "0"
+            },
+            {
+              "fixed": "0.0.0-20180426211050-dadd1711a617"
+            }
+          ]
+        }
+      ],
+      "database_specific": {
+        "url": "https://pkg.go.dev/vuln/GO-2022-1213"
+      },
+      "ecosystem_specific": {
+        "imports": [
+          {
+            "path": "github.com/go-macaron/csrf"
+          }
+        ]
+      }
+    }
+  ],
+  "references": [
+    {
+      "type": "FIX",
+      "url": "https://github.com/go-macaron/csrf/pull/7"
+    },
+    {
+      "type": "FIX",
+      "url": "https://github.com/go-macaron/csrf/commit/dadd1711a617000b70e5e408a76531b73187031c"
+    }
+  ],
+  "schema_version": "1.3.1"
+}
\ No newline at end of file
diff --git a/data/reports/GO-2022-1213.yaml b/data/reports/GO-2022-1213.yaml
new file mode 100644
index 0000000..5a3490d
--- /dev/null
+++ b/data/reports/GO-2022-1213.yaml
@@ -0,0 +1,15 @@
+modules:
+  - module: github.com/go-macaron/csrf
+    versions:
+      - fixed: 0.0.0-20180426211050-dadd1711a617
+    vulnerable_at: 0.0.0-20170207230724-428b7c62d7d0
+    packages:
+      - package: github.com/go-macaron/csrf
+description: |
+    The Options.Secure value is ignored, and cookies created by Generate never
+    have the secure attribute.
+cves:
+  - CVE-2018-25060
+references:
+  - fix: https://github.com/go-macaron/csrf/pull/7
+  - fix: https://github.com/go-macaron/csrf/commit/dadd1711a617000b70e5e408a76531b73187031c