[TT-XXXX] Address CVEs bu upgrading vulnerable modules #7045
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.
User description
TT-14488
Description
This PR addresses the following high-severity CVEs by upgrading affected modules to their patched versions:
CVEs addressed:
github.com/hashicorp/consul/api
Changes:
Related Issue
https://tyktech.atlassian.net/browse/TT-14488
Motivation and Context
How This Has Been Tested
Screenshots (if appropriate)
Types of changes
Checklist
PR Type
enhancement
Description
Upgraded
github.com/hashicorp/consul/api
to v1.32.0Updated multiple Go module dependencies to latest versions
Refreshed indirect dependencies for improved security and compatibility
Addressed CVEs by updating vulnerable libraries
Changes walkthrough 📝
go.mod
Upgrade Consul API and update Go module dependencies
go.mod
github.com/hashicorp/consul/api
from v1.31.2 to v1.32.0golang.org/x/crypto
,golang.org/x/net
,golang.org/x/sync
,github.com/fatih/color
, etc.github.com/hashicorp/go-metrics
,github.com/hashicorp/go-sockaddr
,github.com/hashicorp/golang-lru
,github.com/hashicorp/serf
, etc.go.sum
Refresh go.sum for updated dependencies
go.sum
dependencies