Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/dinever/golf
  4. ›
  5. CVE-2016-15005

CVE-2016-15005: Cross-Site Request Forgery (CSRF)

December 28, 2022 (updated December 30, 2022)

CSRF tokens are generated using math/rand, which is not a cryptographically secure rander number generation, making predicting their values relatively trivial and allowing an attacker to bypass CSRF protections which relatively few requests.

References

  • github.com/advisories/GHSA-q9qr-jwpw-3qvv
  • github.com/dinever/golf/commit/3776f338be48b5bc5e8cf9faff7851fc52a3f1fe
  • github.com/dinever/golf/issues/20
  • github.com/dinever/golf/pull/24
  • nvd.nist.gov/vuln/detail/CVE-2016-15005
  • pkg.go.dev/vuln/GO-2020-0045

Code Behaviors & Features

Detect and mitigate CVE-2016-15005 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.3.0

Fixed versions

  • v0.3.0

Solution

Upgrade to version 0.3.0 or above.

Impact 8.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

go/github.com/dinever/golf/CVE-2016-15005.yml

Spotted a mistake? Edit the file on GitLab.

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

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