Fiber is an Express inspired web framework written in Go. Before 2.52.11, on Go versions prior to 1.24, the underlying crypto/rand implementation can return an error if secure randomness cannot be obtained. Because no error is returned by the Fiber v2 UUID functions, application code may unknowingly rely on predictable, repeated, or low-entropy identifiers in security-critical pathways. This is especially impactful because many Fiber v2 middleware components (session middleware, CSRF, rate limiting, request-ID generation, etc.) default to using utils.UUIDv4(). This vulnerability is fixed in 2.52.11.
CVSS:4.0/AV:N/AC:H/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:XGofiber Fiber
APPGofiber< 2.52.11Golang Go
APPGolang< 1.24.0
Related vulnerabilities
Błąd arytmetyczny w kompilatorze Golang Go prowadzący do uszkodzenia pamięci
Golang crypto/tls: błędna walidacja certyfikatów przy wznawianiu sesji TLS
Session Fixation w middleware sesji GoFiber Fiber (wersje < 2.52.5)
Błędna klasyfikacja adresów IPv4-mapped IPv6 w bibliotece standardowej Go
Gofiber Fiber: Niebezpieczna konfiguracja CORS middleware (wildcard + credentials)