Skip to content

Commit a3d1c5f

Browse files
committed
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 #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>
1 parent f2d2dfa commit a3d1c5f

File tree

2 files changed

+66
-0
lines changed

2 files changed

+66
-0
lines changed

data/osv/GO-2022-1213.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"id": "GO-2022-1213",
3+
"published": "0001-01-01T00:00:00Z",
4+
"modified": "0001-01-01T00:00:00Z",
5+
"aliases": [
6+
"CVE-2018-25060"
7+
],
8+
"details": "The Options.Secure value is ignored, and cookies created by Generate never have the secure attribute.",
9+
"affected": [
10+
{
11+
"package": {
12+
"name": "github.com/go-macaron/csrf",
13+
"ecosystem": "Go"
14+
},
15+
"ranges": [
16+
{
17+
"type": "SEMVER",
18+
"events": [
19+
{
20+
"introduced": "0"
21+
},
22+
{
23+
"fixed": "0.0.0-20180426211050-dadd1711a617"
24+
}
25+
]
26+
}
27+
],
28+
"database_specific": {
29+
"url": "https://pkg.go.dev/vuln/GO-2022-1213"
30+
},
31+
"ecosystem_specific": {
32+
"imports": [
33+
{
34+
"path": "github.com/go-macaron/csrf"
35+
}
36+
]
37+
}
38+
}
39+
],
40+
"references": [
41+
{
42+
"type": "FIX",
43+
"url": "https://github.com/go-macaron/csrf/pull/7"
44+
},
45+
{
46+
"type": "FIX",
47+
"url": "https://github.com/go-macaron/csrf/commit/dadd1711a617000b70e5e408a76531b73187031c"
48+
}
49+
],
50+
"schema_version": "1.3.1"
51+
}

data/reports/GO-2022-1213.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
modules:
2+
- module: github.com/go-macaron/csrf
3+
versions:
4+
- fixed: 0.0.0-20180426211050-dadd1711a617
5+
vulnerable_at: 0.0.0-20170207230724-428b7c62d7d0
6+
packages:
7+
- package: github.com/go-macaron/csrf
8+
description: |
9+
The Options.Secure value is ignored, and cookies created by Generate never
10+
have the secure attribute.
11+
cves:
12+
- CVE-2018-25060
13+
references:
14+
- fix: https://github.com/go-macaron/csrf/pull/7
15+
- fix: https://github.com/go-macaron/csrf/commit/dadd1711a617000b70e5e408a76531b73187031c

0 commit comments

Comments
 (0)