fix(envconsul): GO-2026-6303, GO-2026-6354, GO-2026-6355 0.14.0-r6 - #78737
Open
rq-jwhitlock wants to merge 1 commit into
Open
fix(envconsul): GO-2026-6303, GO-2026-6354, GO-2026-6355 0.14.0-r6#78737rq-jwhitlock wants to merge 1 commit into
rq-jwhitlock wants to merge 1 commit into
Conversation
Bump golang.org/x/crypto to v0.56.0 to remediate three x/crypto/ssh advisories. Also moves golang.org/x/text to v0.41.0, which x/crypto v0.56.0 requires (still >= v0.39.0, so GO-2026-5970 stays remediated).
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.
Bumps
golang.org/x/cryptotov0.56.0to remediate three High-severity advisories in the version currently vendored into theenvconsulbinary (v0.53.0, an indirect dependency of envconsul v0.14.0).v0.56.0is the lowest version that clears all three. This also clearsGO-2026-5932(the unmaintainedx/crypto/openpgpnotice) from module-version-level SCA reports.Why the
x/textchange is includedx/crypto@v0.56.0requiresgolang.org/x/text@v0.41.0, so the existingv0.39.0pin would be raised by MVS regardless. Bumping it explicitly keeps the manifest consistent with what actually resolves.v0.41.0 > v0.39.0, so the GO-2026-5970 remediation that pin was added for (#185712) stays in place. Happy to drop this line if you'd prefer the minimal diff and let the resolver handle it.Notes
hashicorp/envconsulis still atv0.14.0(2026-07-09) and carriesx/crypto v0.53.0 // indirect, so abumpoverride is the only way to pick this up — there is no upstream release to track.x/crypto@v0.56.0declaresgo 1.26.0; the package builds withgo-1.27, so no toolchain change is needed.bumpstep to remediate GO-2026-5970.golang.org/x/crypto/ssh, whichenvconsuldoes not link (it uses onlybcrypt,blowfish,pbkdf2andscrypt), so this is not believed to be exploitable in the shipped binary — but the module version bump clears it for downstream consumers whose scanners flag at module-version level.