Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/go-macaron/csrf
  4. ›
  5. CVE-2018-25060

CVE-2018-25060: Sensitive Cookie in HTTPS Session Without 'Secure' Attribute

December 30, 2022 (updated January 9, 2023)

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.

References

  • github.com/advisories/GHSA-hhxg-px5h-jc32
  • github.com/go-macaron/csrf/commit/dadd1711a617000b70e5e408a76531b73187031c
  • github.com/go-macaron/csrf/pull/7
  • nvd.nist.gov/vuln/detail/CVE-2018-25060
  • vuldb.com/?ctiid.217058
  • vuldb.com/?id.217058

Code Behaviors & Features

Detect and mitigate CVE-2018-25060 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-20200329073418-5d38f39de352

Fixed versions

  • v0.0.0-20200329073418-5d38f39de352

Solution

Upgrade to version 0.0.0-20200329073418-5d38f39de352 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)
  • CWE-614: Sensitive Cookie in HTTPS Session Without 'Secure' Attribute

Source file

go/github.com/go-macaron/csrf/CVE-2018-25060.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:11 +0000.