Repository navigation
[Aikido] Fix 4 security issues in x/crypto, go - #4
Open
aikido-autofix[bot] wants to merge 1 commit into
Open
aikido-autofix[bot] wants to merge 1 commit into
aikido-autofix[bot] wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
🔵 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/cryptoto v0.52.0 andgolang.org/x/systo v0.45.0, refreshing their checksums. - Reclassifies the already-used
memcallpackage 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
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.modandgo.sum). It fixes the vulnerable packagesgolang.org/x/cryptoand the Go toolchain version (godirective).golang.org/x/cryptomoves from v0.41.0 to v0.52.0.godirective moves from 1.26.0 to 1.26.10.golang.org/x/sysalso moved, as a side effect of thex/cryptobump.golang.org/x/crypto
This is an indirect dependency, pulled in through
github.com/awnumar/memguard. It was raised withgo 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.gofiles orreplacedirectives were changed. A singlego mod tidyfollowed the update.go
The
godirective was below the patched toolchain release. It was raised withgo get go@1.26.10, the lowest 1.26.x release outside the affected range (<=1.26.9). Only thegoline ingo.modchanged.Version changes
go get)x/cryptov0.52.0 requirementChecklist