CyberRota Analysis
AI-GeneratedThe helmet middleware in the Fiber web framework prior to version 3.4.0 is vulnerable as it fails to set the Strict-Transport-Security (HSTS) response header, potentially exposing applications to man-in-the-middle attacks. This oversight occurs because the middleware incorrectly checks for HTTPS using the protocol instead of the scheme. Developers using affected versions should prioritize upgrading to 3.4.0 to mitigate security risks associated with this vulnerability.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
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.
Related CVEs
Other vulnerabilities affecting the same vendor(s)