chore(deps): update dependency hashicorp/consul to v2.0.4 - #110
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
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.
This PR contains the following updates:
2.0.3→2.0.4Release Notes
hashicorp/consul (hashicorp/consul)
v2.0.4Compare Source
BREAKING CHANGES:
+ent.fips1402to+ent.fips1403, and package and container artifacts change from theF2suffix toF3(for example,consul-F2_1.20.4-1_amd64.debbecomesconsul-F3_1.20.4-1_amd64.deb). Pipelines that pin FIPS artifact names or version strings must be updated.SECURITY:
an mTLS-authenticated RPC client with no ACL token could terminate a Consul server by
sending a MessagePack request header with a large declared length. The MessagePack
decoder allocated a byte slice of the declared size before method lookup, ACL token
validation, or the rate-limiting interceptor could run, allowing a single oversized
header to OOM-kill the server process.
Two mitigations are applied:
Each RPC request header is now validated against RPCMaxHeaderBytes (default 512
bytes) before it is decoded. Every length prefix in the header is checked against
the limit, so an oversized value is rejected before the decoder allocates memory
for it, and the connection is closed before any ACL evaluation. Request bodies
remain unbounded by this limit.
A per-request read deadline (reusing RPCHandshakeTimeout) is applied inside
handleConsulConn and handleInsecureConn so that a slow attacker trickling an
oversized header cannot retain a goroutine and logical heap indefinitely.
ACL token with
service:writeornode:writecould delete peer-imported catalogobjects by supplying a non-default
PeerNamein aCatalog.Deregisterrequest.Authorization was checked only against the local service or node name, not the peer
origin, allowing deletion of objects in a peer-scoped catalog namespace the caller
does not control.
Catalog.Deregisternow rejects any request whosePeerNameisnot the default, mirroring the existing guard on
Catalog.RegisterandCatalog.ListServices. Legitimate peer-state deletion continues through the internalPeeringBackend.CatalogDeregisterpath.IMPROVEMENTS:
GOFIPS140=v1.0.0, CMVP Certificate #5247). The runtime FIPS line now reportsFIPS 140-3 Enabled, crypto module v1.0.0. FIPS builds no longer require cgo or a vendored Go toolchain. FIPS 140-2 and FIPS 140-3 agents are permitted to join the same cluster; rolling upgrades from+ent.fips1402to+ent.fips1403are supported.BUG FIXES:
segfault during worker startup when a route's failover upstream was rendered as
an aggregate cluster before its endpoints were assembled. Consul now holds each
xDS stream's first push until the gateway's discovery-chain endpoints are ready
(per-stream, first-push only, skipped for streams Envoy resumes, and bounded by
a 30s deadline), and renders a failover upstream as a plain EDS cluster instead
of an aggregate whenever its member endpoints are not yet available -- restoring
full failover automatically once they arrive. Steady-state updates are never
withheld. [GH-23892]
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.