Cryptographically weak random number generation in github.com/dinever/golf
Published Dec 27, 2022
8.8
HIGHCVSS 3.1
EPSS 0.38%
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 products
-
- Version 0StatusaffectedConstraints<0.3.0
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Github.com/dinever/golf | Github.com/dinever/golf | unaffected |
|
- < 0.3.0
No data.
No Red Hat product state for this CVE.
github.com/dinever/golf
Go
Introduced 0 Fixed 0.3.0
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | github.com/dinever/golf | 0 | 0.3.0 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Apr 11, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 0.38% (0.00382) | 29.86th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.38% (0.00382) | 29.78th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.03% (0.00033) | 6.14th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.12% (0.00123) | 48.42th | v3 (v2023.03.01) |
| Jun 8, 2024 | 0.10% (0.00103) | 42.16th | v3 (v2023.03.01) |
| Jan 3, 2024 | 0.10% (0.00095) | 39.51th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.05% (0.00054) | 19.86th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Jan 7, 2023 | 1.02% (0.01018) | 39.77th | v2 (v2022.01.01) |
| Dec 28, 2022 | 0.95% (0.00950) | 31.62th | v2 (v2022.01.01) |
References (7)
- https://github.com/advisories/GHSA-q9qr-jwpw-3qvv Advisory
- https://github.com/dinever/golf/commit/3776f338be48b5bc5e8cf9faff7851fc52a3f1fe PatchThird Party Advisory
- https://github.com/dinever/golf/issues/20 Issue TrackingThird Party Advisory
- https://github.com/dinever/golf/pull/24 PatchThird Party Advisory
- https://github.com/dinever/golf/releases/tag/v0.3.0
- https://nvd.nist.gov/vuln/detail/CVE-2016-15005
- https://pkg.go.dev/vuln/GO-2020-0045 Third Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-q9qr-jwpw-3qvv | Advisory | |
| https://github.com/dinever/golf/commit/3776f338be48b5bc5e8cf9faff7851fc52a3f1fe | PatchThird Party Advisory | |
| https://github.com/dinever/golf/issues/20 | Issue TrackingThird Party Advisory | |
| https://github.com/dinever/golf/pull/24 | PatchThird Party Advisory | |
| https://github.com/dinever/golf/releases/tag/v0.3.0 | ||
| https://nvd.nist.gov/vuln/detail/CVE-2016-15005 | ||
| https://pkg.go.dev/vuln/GO-2020-0045 | Third Party Advisory |
Change history (0)
No recorded changes yet.