CVE-2016-15005Golf Project Golf
High 8.8 No auth needed
Follow: this CVE · Golf Project · Golf Project Golf We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 27
- Auth required
- No
- Published
- Dec 27, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-352
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Golf.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/dinever/golf |
< 0.3.0 |
0.3.0 |
go get github.com/dinever/golf@v0.3.0 |
| Go | github.com/dinever/golf |
< 0.3.0 |
0.3.0 |
go get github.com/dinever/golf@v0.3.0 |
Per OSV / GitHub Advisories (GHSA-q9qr-jwpw-3qvv, GO-2020-0045). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golf_project | golf | < 0.3.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Issue Tracking Third Party Advisory
- github.com Patch Third Party Advisory
- pkg.go.dev Third Party Advisory