Skip to content

Build releases with Go 1.27.2 (stdlib DoS CVE-2026-78667/78669/97031) - #348

Closed
log0u7 wants to merge 1 commit into
jwilder:masterfrom
log0u7:fix/go-toolchain-1.27.2
Closed

log0u7 wants to merge 1 commit into
jwilder:masterfrom
log0u7:fix/go-toolchain-1.27.2

Conversation

@log0u7

@log0u7 log0u7 commented Oct 10, 2026

Copy link
Copy Markdown

actions/setup-go in .github/workflows/release.yml uses go-version-file: go.mod, so releases are built with the toolchain declared by the go directive. v0.15.1 shipped with Go 1.27.0, whose stdlib is affected by three HIGH DoS issues fixed in 1.26.9/1.27.2:

  • CVE-2026-78667 - net/http: DoS via crafted HTTP Range headers
  • CVE-2026-78669 - net/http/internal/http2: DoS via excessive HTTP/2 SETTINGS
  • CVE-2026-97031 - crypto/tls: DoS via multiple ECH outer extension references

This PR bumps the go directive to 1.27.2 so the next release embeds the fixed stdlib. One-line change, no dependency updates needed (go mod tidy produces no diff).

Context: Closes #347 - we scan the foreman-proxy container images (which embed dockerize) with Trivy at --exit-code 1 on HIGH, so release binaries built from the vulnerable stdlib keep failing our scans.

setup-go reads go-version-file (go.mod), so v0.15.1 shipped with the Go
1.27.0 stdlib, vulnerable to the net/http and crypto/tls DoS issues
CVE-2026-78667, CVE-2026-78669, CVE-2026-97031 (fixed in 1.26.9/1.27.2).
Bumping the go directive makes the next release embed the fixed stdlib.
@log0u7

log0u7 commented Oct 11, 2026

Copy link
Copy Markdown
Author

Closing in favor of powerman/dockerize: the maintainer shipped the toolchain fix in v0.25.3 within an hour of the upstream issue (powerman/dockerize#407 / issue #406), so we switched our foreman-proxy images to that fork. Thanks for the quick v0.15.1 x/crypto bump earlier this month - if this repo resumes building releases from a Go >= 1.27.2 stdlib, we would happily switch back.

@log0u7 log0u7 closed this Oct 11, 2026
@log0u7
log0u7 deleted the fix/go-toolchain-1.27.2 branch October 12, 2026 02:12
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.

Release binaries embed Go 1.27.0 stdlib with known DoS CVEs (CVE-2026-78667, CVE-2026-78669, CVE-2026-97031)

1 participant