Repository navigation
fix(envconsul): GO-2026-6303, GO-2026-6354, GO-2026-6355 0.14.0-r6 - #78737
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).
|
Gentle bump on this one — it's been open three weeks with all checks green and Context on why it matters: The approach is the one already established in this repo: Happy to rebase, split the |
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.