Description
Fiber is an Express inspired web framework written in Go. Prior to 3.3.0, the default Authorizer function in the BasicAuth middleware in middleware/basicauth/config.go uses short-circuit evaluation that skips password hash comparison for non-existent usernames, enabling reliable remote username enumeration through response timing differences. This issue is fixed in version 3.3.0.
Severity (CVSS)
| Base score | 5.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| Provided by | CNA |
Weaknesses
- CWE-203 — CWE-203: Observable Discrepancy
Affected products
| Vendor | Product | Versions |
|---|---|---|
| gofiber | fiber | < 3.3.0 |
References
- https://github.com/gofiber/fiber/security/advisories/GHSA-g5vh-55hw-rxm8 (x_refsource_CONFIRM)
- https://github.com/gofiber/fiber/pull/4245 (x_refsource_MISC)
- https://github.com/gofiber/fiber/commit/c7ac00edd19f9669b1aebbec6e229658baaa059e (x_refsource_MISC)
- https://github.com/gofiber/fiber/releases/tag/v3.3.0 (x_refsource_MISC)
Generated from the official CVE List on 09 Jul 2026 07:08 UTC.