<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-06T17:46:32.078647+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/euvd-2026-335641</id>
    <title>EUVD-2026-335641</title>
    <updated>2026-10-06T17:46:32.138577+00:00</updated>
    <content>EUVD-2026-335641</content>
    <link href="https://cve.radiocsirt.org/vuln/euvd-2026-335641"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/fkie_cve-2026-53624</id>
    <title>fkie_cve-2026-53624</title>
    <updated>2026-10-06T17:46:32.138627+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>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.</p>
      </div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/fkie_cve-2026-53624"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-gv83-gqw6-9j2c</id>
    <title>GHSA-gv83-gqw6-9j2c — GoFiber never set HSTS header in helmet middleware due to incorrect protocol check</title>
    <updated>2026-10-06T17:46:32.138675+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Go: github.com/gofiber/fiber</p>
<p>### Summary</p>
<p>The `helmet` middleware in gofiber/fiber never sets the `Strict-Transport-Security` (HSTS) response header, even when `HSTSMaxAge` is explicitly configured, because the condition check at `helmet.go:67` uses `c.Protocol()` — which returns the HTTP protocol version string (e.g., `"HTTP/1.1"`, `"HTTP/2.0"`) — instead of `c.Scheme()` — which returns the URL scheme (`"http"` or `"https"`). Since `c.Protocol()` never equals `"https"` in any real deployment, the HSTS header is permanently disabled, defeating the security protection.</p>
<p>### Details</p>
<p>**Root cause:** `middleware/helmet/helmet.go`, line 67:</p>
<p>```go
if c.Protocol() == "https" &amp;&amp; cfg.HSTSMaxAge != 0 {
```</p>
<p>`c.Protocol()` (defined at `req.go:865-867`) delegates to `fasthttp.Request.Header.Protocol()`, which returns the HTTP protocol version:
- `"HTTP/1.1"` for HTTP/1.1 connections
- `"HTTP/2.0"` for HTTP/2 connections</p>
<p>The correct method is `c.Scheme()` (defined at `req.go:844-862`), which returns:
- `"http"` for plain HTTP connections
- `"https"` for TLS connections</p>
<p>Since `"HTTP/1.1" != "https"` always evaluates to `true`, the entire HSTS block (lines 67-76) is dead code.</p>
<p>**Note on test coverage:** The existing helmet test (`helmet_test.go`) passes because it uses `ctx.Request.Header.SetProtocol("https")` to artificially force `Protocol()` to return `"https"`. However, `fasthttp.Request.Header.SetProtocol()` sets the HTTP version field, and real HTTP requests never have protocol `"https"` — they have `"HTTP/…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-gv83-gqw6-9j2c"/>
  </entry>
</feed>
