CVE-2026-53624 Fiber: HSTS header never set in helmet middleware due to incorrect protocol check
설명
Fiber is an Express inspired web framework written in Go. Prior to 3.4.0, the helmet middleware in middleware/helmet/helmet.go never sets the Strict-Transport-Security response header even when HSTSMaxAge is configured because it checks c.Protocol() for https instead of c.Scheme(). This issue is fixed in version 3.4.0.
영향 받는 제품 제품 1개
-
해결 버전 있음
gofiber
fiber
영향 받는 버전
- 3.4.0 미만
해결 버전
- 3.4.0 이상
참고 자료 4건
- github.com https://github.com/gofiber/fiber/commit/04dd4e7754f61768fddccacc79057e416f13e6bf (새 창)
- github.com https://github.com/gofiber/fiber/pull/4389 (새 창)
- github.com https://github.com/gofiber/fiber/releases/tag/v3.4.0 (새 창)
- github.com https://github.com/gofiber/fiber/security/advisories/GHSA-gv83-gqw6-9j2c (새 창)