VDB
Sign up
—

GO-2022-1213

Insecure generation of cookies in github.com/go-macaron/csrf

Quick fix

GO-2022-1213 — github.com/go-macaron/csrf: upgrade to the fixed version with the command below.

go get github.com/go-macaron/csrf@v0.0.0-20180426211050-dadd1711a617

Details

The Options.Secure value is ignored, and cookies created by Generate never have the secure attribute.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/go-macaron/csrf
Introduced in: 0Fixed in: 0.0.0-20180426211050-dadd1711a617
Fixgo get github.com/go-macaron/csrf@v0.0.0-20180426211050-dadd1711a617

References