CVEvulnerability
CVE-2016-15005
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-12-27
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-352
Description
CSRF tokens are generated using math/rand, which is not a cryptographically secure random number generator, allowing an attacker to predict values and bypass CSRF protections with relatively few requests.
Affected configurations
• golf project golf (< 0.3.0)
Related
Weakness · CWE (1)
- CWE-352 Cross-Site Request Forgery weakness
References
- https://github.com/dinever/golf/commit/3776f338be48b5bc5e8cf9faff7851fc52a3f1fe Patch, Third Party Advisory
- https://github.com/dinever/golf/issues/20 Issue Tracking, Third Party Advisory
- https://github.com/dinever/golf/pull/24 Patch, Third Party Advisory
- https://pkg.go.dev/vuln/GO-2020-0045 Third Party Advisory
- https://github.com/dinever/golf/commit/3776f338be48b5bc5e8cf9faff7851fc52a3f1fe Patch, Third Party Advisory
- https://github.com/dinever/golf/issues/20 Issue Tracking, Third Party Advisory
- https://github.com/dinever/golf/pull/24 Patch, Third Party Advisory
- https://pkg.go.dev/vuln/GO-2020-0045 Third Party Advisory