Advisory

GO-2022-1213

Also known as: 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.

Severity

Not rated by the source.

Dates

Published
2023-01-03 23:05 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/go-macaron/csrf

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20180426211050-dadd1711a617 (semver)

Fixed versions

0.0.0-20180426211050-dadd1711a617

Fix

  • Fixed version 0.0.0-20180426211050-dadd1711a617
    go get github.com/go-macaron/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences