GHSA-q9qr-jwpw-3qvvHighCVSS 8.8

Golf may allow attacker to bypass CSRF protections due to weak PRNG

Published
December 28, 2022
Last Modified
August 29, 2023

🔗 CVE IDs covered (1)

📋 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 products1

  • go/github.com/dinever/golf:< 0.3.0

🔗 References (7)