{"id":"CVE-2025-66565","published":"2025-12-09T01:47:58Z","modified":"2025-12-09T16:03:03Z","title":"Fiber Utils UUIDv4 and UUID Silent Fallback to Predictable Values","vendor":"gofiber","product":"utils","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00502,"percentile":0.43858,"provenance":"source"},"cwes":[{"id":"CWE-252","name":"Unchecked Return Value"},{"id":"CWE-331","name":"Insufficient Entropy"},{"id":"CWE-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"}],"references":[{"url":"https://github.com/gofiber/utils/security/advisories/GHSA-m98w-cqp3-qcqr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gofiber/utils/commit/6c6cf047032b9c8dff43d29f990b4b10e9b02d47","tags":["x_refsource_MISC"]}],"priority":{"score":15.3,"factors":[{"name":"EPSS percentile","points":8.77},{"name":"CVSS severity","points":6.51}]},"vendorSlug":"gofiber","affectedVersions":[{"vendor":"gofiber","product":"utils","versions":["github.com/gofiber/utils <= 1.2.0","github.com/gofiber/utils/v2 < 2.0.0-rc.4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-12-09T14:16:58.759199Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/gofiber/utils/v2","vulnerableRanges":["<2.0.0-rc.4"],"patched":["2.0.0-rc.4"],"from":["GHSA-m98w-cqp3-qcqr","GO-2025-4208"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/gofiber/utils","vulnerableRanges":["<1.2.0"],"patched":["1.2.0"],"from":["GHSA-m98w-cqp3-qcqr","GO-2025-4208"],"provenance":"source"}],"summary":{"text":"The gofiber utils library (Fiber Utils, versions 2.0.0-rc.3 and below) has UUIDv4 and UUID generation functions that silently fall back to predictable values, including the zero UUID, when the system's crypto/rand fails, because the failure from crypto/rand.Read() is not checked. An attacker with network access can exploit this without authentication, user interaction, or special configuration, provided the crypto/rand failure condition occurs, to predict or obtain the UUID values that Fiber applications rely on for security-critical operations.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:29:57Z"},"euvd":{"id":"EUVD-2025-201791","exploited":false,"provenance":"source"}}