Skip to content
Fencer Vulns
high 8.8

CVE-2016-15005 json

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

published 2021-04-14 5 y ago modified 2026-06-17 4 mo ago also GHSA-q9qr-jwpw-3qvv , GO-2020-0045 , EUVD-2022-7716

cvss
8.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 36%
public exploits
0
none known

Summary

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.

Patch / fix

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

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
18 mo ago

Exploit prediction

0.41% chance of exploitation in the next 30 days, higher than 36% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CNA 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
GitHub 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
go github.com/dinever/golf
<0.3.0
0.3.0

Affected products

  • github.com/dinever/golf github.com/dinever/golf

Classification

Weakness
  • CWE-352 Cross-Site Request Forgery
  • CWE-332 Insufficient Entropy in PRNG

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.