-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go get -u github.com/mitchellh/cli #32188
Conversation
Thanks! This does seem reasonable to do, but I just want to note that we don't typically put this sort of thing in Terraform's changelog unless we know the upgrade will change Terraform's user-observable behavior somehow. It seems like the idea here is that this change should be entirely neutral from a user perspective -- it has fixes to codepaths that Terraform doesn't use and nothing else -- so that would be a situation where we'd typically not mention it. We should still make an effort to confirm whether that is true though; if there's anything coming along for the ride with these upgrades that would affect Terraform behavior then we should consider adding those to our changelog as if they were direct changes to Terraform. We don't expect readers of the changelog to know what Terraform's dependencies are and so I wouldn't expect to mention "mitchellh/cli" or any of these other packages in the changelog; similar principle as over in #32135 where we reframed the relevant entries from the Go release notes in terms that make sense for Terraform. |
I looked through the changes to each of the libraries that would be upgraded by this change. I found a few changes that do seem to change Terraform's observable behavior in ways that might affect end-users. Some hypothetical changelog entries below. Changes that I've confirmed:
Possible changes, not yet checked:
That last one I've not confirmed yet because it's a change made in a terminal coloring library used only indirectly by Also, the |
Thanks for digging into these, @apparentlymart! If the changes are significant / potentially-breaking, then - given that we have no evidence the security issues in indirect dependencies are actually exposed in Terraform context and we're doing this largely to avoid scanner noise & stay current - I think it'd be okay to just merge into |
I reviewed our use of The Terraform therefore doesn't use With all of that said then: I think we're good to land this in the |
Reminder for the merging maintainer: if this is a user-visible change, please update the changelog on the appropriate release branch. |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
This updates to a newer
github.com/mitchellh/cli
version, bringing in several indirect dependency updates that include fixes for security issues (specifically -github.com/Masterminds/goutils
CVE-2021-4238 and GHSA-xg2h-wx96-xgxr, andgolang.org/x/text
CVE-2022-32149 and GHSA-69ch-w2m2-3vjp). These vulnerabilities are unlikely exposed in Terraform itself, but adoption reduces vulnerability scan noise, and may ease adoption of future updates.Target Release
1.4.x, 1.3.x
Draft CHANGELOG entry
BUG FIXES