CVE-2025-66565 Fiber Utils UUIDv4 and UUID Silent Fallback to Predictable Values
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| gofiber github.com/gofiber/utils/v2 | <= 1.2.0; = 2.0.0-beta1; = 2.0.0-beta2; = 2.0.0-beta3 +17 more | after 1.2.0 | Fixed |
| gofiber github.com/gofiber/utils/v2(Go) | < 1.2.0; < 2.0.0-rc.3.0.20251205210924-6c6cf047032b; < 2.0.0-rc.4; <= 1.1.0 | 1.2.0, 2.0.0-rc.3.0.20251205210924-6c6cf047032b, 2.0.0-rc.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gofiber github.com/gofiber/utils/v2(Go) | < 2.0.0-rc.4 | 2.0.0-rc.4 |
| gofiber github.com/gofiber/utils/v2(Go) | < 1.2.0 | 1.2.0 |
| gofiber github.com/gofiber/utils/v2(Go) | < 2.0.0-rc.3.0.20251205210924-6c6cf047032b | 2.0.0-rc.3.0.20251205210924-6c6cf047032b |
| gofiber github.com/gofiber/utils/v2(Go) | <= 1.1.0 | No fix listed |
| gofiber github.com/gofiber/utils/v2 | = github.com/gofiber/utils <= 1.2.0 | No fix listed |
| gofiber github.com/gofiber/utils/v2 | = github.com/gofiber/utils/v2 < 2.0.0-rc.4 | No fix listed |
| gofiber github.com/gofiber/utils/v2 | <= 1.2.0 | No fix listed |
| gofiber github.com/gofiber/utils/v2 | = 2.0.0-beta1 | No fix listed |
| gofiber github.com/gofiber/utils/v2 | = 2.0.0-beta10 | No fix listed |
| gofiber github.com/gofiber/utils/v2 | = 2.0.0-beta11 | No fix listed |
| gofiber github.com/gofiber/utils/v2 | = 2.0.0-beta12 | No fix listed |
| gofiber github.com/gofiber/utils/v2 | = 2.0.0-beta13 | No fix listed |
| gofiber github.com/gofiber/utils/v2 | = 2.0.0-beta14 | No fix listed |
| gofiber github.com/gofiber/utils/v2 | = 2.0.0-beta2 | No fix listed |
| gofiber github.com/gofiber/utils/v2 | = 2.0.0-beta3 | No fix listed |
| gofiber github.com/gofiber/utils/v2 | = 2.0.0-beta4 | No fix listed |
| gofiber github.com/gofiber/utils/v2 | = 2.0.0-beta5 | No fix listed |
| gofiber github.com/gofiber/utils/v2 | = 2.0.0-beta6 | No fix listed |
| gofiber github.com/gofiber/utils/v2 | = 2.0.0-beta7 | No fix listed |
| gofiber github.com/gofiber/utils/v2 | = 2.0.0-beta8 | No fix listed |
| gofiber github.com/gofiber/utils/v2 | = 2.0.0-beta9 | No fix listed |
| gofiber github.com/gofiber/utils/v2 | = 2.0.0-rc1 | No fix listed |
| gofiber github.com/gofiber/utils/v2 | = 2.0.0-rc2 | No fix listed |
| gofiber github.com/gofiber/utils/v2 | = 2.0.0-rc3 | No fix listed |
| gofiber github.com/gofiber/utils/v2 | = 2.0.0-rc4 | No fix listed |
References
- https://github.com/gofiber/utils/security/advisories/GHSA-m98w-cqp3-qcqr exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/gofiber/utils/commit/6c6cf047032b9c8dff43d29f990b4b10e9b02d47 patch
- github.com product
- github.com