Fiber Utils UUIDv4 and UUID Silent Fallback to Predictable Values
Summary
| CVE | CVE-2025-66565 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-12-09 16:18:21 UTC |
| Updated | 2026-10-07 20:10:01 UTC |
| Description | Fiber Utils is a collection of common functions created for Fiber. In versions 2.0.0-rc.3 and below, when the system's cryptographic random number generator (crypto/rand) fails, both functions silently fall back to returning predictable UUID values, including the zero UUID "00000000-0000-0000-0000-000000000000". The vulnerability occurs through two related but distinct failure paths, both ultimately caused by crypto/rand.Read() failures, compromising the security of all Fiber applications using these functions for security-critical operations. This issue is fixed in version 2.0.0-rc.4. |
Risk And Classification
Primary CVSS: v4.0 9.3 CRITICAL from [email protected]
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS: 0.004680000 probability, percentile 0.385110000 (date 2026-10-07)
Problem Types: CWE-252 | CWE-331 | CWE-338 | CWE-252 CWE-252: Unchecked Return Value | CWE-331 CWE-331: Insufficient Entropy | CWE-338 CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 9.3 | CRITICAL | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/C... |
| 4.0 | CNA | DECLARED | 9.3 | CRITICAL | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N |
| 3.1 | [email protected] | Primary | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
CVSS v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowAttack Requirements
NonePrivileges Required
NoneUser Interaction
NoneConfidentiality
HighIntegrity
HighAvailability
LowSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Gofiber | Utils | 2.0.0 | beta1 | All | All |
| Application | Gofiber | Utils | 2.0.0 | beta10 | All | All |
| Application | Gofiber | Utils | 2.0.0 | beta11 | All | All |
| Application | Gofiber | Utils | 2.0.0 | beta12 | All | All |
| Application | Gofiber | Utils | 2.0.0 | beta13 | All | All |
| Application | Gofiber | Utils | 2.0.0 | beta14 | All | All |
| Application | Gofiber | Utils | 2.0.0 | beta2 | All | All |
| Application | Gofiber | Utils | 2.0.0 | beta3 | All | All |
| Application | Gofiber | Utils | 2.0.0 | beta4 | All | All |
| Application | Gofiber | Utils | 2.0.0 | beta5 | All | All |
| Application | Gofiber | Utils | 2.0.0 | beta6 | All | All |
| Application | Gofiber | Utils | 2.0.0 | beta7 | All | All |
| Application | Gofiber | Utils | 2.0.0 | beta8 | All | All |
| Application | Gofiber | Utils | 2.0.0 | beta9 | All | All |
| Application | Gofiber | Utils | 2.0.0 | rc1 | All | All |
| Application | Gofiber | Utils | 2.0.0 | rc2 | All | All |
| Application | Gofiber | Utils | 2.0.0 | rc3 | All | All |
| Application | Gofiber | Utils | 2.0.0 | rc4 | All | All |
| Application | Gofiber | Utils | All | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/gofiber/utils/security/advisories/GHSA-m98w-cqp3-qcqr | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | github.com | Vendor Advisory |
| github.com/gofiber/utils/commit/6c6cf047032b9c8dff43d29f990b4b10e9b02d47 | [email protected] | github.com | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.