Back
CVE-2016-15005
Cryptographically weak random number generation in github.com/dinever/golf
High8.8EPSS 0.41%
- Published
- Updated
- Reserved
- Assigned by
- Go
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.41% · top 64% of all CVEs (3 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Weakness
- CWE 338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
- CWE-352 (opens in a new tab)All about CWE-352 and its CVEs
Affected products
github.com/dinever/golf · github.com/dinever/golf
- affected < 0.3.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/dinever/golfGHSA-q9qr-jwpw-3qvv (opens in a new tab)
References (4)
- https://github.com/dinever/golf/pull/24 (opens in a new tab)x_transferred
- https://github.com/dinever/golf/commit/3776f338be48b5bc5e8cf9faff7851fc52a3f1fe (opens in a new tab)x_transferred
- https://github.com/dinever/golf/issues/20 (opens in a new tab)x_transferred
- https://pkg.go.dev/vuln/GO-2020-0045 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-q9qr-jwpw-3qvv (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2016-15005)Record last updated .