High, CVSS 8.8GoPublished
Golf may allow attacker to bypass CSRF protections due to weak PRNG
CVE-2016-15005 · GHSA-q9qr-jwpw-3qvv
- Affected
- Go github.com/dinever/golf < 0.3.0
- Fixed in
- 0.3.0· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 0.3.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.