{"id":"CVE-2016-15005","sourceIdentifier":"security@golang.org","published":"2022-12-27T22:15:11.003","lastModified":"2026-06-17T00:40:58.837","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Los tokens CSRF se generan usando math/rand, que no es un generador de números aleatorios criptográficamente seguro, lo que permite a un atacante predecir valores y eludir las protecciones CSRF con relativamente pocas solicitudes."}],"affected":[{"source":"security@golang.org","affectedData":[{"vendor":"github.com/dinever/golf","product":"github.com/dinever/golf","defaultStatus":"unaffected","collectionURL":"https://pkg.go.dev","packageName":"github.com/dinever/golf","programRoutines":[{"name":"randomBytes"},{"name":"Context.Render"},{"name":"Context.RenderFromString"}],"versions":[{"version":"0","lessThan":"0.3.0","versionType":"semver","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-04-11T16:38:53.683800Z","id":"CVE-2016-15005","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-352"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:golf_project:golf:*:*:*:*:*:go:*:*","versionEndExcluding":"0.3.0","matchCriteriaId":"E8C3D7B1-B623-4B34-823C-2DCD94EAF18D"}]}]}],"references":[{"url":"https://github.com/dinever/golf/commit/3776f338be48b5bc5e8cf9faff7851fc52a3f1fe","source":"security@golang.org","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/dinever/golf/issues/20","source":"security@golang.org","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/dinever/golf/pull/24","source":"security@golang.org","tags":["Patch","Third Party Advisory"]},{"url":"https://pkg.go.dev/vuln/GO-2020-0045","source":"security@golang.org","tags":["Third Party Advisory"]},{"url":"https://github.com/dinever/golf/commit/3776f338be48b5bc5e8cf9faff7851fc52a3f1fe","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/dinever/golf/issues/20","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/dinever/golf/pull/24","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Third Party Advisory"]},{"url":"https://pkg.go.dev/vuln/GO-2020-0045","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]}]}