CVE-2025-66565
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.
Description as published by the source, in English.
Key facts
- Published
- 2025-12-09
- Last modified
- 2026-10-07
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.4 %
higher than 34 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Gofiber | Utils | ≤ 1.2.0 | Affected |
| Gofiber | Utils | 2.0.0 | Affected |
Weakness type
-
CWE-252: Unchecked Return Value
The product does not check the return value from a method or function.
-
CWE-331: Insufficient Entropy
The product uses an algorithm or scheme that produces insufficient entropy, leaving patterns or clusters of values that are more likely to occur than others.
-
CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
The product uses a Pseudo-Random Number Generator (PRNG) in a security context, but the PRNG's algorithm is not cryptographically strong.
References
- https://github.com/gofiber/utils/commit/6c6cf047032b9c8dff43d29f990b4b10e9b02d47
- https://github.com/gofiber/utils/security/advisories/GHSA-m98w-cqp3-qcqr
- https://github.com/gofiber/utils/security/advisories/GHSA-m98w-cqp3-qcqr
Related at Berigo
Articles
-
CIFSwitch: local privilege escalation in Linux via cifs-utils
Same product
2026-05-27
Security researcher Asim Manizada has described CIFSwitch, a weakness in cifs-utils that lets a local user run code with root privileges.
-
Authentication bypass in GNU Inetutils telnetd grants access without a password
Same product
2026-01-21
CVE-2026-24061 lets an unauthenticated attacker bypass login through the USER environment variable and potentially gain root privileges.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.