Skip to content

Patch Go networking vulnerabilities and fix upload cancellation race - #31

Merged
Distortions81 merged 1 commit into
mainfrom
codex/fix-ci-security
Oct 21, 2026
Merged

Distortions81 merged 1 commit into
mainfrom
codex/fix-ci-security

Conversation

@Distortions81

@Distortions81 Distortions81 commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator

The scheduled Go Vulncheck run https://github.com/Distortions81/GD-DOOM/actions/runs/39284060465 reports reachable vulnerabilities in Go 1.26.6 and golang.org/x/net v0.56.0. Require Go 1.26.10 and x/net v0.60.0 (including its required crypto, sync and text versions). Go 1.26.10 also addresses the newer GO-2026-6809 certificate-trust advisory.

The newest Go CI failure on dependency PR #29 is TestUploadCancellationClosesSourceReader: closing a canceled upload's reader can race HTTP cancellation and return io.ErrClosedPipe. Return the canceled upload context's error when requestWithBody fails, preserving prompt reader closure and ordinary transport errors.

Validation: reproduced 2 failures in 100 cancellation-test runs before the fix; full package-by-package xvfb Go test suite and go build ./... pass with Go 1.26.10; go test -race ./internal/lobby -run 'TestUpload|TestHTTP' -count=100 passes. Both GitHub Actions checks now pass: Go CI https://github.com/Distortions81/GD-DOOM/actions/runs/39597166463 and Go Vulncheck https://github.com/Distortions81/GD-DOOM/actions/runs/39597166518 . Fresh scans report zero reachable vulnerabilities. One module-only advisory concerns unused x/crypto/openpgp; it is not imported by the application. Existing unrelated Dependabot upgrades are unchanged.

@Distortions81
Distortions81 merged commit 4e0937f into main Oct 21, 2026
2 checks passed
@Distortions81
Distortions81 deleted the codex/fix-ci-security branch November 18, 2026 07:11
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.

1 participant