NetSight
high8.8

CVE-2016-15005

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

Impact

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 packages

EcosystemPackageAffectedFixed in
gogithub.com/dinever/golf< 0.3.00.3.0

Affected products

VendorProductAffected versions
Golf ProjectGolf
before 0.3.0

Weakness classification

References