CVE-2025-66630
github.com/gofiber/fiber/v2: Fiber: Predictable UUIDs from randomness source errors can lead to security bypasses
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (high).
Description
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/gofiber/fiber/v2 | 2.52.11 |
| chainguard | gatus, gatus-fips | 5.34.0-r3 and 1 more |
| wolfi | gatus | 5.34.0-r3 |
Show all 4 entries from 3 sources
| Source | Package | Fixed in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/gofiber/fiber/v2 | 2.52.11 |
| chainguard | gatus | 5.34.0-r3 |
| chainguard | gatus-fips | 5.34.0-r2 |
| wolfi | gatus | 5.34.0-r3 |
References
- https://access.redhat.com/security/cve/CVE-2025-66630
- https://github.com/gofiber/fiber
- https://github.com/gofiber/fiber/commit/eb874b6f6c5896b968d9b0ab2b56ac7052cb0ee1
- https://github.com/gofiber/fiber/releases/tag/v2.52.11
- https://github.com/gofiber/fiber/security/advisories/GHSA-68rr-p4fp-j59v
- https://nvd.nist.gov/vuln/detail/CVE-2025-66630
- https://www.cve.org/CVERecord?id=CVE-2025-66630