Skip to content

vendor: golang.org/x/crypto v0.56.0 - #14093

Merged
mxpv merged 1 commit into
containerd:mainfrom
thaJeztah:bump_crypto2
Sep 4, 2026
Merged

mxpv merged 1 commit into
containerd:mainfrom
thaJeztah:bump_crypto2

Conversation

@thaJeztah

Copy link
Copy Markdown
Member

full diff: golang/crypto@v0.55.0...v0.56.0

We have tagged version v0.56.0 of golang.org/x/crypto in order to address the following security issues:

  • ssh: prevent DoS on deadlocked established channel Previously, after a channel has been established, a malicious peer could send crafted messages that would deadlock the entire connection. Now, we handle all RFC 4254 channel messages; global requests are handled explicitly. Then, treat all other messages as a protocol error and tear the connection down instead of buffering and blocking. Thanks to Will Mortensen for reporting this issue. This is CVE-2026-56855 and Go issue https://go.dev/issue/81317.
  • ssh: prevent DoS on deadlocked undecided channel Previously, a channel registered in the mux's chanList is not usable until it is established. A malicious peer was able flood the channel's incomingRequests, deadlocking the entire connection. Now, we add an atomic established state, set when a channel becomes usable. Until such a time, handlePacket drops every packet other than the open confirmation/failure, without blocking and without tearing down the connection. Thanks to Will Mortensen for reporting this issue. This is CVE-2026-78662 and Go issue https://go.dev/issue/81316.

full diff: golang/crypto@v0.55.0...v0.56.0

We have tagged version v0.56.0 of golang.org/x/crypto in
order to address the following security issues:
- ssh: prevent DoS on deadlocked established channel
  Previously, after a channel has been established, a
  malicious peer could send crafted messages that would
  deadlock the entire connection.
  Now, we handle all RFC 4254 channel messages; global
  requests are handled explicitly. Then, treat all other
  messages as a protocol error and tear the connection
  down instead of buffering and blocking.
  Thanks to Will Mortensen for reporting this issue.
  This is CVE-2026-56855 and Go issue https://go.dev/issue/81317.
- ssh: prevent DoS on deadlocked undecided channel
  Previously, a channel registered in the mux's chanList is
  not usable until it is established. A malicious peer was
  able flood the channel's incomingRequests, deadlocking the
  entire connection.
  Now, we add an atomic established state, set when a channel
  becomes usable. Until such a time, handlePacket drops every
  packet other than the open confirmation/failure, without
  blocking and without tearing down the connection.
  Thanks to Will Mortensen for reporting this issue.
  This is CVE-2026-78662 and Go issue https://go.dev/issue/81316.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Copilot AI lite review requested due to automatic review settings September 3, 2026 00:00
@github-project-automation github-project-automation Bot moved this to Needs Triage in Pull Request Review Sep 3, 2026
@thaJeztah

Copy link
Copy Markdown
Member Author

Looks like there's not diff in vendor, so none of the impacted code is used.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The version bump is consistently applied across go.mod, go.sum, and vendor/modules.txt with no remaining references to the prior version.

Pull request overview

This PR updates the vendored Go module metadata to use golang.org/x/crypto v0.56.0, aligning the repo’s module requirements and vendor manifest with the newly tagged upstream release (which includes SSH DoS fixes described in the PR).

Changes:

  • Bump golang.org/x/crypto from v0.55.0 to v0.56.0 in go.mod.
  • Update go.sum checksums for golang.org/x/crypto v0.56.0.
  • Update vendor/modules.txt to reflect v0.56.0 and its go version metadata.
File summaries
File Description
go.mod Updates the indirect requirement for golang.org/x/crypto to v0.56.0.
go.sum Refreshes module and go.mod hashes for golang.org/x/crypto v0.56.0.
vendor/modules.txt Updates vendoring manifest entry for golang.org/x/crypto to v0.56.0 (and go version line).
Review details
  • Files reviewed: 1/3 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-project-automation github-project-automation Bot moved this from Needs Triage to Review In Progress in Pull Request Review Sep 4, 2026
@mxpv
mxpv added this pull request to the merge queue Sep 4, 2026
Merged via the queue into containerd:main with commit a2d2eab Sep 4, 2026
97 of 100 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review Sep 4, 2026
@thaJeztah
thaJeztah deleted the bump_crypto2 branch September 4, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants