Advisory

GHSA-hhxg-px5h-jc32

Also known as: CVE-2018-25060, GO-2022-1213

Summary

Macaron csrf missing encryption and has sensitive cookies in HTTP session without secure attribute

Details

A vulnerability was found in Macaron csrf and classified as problematic. Affected by this issue is some unknown functionality of the file csrf.go. The manipulation of the argument Generate leads to sensitive cookie without secure attribute. The attack may be launched remotely. The name of the patch is dadd1711a617000b70e5e408a76531b73187031c. It is recommended to apply a patch to fix this issue. VDB-217058 is the identifier assigned to this vulnerability.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-12-30 12:30 UTC
Modified
2024-03-01 14:24 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences