Skip to content

[Aikido] Fix 4 security issues in x/crypto, go - #4

Open
aikido-autofix[bot] wants to merge 1 commit into
mainfrom
fix/aikido-security-update-packages-195664191-uds8
Open

aikido-autofix[bot] wants to merge 1 commit into
mainfrom
fix/aikido-security-update-packages-195664191-uds8

Conversation

@aikido-autofix

Copy link
Copy Markdown

Description

Upgrade golang.org/x/crypto to fix critical SSH authorization bypass and CA signature key revocation validation flaws, plus HTTPS impersonation via compromised eMudhra intermediates.

Security Impact — CVE vulnerabilities fixed by this PR:

✅ 4 CVEs resolved by this upgrade, including 2 critical 🚨 CVEs

This PR will resolve the following CVEs:

Issue Severity           Description
AIKIDO-2026-11022
🚨 CRITICAL
[golang.org/x/crypto] Previously, CVE-2024-45337 fixed an authorization bypass for misused ssh server configurations; if any other type of callback is passed other than public key, then the source-address validation would be skipped.
AIKIDO-2026-11027
🚨 CRITICAL
[golang.org/x/crypto] Previously, a revoked 'SignatureKey' belonging to a CA was not correctly checked for revocation. Now, both the 'key' and 'key.SignatureKey' are checked for @Revoked.
CVE-2026-42508
HIGH
[golang.org/x/crypto] Previously, a revoked 'SignatureKey' belonging to a CA was not correctly checked for revocation. Now, both the 'key' and 'key.SignatureKey' are checked for @Revoked.
AIKIDO-2026-934590
HIGH
[go] certificate verification did not reject the known compromised eMudhra intermediate public keys. An attacker able to intercept a connection can use a compromised eMudhra intermediate CA key to impersonate an HTTPS server and read or modify traffic.

Fix Details / Technical Implementation (detailed write-up of what was changed and why):

🤖 Remediation details

Security update to the Go module libtss-go (libtss-go/go.mod and go.sum). It fixes the vulnerable packages golang.org/x/crypto and the Go toolchain version (go directive).

  • golang.org/x/crypto moves from v0.41.0 to v0.52.0.
  • The go directive moves from 1.26.0 to 1.26.10.
  • golang.org/x/sys also moved, as a side effect of the x/crypto bump.

golang.org/x/crypto

This is an indirect dependency, pulled in through github.com/awnumar/memguard. It was raised with go get golang.org/x/crypto@v0.52.0, the lowest release that meets the patched floor (v0.51.0 and below are affected). No parent bump was needed, and no .go files or replace directives were changed. A single go mod tidy followed the update.

go

The go directive was below the patched toolchain release. It was raised with go get go@1.26.10, the lowest 1.26.x release outside the affected range (<=1.26.9). Only the go line in go.mod changed.

Version changes

Package From To Why updated
golang.org/x/crypto v0.41.0 v0.52.0 Direct CVE fix (indirect dependency raised with go get)
go (directive) 1.26.0 1.26.10 Direct CVE fix (Go toolchain version)
golang.org/x/sys v0.35.0 v0.45.0 Transitive, raised by the x/crypto v0.52.0 requirement

Checklist

  • I have performed a self-review of my own code
  • My changes generate no new warnings
  • I have made corresponding changes to the documentation
  • I have added tests that prove my feat/fix is effective and works
  • New and existing tests pass locally with my changes

Copilot AI balanced review requested due to automatic review settings November 24, 2026 06:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Upstream release checksums and security patch floors could not be verified offline, and native-backed Go compatibility remains unconfirmed because required dependencies are unavailable and CI does not run Go tests.

No open issues 🎉

What changed in this PR

Updates the Go binding’s dependencies and minimum Go version to address the reported SSH and certificate-verification security issues.

Changes:

  • Raises the minimum Go version from 1.26.0 to 1.26.10.
  • Upgrades golang.org/x/crypto to v0.52.0 and golang.org/x/sys to v0.45.0, refreshing their checksums.
  • Reclassifies the already-used memcall package as a direct dependency.
File Description
libtss-go/​go.sum Updates checksums for the upgraded crypto and system dependencies.
libtss-go/​go.mod Raises the minimum Go version, upgrades dependencies, and marks memcall as direct.

Review effort: Balanced

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