CVE-2016-15005
Golf may allow attacker to bypass CSRF protections due to weak PRNG
Overview
Description
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.
Source: OX vulnerability database
Severity
8.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness: CWE-352
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Go | github.com/dinever/golf | <0.3.0 | 0.3.0 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- github.com https://github.com/dinever/golf
- github.com https://github.com/dinever/golf/commit/3776f338be48b5bc5e8cf9faff7851fc52a3f1fe
- github.com https://github.com/dinever/golf/issues/20
- github.com https://github.com/dinever/golf/pull/24
- github.com https://github.com/dinever/golf/releases/tag/v0.3.0
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2016-15005
- pkg.go.dev https://pkg.go.dev/vuln/GO-2020-0045
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.