Vulnerability Details : CVE-2016-15005
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.
Vulnerability category: Cross-site request forgery (CSRF)
Products affected by CVE-2016-15005
- cpe:2.3:a:golf_project:golf:*:*:*:*:*:go:*:*
Exploit prediction scoring system (EPSS) score for CVE-2016-15005
0.12%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 48 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2016-15005
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST |
CWE ids for CVE-2016-15005
-
The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request.Assigned by: nvd@nist.gov (Primary)
References for CVE-2016-15005
-
https://github.com/dinever/golf/issues/20
Use crypto/rand instead of math/rand · Issue #20 · dinever/golf · GitHubIssue Tracking;Third Party Advisory
-
https://pkg.go.dev/vuln/GO-2020-0045
GO-2020-0045 - Go PackagesThird Party Advisory
-
https://github.com/dinever/golf/commit/3776f338be48b5bc5e8cf9faff7851fc52a3f1fe
Merge pull request #24 from bentranter/use-crypto-rand-for-xsrf · dinever/golf@3776f33 · GitHubPatch;Third Party Advisory
-
https://github.com/dinever/golf/pull/24
Use crypto/rand for XSRF token generation by bentranter · Pull Request #24 · dinever/golf · GitHubPatch;Third Party Advisory
Jump to