{"cve":"CVE-2016-15005","nvd":{"published":"2022-12-27T22:15:11.003","modified":"2026-06-17T00:40:58.837","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-352"],"references":["https://github.com/dinever/golf/commit/3776f338be48b5bc5e8cf9faff7851fc52a3f1fe","https://github.com/dinever/golf/issues/20","https://github.com/dinever/golf/pull/24","https://pkg.go.dev/vuln/GO-2020-0045","https://github.com/dinever/golf/commit/3776f338be48b5bc5e8cf9faff7851fc52a3f1fe"],"products":["golf_project:golf"],"source":"nvd","synced_at":"2026-10-19T21:37:31.370122805+00:00"},"epss":{"cve":"CVE-2016-15005","score":0.00415,"percentile":0.35819,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-q9qr-jwpw-3qvv","url":"https://osv.dev/vulnerability/GHSA-q9qr-jwpw-3qvv","summary":"Golf may allow attacker to bypass CSRF protections due to weak PRNG","modified":"2024-05-20T19:42:50Z","packages":[{"ecosystem":"Go","name":"github.com/dinever/golf","purl":"pkg:golang/github.com/dinever/golf","ranges":["<0.3.0"],"fixed":["0.3.0"]}]},{"id":"GO-2020-0045","url":"https://osv.dev/vulnerability/GO-2020-0045","summary":"Cryptographically weak random number generation in github.com/dinever/golf","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"github.com/dinever/golf","purl":"pkg:golang/github.com/dinever/golf","ranges":["<0.3.0"],"fixed":["0.3.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}