Live threats

All CVEs / Go-macaron

CVE-2018-25060Go-macaron Csrf

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
0.6%
probability of exploitation in 30 days · percentile 48
Auth required
No
Published
Dec 30, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-614, CWE-311
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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 complexity of an attack is rather high. The exploitation is known to be difficult. The patch is identified as dadd1711a617000b70e5e408a76531b73187031c. It is recommended to apply a patch to fix this issue. VDB-217058 is the identifier assigned to this vulnerability.

Original NVD text.

What to do

  1. Apply the vendor's security update for Csrf.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/go-macaron/csrf < 0.0.0-20180426211050-dadd1711a617 0.0.0-20180426211050-dadd1711a617 go get github.com/go-macaron/csrf@v0.0.0-20180426211050-dadd1711a617
Go github.com/go-macaron/csrf < 0.0.0-20180426211050-dadd1711a617 0.0.0-20180426211050-dadd1711a617 go get github.com/go-macaron/csrf@v0.0.0-20180426211050-dadd1711a617

Per OSV / GitHub Advisories (GHSA-hhxg-px5h-jc32, GO-2022-1213). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
go-macaroncsrfall

Official sources

References

Links published by the sources. Open them with care.