Skip to content

0.48.2-RC3: echo CVE-2026-118653 fix and Windows CI install retry - #3877

Merged
icanhasmath merged 3 commits into
betafrom
marcg/rc3-echo
Dec 2, 2026
Merged

icanhasmath merged 3 commits into
betafrom
marcg/rc3-echo

Conversation

@icanhasmath

@icanhasmath icanhasmath commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

Unblocks staging of 0.48.2-RC3.

The Build-Test-Deploy run for #3876 on beta (run 46682352697) now fails its Scan job on a CVE published after #3876's own Scan passed:

Library Vulnerability Severity Installed Fixed
github.com/labstack/echo/v4 CVE-2026-118653 (rate limiting bypass via spoofed IP headers) Medium v4.16.1 v4.16.3

Only state-svc links echo. Scan gates Deploy, so RC3 can't be staged until this lands.

Changes

  • github.com/labstack/echo/v4 v4.16.1 → v4.16.3 (the smallest version with the fix), with go.sum and vendor/ updated to match. The vendored diff is in echo's middleware package (rate limiter and IP extraction).
  • Changelog: one Security line in the 0.48.2 section.

version.txt stays 0.48.2-RC3. Merging this rebuilds RC3 under a new SHA, and that build is the one Deploy stages.

The branch is cut from beta, not a version/* branch: version/0-48-2-RC3 was deleted when #3876 merged, and this is the only change.

Windows CI: retry the State Tool install when it hangs

Since 2026-12-01 the release installer (0.48.1) that setup-state-tool runs on windows-2025 has hung in 4 of the last 6 jobs. Each time it printed "Preparing Installer … Done" and then nothing until the 2-hour job timeout. That cancelled the Windows job, so Scan and Deploy were skipped. It happened on the #3876 beta push (3 times), on this PR's first run, and on a re-run of the RC3 PR run. The same step passed on other runs with the same runner image, and the installer endpoints respond normally.

In the os_specific job, Windows now runs install.ps1 -n -b release directly. Each attempt gets 10 minutes; a hung installer is stopped, along with any state-installer, state-svc and state processes, and retried, up to 3 attempts. The step itself times out at 35 minutes. It then adds the same bin directory to PATH and runs the same state config set optin.unstable false as the action. Linux and macOS keep using setup-state-tool.

Whether the 0.48.1 installer can also hang for users on Windows is still open and needs checking on a real machine.

Testing

  • go mod verify and go mod tidy -diff pass. A fresh go mod vendor matches the committed tree.
  • go build ./cmd/... passes.
  • go test -vet=off passes for cmd/state-svc/internal/notifications, cmd/state-svc/internal/rtwatcher and internal/ipc/.... cmd/state-svc/internal/hash's TestFileHasher_NotEqualContentChanged fails locally on WSL with or without this change, and passed in CI on 0.48.2-RC3: brotli, klauspost/compress and Go CVE fixes #3875 and 0.48.2-RC3 #3876.
  • This PR's Windows job runs the new install step.
  • This PR's Scan job is the check that the CVE is gone. Trivy isn't installed locally.

🤖 Generated with Claude Code

The beta Scan job for 0.48.2-RC3 fails on CVE-2026-118653 (Medium,
rate limiting bypass via spoofed IP headers) in echo v4.16.1, which
state-svc links. v4.16.3 fixes it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@icanhasmath
icanhasmath requested a review from MDrakos December 2, 2026 06:56
The release installer has hung with no output after "Preparing
Installer" in 4 of the last 6 windows-2025 jobs since 2026-12-01,
each until the 2-hour job timeout. That skipped Scan and Deploy for
0.48.2-RC3. Run install.ps1 directly with 10 minutes per attempt,
stop a hung installer and retry up to 3 times. Linux and macOS keep
using setup-state-tool.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@icanhasmath icanhasmath changed the title 0.48.2-RC3: update labstack/echo to v4.16.3 for CVE-2026-118653 0.48.2-RC3: echo CVE-2026-118653 fix and Windows CI install retry Dec 2, 2026
… install hangs

All three 10-minute attempts of the release installer hung on #3877,
so retrying the same channel does not help. Try release, then beta,
5 minutes each, and on a hang print the state/pwsh/Defender process
list with CPU time, Defender status and recent ActiveState logs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@icanhasmath
icanhasmath merged commit 8a7d416 into beta Dec 2, 2026
13 checks passed
@icanhasmath
icanhasmath deleted the marcg/rc3-echo branch December 2, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants