Skip to content

v0.5.12

Choose a tag to compare

@github-actions github-actions released this 03 Oct 02:12
· 4 commits to main since this release
e40ee1c

Upgrade notes

This release closes the read half of the dashboard CSRF finding
(#861): reads on dashboard-gated routes, including the SPA at /,
must now address the gateway by a name it answers for, and reads
under /api/ are refused when a browser reports
Sec-Fetch-Site other than same-origin or none. This stops a
DNS-rebound page from reading dashboard state as the operator.

  • Names accepted without configuration: any IP literal, localhost,
    the public_url host, a hostname given in dashboard_listen, and
    the tsnet node's MagicDNS name. A default deployment sees no change.
  • A dashboard reached by a CNAME, or behind a proxy that rewrites
    Host to a backend name, refuses reads with 403 until that name is
    listed in the new gateway { dashboard_hosts = [...] } or set as
    public_url. The refusal body says so.
  • /info, /ca.crt, the login form and the self-authenticating
    paths (/api/env-pushdown, HITL operation status) are unchanged;
    clawpatrol join and the per-process daemons are unaffected.

What's Changed

  • fix(web): hold dashboard reads to a Host the gateway answers for by @piscisaureus in #861

Full Changelog: v0.5.11...v0.5.12