From ceecb78880685aeee78974c63e8816e633726b0b Mon Sep 17 00:00:00 2001 From: Cameron Rye Date: Thu, 5 Nov 2026 14:54:10 -0500 Subject: [PATCH 1/2] build: update the six locked crates that fail the security audit cargo audit has failed on main since 2026-10-19, in the weekly run too: new RustSec advisories cover rustls 0.23.45 (RUSTSEC-2026-0346, -0347, -0348 and -0349), rustls-webpki 0.103.15 (RUSTSEC-2026-0382) and webpki-roots 1.0.9 (RUSTSEC-2026-0381), RUSTSEC-2026-0386 marks tokio 1.53.1 unsound, and async-executor 1.14.0 and clipboard-win 5.4.1 were yanked. The audit policy denies all of them. Each moves to the next release that clears it, with cargo update -p --precise on Rust 1.90: rustls 0.23.46, rustls-webpki 0.103.16, webpki-roots 1.0.10, tokio 1.53.3, async-executor 1.14.1 and clipboard-win 5.4.2. Those commands also moved sixteen range dependencies of other crates to older versions already in the lock. A cargo update of exactly those older versions, each already the newest of its series, locks no package and moves the edges back, so the lock differs from main in the six versions and their checksums only. The changelog's Security section names the advisories, and the yanked yoke-derive 0.8.3 that 0.2.1 also shipped. Checked: cargo audit exits 0 with only the seven unmaintained warnings; on macOS, clippy on Rust 1.90 and stable and the workspace tests on 1.90; in the Linux CI image, clippy and the workspace tests with and without all features. --- CHANGELOG.md | 1 + Cargo.lock | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d5bcd59..a8c0171 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -113,6 +113,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **Webhook, InfluxDB and push gateway requests no longer follow HTTP redirects** — a redirect could send an alert, a batch of readings or custom webhook headers to another host, including the service's own API. An endpoint that answers 301, 302, 307 or 308 (http to https, a trailing slash) now counts as failed, with a log line that says so, and the InfluxDB lines sent to it are dropped rather than retried: configure its final URL - **DNS rebinding and cross-site requests** — while API-key authentication is off, the service rejects requests whose `Host` isn't local, an IP address, this machine's name or listed in the new `security.allowed_hosts` (421), and browser requests from other origins, including WebSocket connections (403) - **Dashboard** — an API key passed as `?token=` (or `#token=`) is removed from the address bar and history entry, never sent as a `Referer`, and keys containing `+` work +- **Dependencies updated** to clear the 6 RustSec vulnerability advisories that affect 0.2.1's lockfile: `rustls` (RUSTSEC-2026-0346, RUSTSEC-2026-0347, RUSTSEC-2026-0348, RUSTSEC-2026-0349), `rustls-webpki` (RUSTSEC-2026-0382) and `webpki-roots` (RUSTSEC-2026-0381). These three are the TLS stack of webhooks, InfluxDB export, the Prometheus push gateway and the TUI/GUI service client. This also replaces `tokio` 1.53.1, which RUSTSEC-2026-0386 marks unsound, and the yanked `async-executor` 1.14.0, `clipboard-win` 5.4.1 and `yoke-derive` 0.8.3 ## [0.2.1] - 2026-09-26 diff --git a/Cargo.lock b/Cargo.lock index 924dfca..7d50d7e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -490,9 +490,9 @@ dependencies = [ [[package]] name = "async-executor" -version = "1.14.0" +version = "1.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c96bf972d85afc50bf5ab8fe2d54d1586b4e0b46c97c50a0c9e71e2f7bcd812a" +checksum = "f426a31126c735126297bc5ea7a521263c9faff4f63ca415267ee625651c4f37" dependencies = [ "async-task", "concurrent-queue", @@ -1143,9 +1143,9 @@ checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486" [[package]] name = "clipboard-win" -version = "5.4.1" +version = "5.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bde03770d3df201d4fb868f2c9c59e66a3e4e2bd06692a0fe701e7103c7e84d4" +checksum = "39ed3668f121a65e4ce95efeba22ad1f8ad6c6628397a5dd773118514a5e1804" dependencies = [ "error-code", ] @@ -5199,9 +5199,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.23.45" +version = "0.23.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d41d731c7d2f962d1ccc364cec258de3c0e93b38c2fb3ba97ac74513048d634" +checksum = "48e13bd8c0e9365c43cfa5c9e8f9ad49d3c8444926c9aac819e0e4dc503c8fdf" dependencies = [ "once_cell", "ring", @@ -5235,9 +5235,9 @@ dependencies = [ [[package]] name = "rustls-webpki" -version = "0.103.15" +version = "0.103.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3c3cf1d8b1e7d4927e2d154c3fcb02979afb9939629c62cd9048d4f07b60ac2" +checksum = "4443b1b6d39d7c663139942cc4558262562d2c84123bb6282ef177009ca8b281" dependencies = [ "ring", "rustls-pki-types", @@ -6121,9 +6121,9 @@ checksum = "fd3ca314f692efd6c868f8408f53fe444634a845f96c028b97d35f6a1f79f0ee" [[package]] name = "tokio" -version = "1.53.1" +version = "1.53.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "202caea871b69668250d242070849eb495be178ed697a3e98aebce5bc81a0bed" +checksum = "ce3335fa71841cda333a58d7615b03901380ecf09d59b3296d21f8bbac0dde4e" dependencies = [ "bytes", "libc", @@ -6901,9 +6901,9 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "1.0.9" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dcd9d09a39985f5344844e66b0c530a33843579125f23e21e9f0f220850f22a" +checksum = "1c1c8e20c8a38fc7d65abfe74eb7280e4aa667e8eec8bc84996d2874810748d9" dependencies = [ "rustls-pki-types", ] From 8388aa9701b4f47c884dfc52cff5f0881cf60d43 Mon Sep 17 00:00:00 2001 From: Cameron Rye Date: Thu, 5 Nov 2026 15:22:14 -0500 Subject: [PATCH 2/2] ci: run the macOS jobs on macos-15, because GitHub retired macos-14 GitHub retired the macos-14 runner image on 2026-11-02: a job that asks for it is cancelled before it starts ("The configuration 'macos-14-arm64-us-default' is not supported"). That cancelled the launchd refusal job of the Deployment files workflow on this pull request, and it would stop the 0.3.0 release: dist 0.31.0 builds aarch64-apple-darwin on macos-14 by default, and the macOS app job uses the same runners as dist. The launchd job and the app job now run on macos-15, and github-custom-runners moves dist's aarch64-apple-darwin build there too. x86_64-apple-darwin stays on macos-15-intel. Checked: dist 0.31.0's plan lists macos-15 for aarch64-apple-darwin and every other runner unchanged, and dist generate --check passes, so release.yml stays as it is; actionlint, zizmor --offline and the pin and permission checkers pass; the deploy_files tests pass. --- .github/workflows/deployment-files.yml | 3 ++- .github/workflows/release-macos-app.yml | 5 +++-- Cargo.toml | 5 +++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deployment-files.yml b/.github/workflows/deployment-files.yml index ea67400..3c1822b 100644 --- a/.github/workflows/deployment-files.yml +++ b/.github/workflows/deployment-files.yml @@ -70,7 +70,8 @@ jobs: launchd-refusal: name: launchd system install is refused - runs-on: macos-14 + # macos-15: GitHub retired the macos-14 image on 2026-11-02. + runs-on: macos-15 timeout-minutes: 30 steps: - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 diff --git a/.github/workflows/release-macos-app.yml b/.github/workflows/release-macos-app.yml index f5c3456..7693499 100644 --- a/.github/workflows/release-macos-app.yml +++ b/.github/workflows/release-macos-app.yml @@ -27,9 +27,10 @@ jobs: fail-fast: false matrix: include: - # The runners dist uses for these targets (the plan's artifacts_matrix). + # The runners dist uses for these targets (the plan's artifacts_matrix; + # aarch64's is set by github-custom-runners in Cargo.toml). - target: aarch64-apple-darwin - runner: macos-14 + runner: macos-15 - target: x86_64-apple-darwin runner: macos-15-intel runs-on: ${{ matrix.runner }} diff --git a/Cargo.toml b/Cargo.toml index 94a8dbe..99de4c7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -113,6 +113,11 @@ publish-prereleases = true # live release (release-verify.yml) and update the Homebrew tap (homebrew.yml). post-announce-jobs = ["./release-verify", "./homebrew"] +# dist 0.31.0 builds aarch64-apple-darwin on macos-14, which GitHub retired on +# 2026-11-02. release-macos-app.yml builds the app DMG on the same runner. +[workspace.metadata.dist.github-custom-runners] +aarch64-apple-darwin = "macos-15" + # Permissions for the custom jobs. dist gives publish jobs `id-token: write` and # `packages: write` by default; none of these jobs needs more than read access. [workspace.metadata.dist.github-custom-job-permissions]