OCPBUGS-93030: CVE-2026-46597 openshift4/ose-hypershift-rhel9: golang.org/x/crypto/ssh: Denial of Service via crafted AES-GCM packet decoder inputs [openshift-4.21] - #9270
Conversation
….org/x/crypto/ssh: Denial of Service via crafted AES-GCM packet decoder inputs [openshift-4.21]
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@tonyxrmdavidson: This pull request references Jira Issue OCPBUGS-93030, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Please specify an area label DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: tonyxrmdavidson The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/retest-required |
|
/retest |
|
@tonyxrmdavidson: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Summary
Remediates CVE-2026-46597 (GHSA-q4h4-gmj2-qvw2, CVSS 7.5 High) — integer underflow in the AES-GCM packet decoder in golang.org/x/crypto/ssh allowing remote DoS via crafted SSH packet.
Branch: OCPBUGS-93030-CVE-2026-46597-4-21
Base: release-4.21 (04c25e5)
Jira: OCPBUGS-93030
Remediation Approach
Uses the OpenShift sustaining team's security-patched fork via replace directive to maintain compatibility with the release-4.21 dependency tree:
replace golang.org/x/crypto => github.com/openshift-sustaining/crypto v0.33.0-sec.3
Changes
46 files changed, 6,585 insertions(+), 1,329 deletions(-)
go.mod — added replace directive for golang.org/x/crypto
go.sum — updated checksums for the fork
vendor/golang.org/x/crypto/ — vendored fork replaces upstream (ssh, sha3, poly1305, bcrypt, etc.)
vendor/modules.txt — updated module metadata
Changes are limited to golang.org/x/crypto vendored files only. No other dependencies were modified.
Build Results — PASS
All 6 binaries built successfully:
hypershift-operator — PASS
control-plane-operator — PASS
control-plane-pki-operator — PASS
karpenter-operator — PASS
hypershift (CLI) — PASS
hcp (product-cli) — PASS
Test Results — PASS
136 test packages executed with race detection (-race)
0 failures
All packages passed
Notes
The direct upgrade path (go get golang.org/x/crypto@v0.52.0) was not used for release-4.21 because it pulls in transitive dependency upgrades (x/net, x/sys, x/mod, x/term, x/text, x/tools) that may introduce compatibility risks on this stable branch.
The sustaining fork (github.com/openshift-sustaining/crypto@v0.33.0-sec.3) backports the security fix to a version compatible with release-4.21's dependency tree.