Skip to content

fix(deps): bump OpenTofu to 1.12.6 - #16

Merged
gdrojas merged 2 commits into
mainfrom
fix/bump-vulnerable-tool-binaries
Sep 14, 2026
Merged

gdrojas merged 2 commits into
mainfrom
fix/bump-vulnerable-tool-binaries

Conversation

@gdrojas

@gdrojas gdrojas commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

What

Bump the pinned OpenTofu binary from the current pin to 1.12.6.

Why

The vulnerabilities Trivy reports against this image are not in our code. They are in the Go standard library and golang.org/x/* modules compiled into the pinned tofu binary — the binary was built with an old Go toolchain.

Measured by scanning each binary inside an identical image:

tofu Go toolchain Fixable CRITICAL/HIGH
1.10.10 (current pin) 1.24.13 51
1.11.10 22
1.12.6 1.26.6 13

The 51 figure matches exactly what the published image reports today, which confirms the measurement reflects the shipped artifact.

The residual 13 are dependencies OpenTofu itself has not yet updated — not actionable from here.

Risk

Two minor versions within the 1.x line, no major jump. OpenTofu minors are backward compatible, but this binary runs tofu apply against customer state, so it is worth exercising the normal test path before merging rather than treating it as a routine dependency bump.

Verified

tofu_1.12.6_linux_amd64.tar.gz and tofu_1.12.6_linux_arm64.tar.gz both return HTTP 200 — the build is multi-arch and needs both.

🤖 Generated with Claude Code

gdrojas and others added 2 commits September 14, 2026 14:11
The pinned build is compiled with an old Go toolchain, so Trivy reports its
vendored stdlib and x/* modules as vulnerable. Measured against the published
image: 51 fixable CRITICAL/HIGH findings on the current pin, 13 on 1.12.6.
Both linux/amd64 and linux/arm64 artifacts verified present.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The pinned build is compiled with an old Go toolchain, so Trivy reports its
vendored stdlib and x/* modules as vulnerable. Measured against the published
image: 51 fixable CRITICAL/HIGH findings on the current pin, 13 on 1.12.6.
Both linux/amd64 and linux/arm64 artifacts verified present.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@gdrojas
gdrojas merged commit 3e07ba1 into main Sep 14, 2026
6 checks passed
@gdrojas
gdrojas deleted the fix/bump-vulnerable-tool-binaries branch September 14, 2026 19:54
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.

2 participants