CVE-2016-15005

Cryptographically weak random number generation in github.com/dinever/golf

Published Dec 27, 2022 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-7716 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.
Github GHSA Github GHSA GHSA-q9qr-jwpw-3qvv Golf may allow attacker to bypass CSRF protections due to weak PRNG
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses
  • CWE-352

    Cross-Site Request Forgery (CSRF)

Sources

Status
PUBLISHED
Assigner
Go
Published
Updated
Apr 11, 2025, 4:39 PM
Reserved
Jul 29, 2022, 6:33 PM
Status
Modified
Published
Dec 27, 2022, 10:15 PM
Modified
Jun 17, 2026, 12:40 AM