Skip to content

Bump Go 1.26.2→1.26.3, x/net v0.54.0, remove curl from runtime image - #331

Closed
picatz wants to merge 1 commit into
mainfrom
bump-deps
Closed

Bump Go 1.26.2→1.26.3, x/net v0.54.0, remove curl from runtime image#331
picatz wants to merge 1 commit into
mainfrom
bump-deps

Conversation

@picatz

@picatz picatz commented May 20, 2026

Copy link
Copy Markdown

What was changed

Bumps Go toolchain and dependencies. Removed curl from final stage.

Why?

To clear 6 CVEs flagged against the temporalio/ui-server Docker image. None are exploitable in Temporal deployments, but they need to be fixed to avoid vulnerability scanner noise.

Go toolchain (1.26.3):

  • CVE-2026-39836 (net: panic on NUL byte)
  • CVE-2026-33814 (net/http2: infinite loop on SETTINGS_MAX_FRAME_SIZE=0)
  • CVE-2026-33811 (net: double-free in LookupCNAME with cgo resolver)

golang.org/x/net v0.54.0 (≥ v0.53.0):

  • CVE-2026-33814 at the library level

curl removed from final runtime stage (kept in builder):

Warning

Customers with custom Kubernetes manifests using exec-based probes that shell out to curl inside the ui-server container would break. This is not a pattern we document, and the official helm chart uses native Kubernetes probe types. But, it's possible someone does it. These users would need to switch to httpGet/tcpSocket probes, or add curl back via a custom image layer.

Additionally, with Alpine 3.23, it only ships curl 8.19.0, so upgrading curl within the current Alpine release was not an option. Removal was the only way to clear the findings without bumping the Alpine major version, and gives us the benefit of reducing future vulnerability scanner noise.

Clears 6 CVEs flagged on the ui-server Docker image:

Go toolchain (1.26.3):
- CVE-2026-39836 (net: panic on NUL byte)
- CVE-2026-33814 (net/http2: infinite loop on SETTINGS_MAX_FRAME_SIZE=0)
- CVE-2026-33811 (net: double-free in LookupCNAME with cgo resolver)

golang.org/x/net v0.54.0 (≥ v0.53.0):
- CVE-2026-33814 at the library level

curl removed from final runtime stage (kept in builder):
- CVE-2026-3805 (SMB use-after-free)
- CVE-2026-6276 (cookie leak via stale Host header)
- CVE-2026-5773 (SMB connection reuse)
@picatz
picatz requested a review from a team as a code owner May 20, 2026 14:12
@picatz

picatz commented May 20, 2026

Copy link
Copy Markdown
Author

Closing in favor of temporalio/ui#3409

@picatz picatz closed this May 20, 2026
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