Cryptographic Weakness in Fiber Utils Vulnerability Affecting Fiber
CVE-2025-66565
9.3CRITICAL
What is CVE-2025-66565?
The Fiber Utils library contains functions that inadvertently fall back to generating predictable UUIDs when the cryptographic random number generator fails. This behavior compromises the integrity of any application relying on these functions for cryptographic security, as it may expose sensitive operations to potential exploits. The issue arises from failures in crypto/rand.Read(), revealing predictable UUIDs, including the zero UUID, which can undermine the overall security posture of applications built with Fiber. This vulnerability is resolved in version 2.0.0-rc.4.
Affected Version(s)
utils github.com/gofiber/utils <= 1.2.0 <= github.com/gofiber/utils 1.2.0
utils github.com/gofiber/utils/v2 < 2.0.0-rc.4 < github.com/gofiber/utils/v2 2.0.0-rc.4
