Skip to content
OpenAdvisories
Critical · 9.3 CVE-2025-66565 EUVD-2025-201791GHSA-m98w-cqp3-qcqrGO-2025-4208

Fiber Utils UUIDv4 and UUID Silent Fallback to Predictable Values

Published Dec 9, 2025 · Updated Dec 9, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
gofiber utils github.com/gofiber/utils <= 1.2.0, github.com/gofiber/utils/v2 < 2.0.0-rc.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20251230T014957-150000.1.134.1 SUSE-SU-2026:0037-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/gofiber/utils < 1.2.0 1.2.0 GHSA-m98w-cqp3-qcqr
Go github.com/gofiber/utils/v2 < 2.0.0-rc.4 2.0.0-rc.4 GHSA-m98w-cqp3-qcqr

Advisories 2

References