8.8high
CVE-2016-15005
Cryptographically weak random number generation in github.com/dinever/golf
Also known as GHSA-q9qr-jwpw-3qvv, GO-2020-0045
Published 5 y ago · modified 4 mo ago · JSON
CVSS
8.8
v3.1 · CNA
CISA KEV
No
not known exploited
EPSS
0.4%
percentile 36%
Public exploits
0
none known
Summary
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.
CISA SSVC assessment
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction (EPSS)
0.41% probability of exploitation in the next 30 days, higher than 36% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/dinever/golf | <0.3.0 | 0.3.0 |
Affected products
- github.com/dinever/golf github.com/dinever/golf
Classification
References
- github.com /dinever/golf/pull/24 · x_transferred
- github.com /dinever/golf/commit/3776f338be48b5bc5e8cf9faff7851fc52a3f1fe · x_transferred
- github.com /dinever/golf/issues/20 · x_transferred
- pkg.go.dev /vuln/GO-2020-0045 · x_transferred
- nvd.nist.gov /vuln/detail/CVE-2016-15005 · advisory
- github.com /dinever/golf · package
- github.com /dinever/golf/releases/tag/v0.3.0 · web
Sources
- CVE List: CVE-2016-15005
- GitHub Advisory: GHSA-q9qr-jwpw-3qvv
- NVD: CVE-2016-15005
- OSV: GO-2020-0045
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.