Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1xOXFyLWp3cHctM3F2ds4AAwoY
Golf may allow attacker to bypass CSRF protections due to weak PRNG
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.
Permalink: https://github.com/advisories/GHSA-q9qr-jwpw-3qvvJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1xOXFyLWp3cHctM3F2ds4AAwoY
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 1 year ago
Updated: 8 months ago
CVSS Score: 8.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Identifiers: GHSA-q9qr-jwpw-3qvv, CVE-2016-15005
References:
- https://nvd.nist.gov/vuln/detail/CVE-2016-15005
- https://github.com/dinever/golf/issues/20
- https://github.com/dinever/golf/pull/24
- https://github.com/dinever/golf/commit/3776f338be48b5bc5e8cf9faff7851fc52a3f1fe
- https://pkg.go.dev/vuln/GO-2020-0045
- https://github.com/dinever/golf/releases/tag/v0.3.0
- https://github.com/advisories/GHSA-q9qr-jwpw-3qvv
Blast Radius: 7.4
Affected Packages
go:github.com/dinever/golf
Dependent packages: 2Dependent repositories: 7
Downloads:
Affected Version Ranges: < 0.3.0
Fixed in: 0.3.0
All affected versions: 0.1.0, 0.1.1, 0.2.0
All unaffected versions: 0.3.0