Live threats

All CVEs / Golf Project

CVE-2016-15005Golf Project Golf

High 8.8 No auth needed

Priority
68
CVSS 3.1
8.8
EPSS
0.4%
probability of exploitation in 30 days · percentile 27
Auth required
No
Published
Dec 27, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-352
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Golf.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/dinever/golf < 0.3.0 0.3.0 go get github.com/dinever/golf@v0.3.0
Go github.com/dinever/golf < 0.3.0 0.3.0 go get github.com/dinever/golf@v0.3.0

Per OSV / GitHub Advisories (GHSA-q9qr-jwpw-3qvv, GO-2020-0045). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
golf_projectgolf< 0.3.0

Official sources

References

Links published by the sources. Open them with care.