{"id":"CVE-2016-15005","aliases":["GHSA-q9qr-jwpw-3qvv","GO-2020-0045"],"url":"https://o3.security/vulnerability/CVE-2016-15005","summary":"Golf may allow attacker to bypass CSRF protections due to weak PRNG","details":"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.","published":"2022-12-27T22:15:11.003Z","modified":"2026-07-08T12:43:29.470861Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/dinever/golf","fixedVersion":"0.3.0"}],"fix":{"url":"https://github.com/dinever/golf/commit/3776f338be48b5bc5e8cf9faff7851fc52a3f1fe","label":"dinever/golf@3776f33"},"references":[{"type":"ADVISORY","url":"https://pkg.go.dev/vuln/GO-2020-0045"},{"type":"REPORT","url":"https://github.com/dinever/golf/issues/20"},{"type":"FIX","url":"https://github.com/dinever/golf/commit/3776f338be48b5bc5e8cf9faff7851fc52a3f1fe"},{"type":"FIX","url":"https://github.com/dinever/golf/pull/24"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T12:43:29.470861Z"}}