| { |
| "schema_version": "1.3.1", |
| "id": "GO-2022-1213", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "0001-01-01T00:00:00Z", |
| "aliases": [ |
| "CVE-2018-25060", |
| "GHSA-hhxg-px5h-jc32" |
| ], |
| "summary": "Insecure generation of cookies in github.com/go-macaron/csrf", |
| "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" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "github.com/go-macaron/csrf", |
| "symbols": [ |
| "Generate" |
| ] |
| } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { |
| "type": "FIX", |
| "url": "https://github.com/go-macaron/csrf/pull/7" |
| }, |
| { |
| "type": "FIX", |
| "url": "https://github.com/go-macaron/csrf/commit/dadd1711a617000b70e5e408a76531b73187031c" |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2022-1213" |
| } |
| } |