Repository navigation
fix(deps): unblock security checks with patched WebSocket and telemetry - #106
Draft
emranemran wants to merge 1 commit into
Draft
emranemran wants to merge 1 commit into
emranemran wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
🔵 Needs a closer look
Security-fix effectiveness and dependency compatibility cannot be confirmed without independent upstream verification and the unavailable Linux CGO/race, fixture, static-analysis, and govulncheck results.
No open issues 🎉
What changed in this PR
This dependency-only PR targets the WebSocket and OpenTelemetry vulnerabilities blocking security checks and normal green-main image publication. Application code, workflows, and deployment settings remain unchanged.
Changes:
- Pins Gorilla WebSocket to the upstream
crypto/randfix. - Updates OpenTelemetry API modules to v1.47.0 and adjusts required indirect dependencies.
- Refreshes module checksums to match the dependency updates.
| File | Description |
|---|---|
| go.sum | Updates checksums for WebSocket, OpenTelemetry, and x/crypto. |
| go.mod | Pins patched dependencies and adds indirect OpenTelemetry log and x/net requirements. |
Review effort: Balanced
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Deferred at Emran’s request. This PR is not part of the current staging CI/CD work. Josh can review it after PTO. Do not merge it as part of this rollout.
Existing security scans reject the current main dependencies for GO-2026-6278 and GO-2026-6974. This blocks otherwise harmless documentation PRs and the normal green-main image publication path.
Update Gorilla WebSocket to the exact upstream crypto/rand fix and keep the OpenTelemetry API modules at the first fixed 1.47.0 release. Run go mod tidy to retain only required module/checksum changes. No application source, SQL, CI workflow, deployment or environment change.
Sources: Go WebSocket advisory, upstream WebSocket fix, OpenTelemetry 1.47.0 release. No scan is disabled or bypassed.
Reproduced by the existing test failure on documentation-only PR #105. Local go mod verify passes. Local govulncheck with CGO disabled reports zero reachable vulnerabilities. Full race/CGO tests could not compile locally because this Mac lacks Xcode command-line tools. The existing Linux CGO/race/fixture/static/security checks must all pass before merge. No local CGO success is claimed. The x/crypto update is required by the resolved module graph.
Staging will consume the normal green-main published image; production stays frozen. The unused documentation-only smoke PR is closed. Existing published images will test the simple-infra consumer path.