{"id":"CVE-2016-15005","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.","aliases":["GHSA-q9qr-jwpw-3qvv","GO-2020-0045"],"modified":"2026-07-08T12:43:29.470861Z","published":"2022-12-27T22:15:11.003Z","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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dinever/golf","events":[{"introduced":"0"},{"fixed":"11abebbbb289ef6f35e518db394eaca39cee8732"},{"fixed":"3776f338be48b5bc5e8cf9faff7851fc52a3f1fe"}],"database_specific":{"cpe":"cpe:2.3:a:golf_project:golf:*:*:*:*:*:go:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.3.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v0.2.0","v0.1.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-15005.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}