logo

CVE-2016-15005 github.com/dinever/golf

Package

Manager: go
Name: github.com/dinever/golf
Vulnerable Version: >=0 <0.3.0

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00036 pctl0.09145

Details

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.

Metadata

Created: 2022-12-28T00:30:23Z
Modified: 2024-05-20T19:42:50Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-q9qr-jwpw-3qvv/GHSA-q9qr-jwpw-3qvv.json
CWE IDs: ["CWE-332", "CWE-352"]
Alternative ID: GHSA-q9qr-jwpw-3qvv
Finding: F007
Auto approve: 1