CVE-2016-15005

published 27 Dec 2022 · updated 11 Apr 2025

Cryptographically weak random number generation in github.com/dinever/golf

8.8HighCVSS 8.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.3.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
github.com/dinever/golf<0.3.00.3.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2016-15005 severity on Zeptric[![CVE-2016-15005](https://zeptric.io/badge/cve/CVE-2016-15005.svg)](https://zeptric.io/cve/CVE-2016-15005)