{"schema_version":"1.3.1","id":"GO-2022-1213","modified":"2024-05-20T16:03:47Z","published":"2023-01-03T23:05:24Z","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","review_status":"REVIEWED"}}