Skip to content

Commit

Permalink
data/reports: add GO-2022-1213.yaml
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
neild committed Jan 3, 2023
1 parent f2d2dfa commit a3d1c5f
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
51 changes: 51 additions & 0 deletions data/osv/GO-2022-1213.json
Original file line number Diff line number Diff line change
@@ -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"
}
15 changes: 15 additions & 0 deletions data/reports/GO-2022-1213.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a3d1c5f

Please sign in to comment.