CVE-2016-15005
highpriority · track · 35EPSS 0.004 · 34 %ileEUUSEPSS · scored 2026-10-26
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-q9qr-jwpw-3qvvGolf may allow attacker to bypass CSRF protections due to weak PRNG2022-12-28ghsa · osvUS
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.
- GO-2020-0045Cryptographically weak random number generation in github.com/dinever/golf2021-04-14vendor · osvUS
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.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2016-15005/cnnvd
- https://github.com/dinever/golf/commit/3776f338be48b5bc5e8cf9faff7851fc52a3f1fecnnvd
- https://github.com/dinever/golf/issues/20cnnvd
- https://github.com/dinever/golf/pull/24cnnvd
- https://pkg.go.dev/vuln/GO-2020-0045cnnvd
- https://github.com/dinever/golf/commit/3776f338be48b5bc5e8cf9faff7851fc52a3f1feenisa_euvd
- https://github.com/dinever/golf/issues/20enisa_euvd
- https://github.com/dinever/golf/pull/24enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan