{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2016-15005","assignerOrgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","state":"PUBLISHED","assignerShortName":"Go","dateReserved":"2022-07-29T18:33:03.456Z","datePublished":"2022-12-27T21:13:27.393Z","dateUpdated":"2025-04-11T16:39:25.100Z"},"containers":{"cna":{"providerMetadata":{"orgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","shortName":"Go","dateUpdated":"2023-06-12T19:04:00.986Z"},"title":"Cryptographically weak random number generation in github.com/dinever/golf","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."}],"affected":[{"vendor":"github.com/dinever/golf","product":"github.com/dinever/golf","collectionURL":"https://pkg.go.dev","packageName":"github.com/dinever/golf","versions":[{"version":"0","lessThan":"0.3.0","status":"affected","versionType":"semver"}],"programRoutines":[{"name":"randomBytes"},{"name":"Context.Render"},{"name":"Context.RenderFromString"}],"defaultStatus":"unaffected"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE 338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"}]}],"references":[{"url":"https://github.com/dinever/golf/pull/24"},{"url":"https://github.com/dinever/golf/commit/3776f338be48b5bc5e8cf9faff7851fc52a3f1fe"},{"url":"https://github.com/dinever/golf/issues/20"},{"url":"https://pkg.go.dev/vuln/GO-2020-0045"}],"credits":[{"lang":"en","value":"@elithrar"}]},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-06T03:47:34.824Z"},"title":"CVE Program Container","references":[{"url":"https://github.com/dinever/golf/pull/24","tags":["x_transferred"]},{"url":"https://github.com/dinever/golf/commit/3776f338be48b5bc5e8cf9faff7851fc52a3f1fe","tags":["x_transferred"]},{"url":"https://github.com/dinever/golf/issues/20","tags":["x_transferred"]},{"url":"https://pkg.go.dev/vuln/GO-2020-0045","tags":["x_transferred"]}]},{"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":8.8,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"REQUIRED","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-04-11T16:38:53.683800Z","id":"CVE-2016-15005","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-04-11T16:39:25.100Z"}}]}}