grafana / loki

Like Prometheus, but for logs.
https://grafana.com/loki
GNU Affero General Public License v3.0
23.96k stars 3.46k forks source link

chore(deps): update module github.com/hashicorp/consul to v1.20.1 [security] #14701

Closed renovate[bot] closed 2 weeks ago

renovate[bot] commented 2 weeks ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/hashicorp/consul v1.14.5 -> v1.20.1 age adoption passing confidence

Hashicorp Consul Cross-site Scripting vulnerability

BIT-consul-2024-10086 / CVE-2024-10086 / GHSA-99wr-c2px-grmh

More information #### Details A vulnerability was identified in Consul and Consul Enterprise such that the server response did not explicitly set a Content-Type HTTP header, allowing user-provided inputs to be misinterpreted and lead to reflected XSS. #### Severity - CVSS Score: 6.1 / 10 (Medium) - Vector String: `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N` #### References - [https://nvd.nist.gov/vuln/detail/CVE-2024-10086](https://nvd.nist.gov/vuln/detail/CVE-2024-10086) - [https://github.com/hashicorp/consul/commit/07fae7bb0be8593cc98c38b1ef4a49ed9188932f](https://redirect.github.com/hashicorp/consul/commit/07fae7bb0be8593cc98c38b1ef4a49ed9188932f) - [https://discuss.hashicorp.com/t/hcsec-2024-24-consul-vulnerable-to-reflected-xss-on-content-type-error-manipulation](https://discuss.hashicorp.com/t/hcsec-2024-24-consul-vulnerable-to-reflected-xss-on-content-type-error-manipulation) - [https://github.com/hashicorp/consul](https://redirect.github.com/hashicorp/consul) This data is provided by [OSV](https://osv.dev/vulnerability/GHSA-99wr-c2px-grmh) and the [GitHub Advisory Database](https://redirect.github.com/github/advisory-database) ([CC-BY 4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).

Hashicorp Consul Improper Neutralization of HTTP Headers for Scripting Syntax vulnerability

BIT-consul-2024-10006 / CVE-2024-10006 / GHSA-5c4w-8hhh-3c3h

More information #### Details A vulnerability was identified in Consul and Consul Enterprise ("Consul") such that using Headers in L7 traffic intentions could bypass HTTP header based access rules. #### Severity - CVSS Score: 8.3 / 10 (High) - Vector String: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L` #### References - [https://nvd.nist.gov/vuln/detail/CVE-2024-10006](https://nvd.nist.gov/vuln/detail/CVE-2024-10006) - [https://github.com/hashicorp/consul/pull/21816](https://redirect.github.com/hashicorp/consul/pull/21816) - [https://github.com/hashicorp/consul/commit/d9206fc7e284a9244af4d62f8653a63ca30bd00c](https://redirect.github.com/hashicorp/consul/commit/d9206fc7e284a9244af4d62f8653a63ca30bd00c) - [https://discuss.hashicorp.com/t/hcsec-2024-23-consul-l7-intentions-vulnerable-to-headers-bypass](https://discuss.hashicorp.com/t/hcsec-2024-23-consul-l7-intentions-vulnerable-to-headers-bypass) - [https://github.com/hashicorp/consul](https://redirect.github.com/hashicorp/consul) This data is provided by [OSV](https://osv.dev/vulnerability/GHSA-5c4w-8hhh-3c3h) and the [GitHub Advisory Database](https://redirect.github.com/github/advisory-database) ([CC-BY 4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).

Hashicorp Consul Path Traversal vulnerability

BIT-consul-2024-10005 / CVE-2024-10005 / GHSA-chgm-7r52-whjj

More information #### Details A vulnerability was identified in Consul and Consul Enterprise ("Consul") such that using URL paths in L7 traffic intentions could bypass HTTP request path-based access rules. #### Severity - CVSS Score: 8.1 / 10 (High) - Vector String: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N` #### References - [https://nvd.nist.gov/vuln/detail/CVE-2024-10005](https://nvd.nist.gov/vuln/detail/CVE-2024-10005) - [https://github.com/hashicorp/consul/pull/21816](https://redirect.github.com/hashicorp/consul/pull/21816) - [https://github.com/hashicorp/consul/commit/d9206fc7e284a9244af4d62f8653a63ca30bd00c](https://redirect.github.com/hashicorp/consul/commit/d9206fc7e284a9244af4d62f8653a63ca30bd00c) - [https://discuss.hashicorp.com/t/hcsec-2024-22-consul-l7-intentions-vulnerable-to-url-path-bypass](https://discuss.hashicorp.com/t/hcsec-2024-22-consul-l7-intentions-vulnerable-to-url-path-bypass) - [https://github.com/hashicorp/consul](https://redirect.github.com/hashicorp/consul) This data is provided by [OSV](https://osv.dev/vulnerability/GHSA-chgm-7r52-whjj) and the [GitHub Advisory Database](https://redirect.github.com/github/advisory-database) ([CC-BY 4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).

Release Notes

hashicorp/consul (github.com/hashicorp/consul) ### [`v1.20.1`](https://redirect.github.com/hashicorp/consul/releases/tag/v1.20.1) [Compare Source](https://redirect.github.com/hashicorp/consul/compare/v1.20.0...v1.20.1) #### 1.20.1 (October 29, 2024) BREAKING CHANGES: - mesh: Enable Envoy `HttpConnectionManager.normalize_path` by default on inbound traffic to mesh proxies. This resolves [CVE-2024-10005](https://nvd.nist.gov/vuln/detail/CVE-2024-10005). \[[GH-21816](https://redirect.github.com/hashicorp/consul/issues/21816)] SECURITY: - mesh: Add `contains` and `ignoreCase` to L7 Intentions HTTP header matching criteria to support configuration resilient to variable casing and multiple values. This resolves [CVE-2024-10006](https://nvd.nist.gov/vuln/detail/CVE-2024-10006). \[[GH-21816](https://redirect.github.com/hashicorp/consul/issues/21816)] - mesh: Add `http.incoming.requestNormalization` to Mesh configuration entry to support inbound service traffic request normalization. This resolves [CVE-2024-10005](https://nvd.nist.gov/vuln/detail/CVE-2024-10005) and [CVE-2024-10006](https://nvd.nist.gov/vuln/detail/CVE-2024-10006). \[[GH-21816](https://redirect.github.com/hashicorp/consul/issues/21816)] IMPROVEMENTS: - api: remove dependency on proto-public, protobuf, and grpc \[[GH-21780](https://redirect.github.com/hashicorp/consul/issues/21780)] - snapshot agent: **(Enterprise only)** Implement Service Principal Auth for snapshot agent on azure. - xds: configures Envoy to load balance over all instances of an external service configured with hostnames when "envoy_dns_discovery_type" is set to "STRICT_DNS" \[[GH-21655](https://redirect.github.com/hashicorp/consul/issues/21655)] ### [`v1.20.0`](https://redirect.github.com/hashicorp/consul/releases/tag/v1.20.0) [Compare Source](https://redirect.github.com/hashicorp/consul/compare/v1.19.2...v1.20.0) #### 1.20.0 (October 14, 2024) SECURITY: - Explicitly set 'Content-Type' header to mitigate XSS vulnerability. \[[GH-21704](https://redirect.github.com/hashicorp/consul/issues/21704)] - Implement HTML sanitization for user-generated content to prevent XSS attacks in the UI. \[[GH-21711](https://redirect.github.com/hashicorp/consul/issues/21711)] - UI: Remove codemirror linting due to package dependency \[[GH-21726](https://redirect.github.com/hashicorp/consul/issues/21726)] - Upgrade Go to use 1.22.7. This addresses CVE [CVE-2024-34155](https://nvd.nist.gov/vuln/detail/CVE-2024-34155) \[[GH-21705](https://redirect.github.com/hashicorp/consul/issues/21705)] - Upgrade to support aws/aws-sdk-go `v1.55.5 or higher`. This resolves CVEs [CVE-2020-8911](https://nvd.nist.gov/vuln/detail/cve-2020-8911) and [CVE-2020-8912](https://nvd.nist.gov/vuln/detail/cve-2020-8912). \[[GH-21684](https://redirect.github.com/hashicorp/consul/issues/21684)] - ui: Pin a newer resolution of Braces \[[GH-21710](https://redirect.github.com/hashicorp/consul/issues/21710)] - ui: Pin a newer resolution of Codemirror \[[GH-21715](https://redirect.github.com/hashicorp/consul/issues/21715)] - ui: Pin a newer resolution of Markdown-it \[[GH-21717](https://redirect.github.com/hashicorp/consul/issues/21717)] - ui: Pin a newer resolution of ansi-html \[[GH-21735](https://redirect.github.com/hashicorp/consul/issues/21735)] FEATURES: - grafana: added the dashboards service-to-service dashboard, service dashboard, and consul dataplane dashboard \[[GH-21806](https://redirect.github.com/hashicorp/consul/issues/21806)] - server: remove v2 tenancy, catalog, and mesh experiments \[[GH-21592](https://redirect.github.com/hashicorp/consul/issues/21592)] IMPROVEMENTS: - security: upgrade ubi base image to 9.4 \[[GH-21750](https://redirect.github.com/hashicorp/consul/issues/21750)] - connect: Add Envoy 1.31 and 1.30 to support matrix \[[GH-21616](https://redirect.github.com/hashicorp/consul/issues/21616)] BUG FIXES: - jwt-provider: change dns lookup family from the default of AUTO which would prefer ipv6 to ALL if LOGICAL_DNS is used or PREFER_IPV4 if STRICT_DNS is used to gracefully handle transitions to ipv6. \[[GH-21703](https://redirect.github.com/hashicorp/consul/issues/21703)] ### [`v1.19.2`](https://redirect.github.com/hashicorp/consul/releases/tag/v1.19.2) [Compare Source](https://redirect.github.com/hashicorp/consul/compare/v1.19.1...v1.19.2) #### 1.19.2 (August 26, 2024) SECURITY: - ui: Upgrade modules with d3-color as a dependency to address denial of service issue in d3-color < 3.1.0 \[[GH-21588](https://redirect.github.com/hashicorp/consul/issues/21588)] IMPROVEMENTS: - Use Envoy's default for a route's validate_clusters option, which is false. This fixes a case where non-existent clusters could cause a route to no longer route to any of its backends, including existing ones. \[[GH-21587](https://redirect.github.com/hashicorp/consul/issues/21587)] BUG FIXES: - api-gateway: **(Enterprise only)** ensure clusters are properly created for JWT providers with a remote URI for the JWKS endpoint \[[GH-21604](https://redirect.github.com/hashicorp/consul/issues/21604)] ### [`v1.19.1`](https://redirect.github.com/hashicorp/consul/releases/tag/v1.19.1) [Compare Source](https://redirect.github.com/hashicorp/consul/compare/v1.19.0...v1.19.1) ##### 1.19.1 (July 11, 2024) SECURITY: - Upgrade envoy module dependencies to version 1.27.7, 1.28.5 and 1.29.7 or higher to resolve [CVE-2024-39305](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-39305) \[[GH-21524](https://redirect.github.com/hashicorp/consul/issues/21524)] - Upgrade go version to 1.22.5 to address [CVE-2024-24791](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-24791) \[[GH-21507](https://redirect.github.com/hashicorp/consul/issues/21507)] - Upgrade go-retryablehttp to address [CVE-2024-6104](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-6104) \[[GH-21384](https://redirect.github.com/hashicorp/consul/issues/21384)] - agent: removed reflected cross-site scripting vulnerability \[[GH-21342](https://redirect.github.com/hashicorp/consul/issues/21342)] - ui: Pin and namespace sub-module dependencies related to the Consul UI \[[GH-21378](https://redirect.github.com/hashicorp/consul/issues/21378)] IMPROVEMENTS: - mesh: update supported envoy version 1.29.5 in addition to 1.28.4, 1.27.6. \[[GH-21277](https://redirect.github.com/hashicorp/consul/issues/21277)] BUG FIXES: - core: Fix multiple incorrect type conversion for potential overflows \[[GH-21251](https://redirect.github.com/hashicorp/consul/issues/21251)] - core: Fix panic runtime error on AliasCheck \[[GH-21339](https://redirect.github.com/hashicorp/consul/issues/21339)] - dns: Fix a regression where DNS SRV questions were returning duplicate hostnames instead of encoded IPs. This affected Nomad integrations with Consul. \[[GH-21361](https://redirect.github.com/hashicorp/consul/issues/21361)] - dns: Fix a regression where DNS tags using the standard lookup syntax, `tag.name.service.consul`, were being disregarded. \[[GH-21361](https://redirect.github.com/hashicorp/consul/issues/21361)] - dns: Fixes a spam log message "Failed to parse TTL for prepared query..." that was always being logged on each prepared query evaluation. \[[GH-21381](https://redirect.github.com/hashicorp/consul/issues/21381)] - terminating-gateway: **(Enterprise Only)** Fixed issue where enterprise metadata applied to linked services was the terminating-gateways enterprise metadata and not the linked services enterprise metadata. \[[GH-21382](https://redirect.github.com/hashicorp/consul/issues/21382)] - txn: Fix a bug where mismatched Consul server versions could result in undetected data loss for when using newer Transaction verbs. \[[GH-21519](https://redirect.github.com/hashicorp/consul/issues/21519)] ### [`v1.19.0`](https://redirect.github.com/hashicorp/consul/releases/tag/v1.19.0) [Compare Source](https://redirect.github.com/hashicorp/consul/compare/v1.18.2...v1.19.0) ##### 1.19.0 (June 12, 2024) BREAKING CHANGES: - telemetry: State store usage metrics with a double `consul` element in the metric name have been removed. Please use the same metric without the second `consul` instead. As an example instead of `consul.consul.state.config_entries` use `consul.state.config_entries` \[[GH-20674](https://redirect.github.com/hashicorp/consul/issues/20674)] SECURITY: - Upgrade to support Envoy `1.27.5 and 1.28.3`. This resolves CVE [CVE-2024-32475](https://nvd.nist.gov/vuln/detail/CVE-2024-32475) (`auto_sni`). \[[GH-21017](https://redirect.github.com/hashicorp/consul/issues/21017)] - Upgrade to support k8s.io/apimachinery `v0.18.7 or higher`. This resolves CVE [CVE-2020-8559](https://nvd.nist.gov/vuln/detail/CVE-2020-8559). \[[GH-21017](https://redirect.github.com/hashicorp/consul/issues/21017)] FEATURES: - dns: queries now default to a refactored DNS server that is v1 and v2 Catalog compatible. Use `v1dns` in the `experiments` agent config to disable. The legacy server will be removed in a future release of Consul. See the [Consul 1.19.x Release Notes](https://developer.hashicorp.com/consul/docs/release-notes/consul/v1\_19\_x) for removed DNS features. \[[GH-20715](https://redirect.github.com/hashicorp/consul/issues/20715)] - gateways: api-gateway can leverage listener TLS certificates available on the gateway's local filesystem by specifying the public certificate and private key path in the new file-system-certificate configuration entry \[[GH-20873](https://redirect.github.com/hashicorp/consul/issues/20873)] IMPROVEMENTS: - dns: new version was not supporting partition or namespace being set to 'default' in CE version. \[[GH-21230](https://redirect.github.com/hashicorp/consul/issues/21230)] - mesh: update supported envoy version 1.29.4 in addition to 1.28.3, 1.27.5, 1.26.8. \[[GH-21142](https://redirect.github.com/hashicorp/consul/issues/21142)] - upgrade go version to v1.22.4. \[[GH-21265](https://redirect.github.com/hashicorp/consul/issues/21265)] - Upgrade `github.com/envoyproxy/go-control-plane` to 0.12.0. \[[GH-20973](https://redirect.github.com/hashicorp/consul/issues/20973)] - dns: DNS-over-grpc when using `consul-dataplane` now accepts partition, namespace, token as metadata to default those query parameters. `consul-dataplane` v1.5+ will send this information automatically. \[[GH-20899](https://redirect.github.com/hashicorp/consul/issues/20899)] - snapshot: Add `consul snapshot decode` CLI command to output a JSON object stream of all the snapshots data. \[[GH-20824](https://redirect.github.com/hashicorp/consul/issues/20824)] - telemetry: Add `telemetry.disable_per_tenancy_usage_metrics` in agent configuration to disable setting tenancy labels on usage metrics. This significantly decreases CPU utilization in clusters with many admin partitions or namespaces. - telemetry: Improved the performance usage metrics emission by not outputting redundant metrics. \[[GH-20674](https://redirect.github.com/hashicorp/consul/issues/20674)] DEPRECATIONS: - snapshot agent: **(Enterprise only)** Top level single snapshot destinations `local_storage`, `aws_storage`, `azure_blob_storage`, and `google_storage` in snapshot agent configuration files are now deprecated. Use the `backup_destinations` config object instead. BUG FIXES: - docs: Consul DNS Forwarding configuration for OpenShift update for [Resolve Consul DNS Requests in Kubernetes](https://developer.hashicorp.com/consul/docs/k8s/dns) \[[GH-20439](https://redirect.github.com/hashicorp/consul/issues/20439)] - hcp: fix error logs when failing to push metrics \[[GH-20514](https://redirect.github.com/hashicorp/consul/issues/20514)] - streaming: Handle ACL errors consistently when blocking query timeout is reached. \[[GH-20876](https://redirect.github.com/hashicorp/consul/issues/20876)] ### [`v1.18.2`](https://redirect.github.com/hashicorp/consul/releases/tag/v1.18.2) [Compare Source](https://redirect.github.com/hashicorp/consul/compare/v1.18.1...v1.18.2) #### 1.18.2 (May 14, 2024) **Enterprise LTS**: Consul Enterprise 1.18 is a Long-Term Support (LTS) release. SECURITY: - Bump Dockerfile base image to `alpine:3.19`. \[[GH-20897](https://redirect.github.com/hashicorp/consul/issues/20897)] - Update `vault/api` to v1.12.2 to address [CVE-2024-28180](https://nvd.nist.gov/vuln/detail/CVE-2024-28180) (removes indirect dependency on impacted `go-jose.v2`) \[[GH-20910](https://redirect.github.com/hashicorp/consul/issues/20910)] - Upgrade Go to use 1.21.10. This addresses CVEs [CVE-2024-24787](https://nvd.nist.gov/vuln/detail/CVE-2024-24787) and [CVE-2024-24788](https://nvd.nist.gov/vuln/detail/CVE-2024-24788) \[[GH-21074](https://redirect.github.com/hashicorp/consul/issues/21074)] - Upgrade to support Envoy `1.26.8, 1.27.4, 1.27.5, 1.28.2 and 1.28.3`. This resolves CVEs [CVE-2024-27919](https://nvd.nist.gov/vuln/detail/CVE-2024-27919) (`http2`). \[[GH-20956](https://redirect.github.com/hashicorp/consul/issues/20956)] and [CVE-2024-32475](https://nvd.nist.gov/vuln/detail/CVE-2024-32475) (`auto_sni`). \[[GH-21030](https://redirect.github.com/hashicorp/consul/issues/21030)] - Upgrade to support k8s.io/apimachinery `v0.18.7 or higher`. This resolves CVE [CVE-2020-8559](https://nvd.nist.gov/vuln/detail/CVE-2020-8559). \[[GH-21034](https://redirect.github.com/hashicorp/consul/issues/21034)] - Upgrade to use Go `1.21.9`. This resolves CVE [CVE-2023-45288](https://nvd.nist.gov/vuln/detail/CVE-2023-45288) (`http2`). \[[GH-20956](https://redirect.github.com/hashicorp/consul/issues/20956)] - Upgrade to use golang.org/x/net `v0.24.0`. This resolves CVE [CVE-2023-45288](https://nvd.nist.gov/vuln/detail/CVE-2023-45288) (`x/net`). \[[GH-20956](https://redirect.github.com/hashicorp/consul/issues/20956)] IMPROVEMENTS: - gateways: service defaults configuration entries can now be used to set default upstream limits for mesh-gateways \[[GH-20945](https://redirect.github.com/hashicorp/consul/issues/20945)] - connect: Add ability to disable Auto Host Header Rewrite on Terminating Gateway at the service level \[[GH-20802](https://redirect.github.com/hashicorp/consul/issues/20802)] BUG FIXES: - dns: fix a bug with sameness group queries in DNS where responses did not respect [`DefaultForFailover`](/consul/docs/connect/config-entries/sameness-group#defaultforfailover). DNS requests against sameness groups without this field set will now error as intended. - error running consul server in 1.18.0: failed to configure SCADA provider user's home directory path: $HOME is not defined \[[GH-20926](https://redirect.github.com/hashicorp/consul/issues/20926)] - server: fix Ent snapshot restore on CE when CE downgrade is enabled \[[GH-20977](https://redirect.github.com/hashicorp/consul/issues/20977)] - xds: Make TCP external service registered with terminating gateway reachable from peered cluster \[[GH-19881](https://redirect.github.com/hashicorp/consul/issues/19881)] ### [`v1.18.1`](https://redirect.github.com/hashicorp/consul/releases/tag/v1.18.1) [Compare Source](https://redirect.github.com/hashicorp/consul/compare/v1.18.0...v1.18.1) #### 1.18.1 (March 26, 2024) Enterprise LTS: Consul Enterprise 1.18 is a Long-Term Support (LTS) release. BREAKING CHANGES: - ui: Adds a "Link to HCP Consul Central" modal with integration to side-nav and link to HCP banner. There will be an option to disable the Link to HCP banner from the UI in a follow-up release. \[[GH-20474](https://redirect.github.com/hashicorp/consul/issues/20474)] SECURITY: - Update `google.golang.org/protobuf` to v1.33.0 to address [CVE-2024-24786](https://nvd.nist.gov/vuln/detail/CVE-2024-24786). \[[GH-20801](https://redirect.github.com/hashicorp/consul/issues/20801)] - Update the Consul Build Go base image to `alpine3.19`. This resolves CVEs [CVE-2023-52425](https://nvd.nist.gov/vuln/detail/CVE-2023-52425) [CVE-2023-52426](https://nvd.nist.gov/vuln/detail/CVE-2023-52426) \[[GH-20812](https://redirect.github.com/hashicorp/consul/issues/20812)] - Upgrade to use Go `1.21.8`. This resolves CVEs [CVE-2024-24783](https://nvd.nist.gov/vuln/detail/CVE-2024-24783) (`crypto/x509`). [CVE-2023-45290](https://nvd.nist.gov/vuln/detail/CVE-2023-45290) (`net/http`). [CVE-2023-45289](https://nvd.nist.gov/vuln/detail/CVE-2023-45289) (`net/http`, `net/http/cookiejar`). [CVE-2024-24785](https://nvd.nist.gov/vuln/detail/CVE-2024-24785) (`html/template`). [CVE-2024-24784](https://nvd.nist.gov/vuln/detail/CVE-2024-24784) (`net/mail`). \[[GH-20812](https://redirect.github.com/hashicorp/consul/issues/20812)] IMPROVEMENTS: - api: Randomize the returned server list for the WatchServers gRPC endpoint. \[[GH-20866](https://redirect.github.com/hashicorp/consul/issues/20866)] - partitions: **(Enterprise only)** Allow disabling of Gossip per Partition \[[GH-20669](https://redirect.github.com/hashicorp/consul/issues/20669)] - snapshot agent: **(Enterprise only)** Add support for multiple snapshot destinations using the `backup_destinations` config file object. - xds: Improved the performance of xDS server side load balancing. Its slightly improved in Consul CE with drastic CPU usage reductions in Consul Enterprise. \[[GH-20672](https://redirect.github.com/hashicorp/consul/issues/20672)] BUG FIXES: - audit-logs: **(Enterprise Only)** Fixes non ASCII characters in audit logs because of gzip. \[[GH-20345](https://redirect.github.com/hashicorp/consul/issues/20345)] - connect: Fix issue where Consul-dataplane xDS sessions would not utilize the streaming backend for wan-federated queries. \[[GH-20868](https://redirect.github.com/hashicorp/consul/issues/20868)] - connect: Fix potential goroutine leak in xDS stream handling. \[[GH-20866](https://redirect.github.com/hashicorp/consul/issues/20866)] - connect: Fix xDS deadlock that could result in proxies being unable to start. \[[GH-20867](https://redirect.github.com/hashicorp/consul/issues/20867)] - ingress-gateway: **(Enterprise Only)** Fix a bug where on update, Ingress Gateways lost all upstreams for listeners with wildcard services in a different namespace. ### [`v1.18.0`](https://redirect.github.com/hashicorp/consul/releases/tag/v1.18.0) [Compare Source](https://redirect.github.com/hashicorp/consul/compare/v1.17.4...v1.18.0) BREAKING CHANGES: - config-entries: Allow disabling request and idle timeouts with negative values in service router and service resolver config entries. \[[GH-19992](https://redirect.github.com/hashicorp/consul/issues/19992)] - telemetry: Adds fix to always use the value of `telemetry.disable_hostname` when determining whether to prefix gauge-type metrics with the hostname of the Consul agent. Previously, if only the default metric sink was enabled, this configuration was ignored and always treated as `true`, even though its default value is `false`. \[[GH-20312](https://redirect.github.com/hashicorp/consul/issues/20312)] SECURITY: - Update `golang.org/x/crypto` to v0.17.0 to address [CVE-2023-48795](https://nvd.nist.gov/vuln/detail/CVE-2023-48795). \[[GH-20023](https://redirect.github.com/hashicorp/consul/issues/20023)] - connect: Update supported envoy versions to 1.24.12, 1.25.11, 1.26.6, 1.27.2 to address [CVE-2023-44487](https://redirect.github.com/envoyproxy/envoy/security/advisories/GHSA-jhv4-f7mr-xx76) \[[GH-19306](https://redirect.github.com/hashicorp/consul/issues/19306)] - mesh: Update Envoy versions to 1.28.1, 1.27.3, and 1.26.7 to address [CVE-2024-23324](https://redirect.github.com/envoyproxy/envoy/security/advisories/GHSA-gq3v-vvhj-96j6), [CVE-2024-23325](https://redirect.github.com/envoyproxy/envoy/security/advisories/GHSA-5m7c-mrwr-pm26), [CVE-2024-23322](https://redirect.github.com/envoyproxy/envoy/security/advisories/GHSA-6p83-mfmh-qv38), [CVE-2024-23323](https://redirect.github.com/envoyproxy/envoy/security/advisories/GHSA-x278-4w4x-r7ch), [CVE-2024-23327](https://redirect.github.com/envoyproxy/envoy/security/advisories/GHSA-4h5x-x9vh-m29j), [CVE-2023-44487](https://redirect.github.com/envoyproxy/envoy/security/advisories/GHSA-jhv4-f7mr-xx76), [GH-20589](https://redirect.github.com/hashicorp/consul/issues/20589)], [CVE-2023-44487](https://redirect.github.com/envoyproxy/envoy/security/advisories/GHSA-jhv4-f7mr-xx76), and \[[GH-19879](https://redirect.github.com/hashicorp/consul/issues/19879)] FEATURES: - acl: add policy bindtype to binding rules. \[[GH-19499](https://redirect.github.com/hashicorp/consul/issues/19499)] - agent: Introduces a new agent config default_intention_policy to decouple the default intention behavior from ACLs \[[GH-20544](https://redirect.github.com/hashicorp/consul/issues/20544)] - agent: **(Enterprise Only)** Add fault injection filter support for Consul Service Mesh - cloud: Adds new API/CLI to initiate and manage linking a Consul cluster to HCP Consul Central \[[GH-20312](https://redirect.github.com/hashicorp/consul/issues/20312)] - dns: adds experimental support for a refactored DNS server that is v1 and v2 Catalog compatible. Use `v2dns` in the `experiments` agent config to enable. It will automatically be enabled when using the `resource-apis` (Catalog v2) experiment. The new DNS implementation will be the default in Consul 1.19. See the [Consul 1.18.x Release Notes](https://developer.hashicorp.com/consul/docs/release-notes/consul/v1\_18\_x) for deprecated DNS features. \[[GH-20643](https://redirect.github.com/hashicorp/consul/issues/20643)] - ui: Added a banner to let users link their clusters to HCP \[[GH-20275](https://redirect.github.com/hashicorp/consul/issues/20275)] - ui: Adds a redirect and warning message around unavailable UI with V2 enabled \[[GH-20359](https://redirect.github.com/hashicorp/consul/issues/20359)] - ui: adds V2CatalogEnabled to config that is passed to the ui \[[GH-20353](https://redirect.github.com/hashicorp/consul/issues/20353)] - v2: prevent use of the v2 experiments in secondary datacenters for now \[[GH-20299](https://redirect.github.com/hashicorp/consul/issues/20299)] IMPROVEMENTS: - cloud: unconditionally add Access-Control-Expose-Headers HTTP header \[[GH-20220](https://redirect.github.com/hashicorp/consul/issues/20220)] - connect: Replace usage of deprecated Envoy field `envoy.config.core.v3.HeaderValueOption.append`. \[[GH-20078](https://redirect.github.com/hashicorp/consul/issues/20078)] - connect: Replace usage of deprecated Envoy fields `envoy.config.route.v3.HeaderMatcher.safe_regex_match` and `envoy.type.matcher.v3.RegexMatcher.google_re2`. \[[GH-20013](https://redirect.github.com/hashicorp/consul/issues/20013)] - docs: add Link API documentation \[[GH-20308](https://redirect.github.com/hashicorp/consul/issues/20308)] - resource: lowercase names enforced for v2 resources only. \[[GH-19218](https://redirect.github.com/hashicorp/consul/issues/19218)] BUG FIXES: - dns: SERVFAIL when resolving not found PTR records. \[[GH-20679](https://redirect.github.com/hashicorp/consul/issues/20679)] - raft: Fix panic during downgrade from enterprise to oss. \[[GH-19311](https://redirect.github.com/hashicorp/consul/issues/19311)] - server: Ensure controllers are automatically restarted on internal stream errors. \[[GH-20642](https://redirect.github.com/hashicorp/consul/issues/20642)] - server: Ensure internal streams are properly terminated on snapshot restore. \[[GH-20642](https://redirect.github.com/hashicorp/consul/issues/20642)] - snapshot-agent: **(Enterprise only)** Fix a bug with static AWS credentials where one of the key id or secret key is provided via config file and the other is provided via an environment variable. ### [`v1.17.4`](https://redirect.github.com/hashicorp/consul/compare/v1.17.3...v1.17.4) [Compare Source](https://redirect.github.com/hashicorp/consul/compare/v1.17.3...v1.17.4) ### [`v1.17.3`](https://redirect.github.com/hashicorp/consul/releases/tag/v1.17.3) [Compare Source](https://redirect.github.com/hashicorp/consul/compare/v1.17.2...v1.17.3) #### 1.17.3 (February 13, 2024) SECURITY: - mesh: Update Envoy versions to 1.27.3 and 1.26.7 to address [CVE-2024-23324](https://redirect.github.com/envoyproxy/envoy/security/advisories/GHSA-gq3v-vvhj-96j6), [CVE-2024-23325](https://redirect.github.com/envoyproxy/envoy/security/advisories/GHSA-5m7c-mrwr-pm26), [CVE-2024-23322](https://redirect.github.com/envoyproxy/envoy/security/advisories/GHSA-6p83-mfmh-qv38), [CVE-2024-23323](https://redirect.github.com/envoyproxy/envoy/security/advisories/GHSA-x278-4w4x-r7ch), [CVE-2024-23327](https://redirect.github.com/envoyproxy/envoy/security/advisories/GHSA-4h5x-x9vh-m29j), and [CVE-2023-44487](https://redirect.github.com/envoyproxy/envoy/security/advisories/GHSA-jhv4-f7mr-xx76) \[[GH-20587](https://redirect.github.com/hashicorp/consul/issues/20587)] FEATURES: - cli: Adds new command `exported-services` to list all services exported and their consumers. Refer to the [CLI docs](https://developer.hashicorp.com/consul/commands/exported-services) for more information. \[[GH-20331](https://redirect.github.com/hashicorp/consul/issues/20331)] IMPROVEMENTS: - ProxyCfg: avoid setting a watch on `Internal.ServiceDump` when mesh gateway is not used. \[[GH-20168](https://redirect.github.com/hashicorp/consul/issues/20168)] - ProxyCfg: only return the nodes list when querying the `Internal.ServiceDump` watch from proxycfg \[[GH-20168](https://redirect.github.com/hashicorp/consul/issues/20168)] - Upgrade to use Go 1.21.7. \[[GH-20545](https://redirect.github.com/hashicorp/consul/issues/20545)] - api: add a new api(/v1/exported-services) to list all the exported service and their consumers. \[[GH-20015](https://redirect.github.com/hashicorp/consul/issues/20015)] - connect: Add `CaseInsensitive` flag to service-routers that allows paths and path prefixes to ignore URL upper and lower casing. \[[GH-19647](https://redirect.github.com/hashicorp/consul/issues/19647)] BUG FIXES: - audit-logs: **(Enterprise Only)** Fixes non ASCII characters in audit logs because of gzip. \[[GH-20345](https://redirect.github.com/hashicorp/consul/issues/20345)] - connect: Fix issue where re-persisting existing proxy-defaults using `http` protocol fails with a protocol-mismatch error. \[[GH-20481](https://redirect.github.com/hashicorp/consul/issues/20481)] - connect: Fix regression with SAN matching on terminating gateways [GH-20360](https://redirect.github.com/hashicorp/consul/issues/20360) \[[GH-20417](https://redirect.github.com/hashicorp/consul/issues/20417)] - connect: Remove code coupling where the xDS capacity controller could negatively affect raft autopilot performance. \[[GH-20511](https://redirect.github.com/hashicorp/consul/issues/20511)] - logging: add /api prefix to v2 resource endpoint logs \[[GH-20352](https://redirect.github.com/hashicorp/consul/issues/20352)] - mesh: Fix bug where envoy extensions could not be configured with "permissive" mTLS mode. Note that envoy extensions currently do not apply to non-mTLS traffic in permissive mode. \[[GH-20406](https://redirect.github.com/hashicorp/consul/issues/20406)] ### [`v1.17.2`](https://redirect.github.com/hashicorp/consul/releases/tag/v1.17.2) [Compare Source](https://redirect.github.com/hashicorp/consul/compare/v1.17.1...v1.17.2) #### 1.17.2 (January 23, 2024) KNOWN ISSUES: - connect: Consul versions 1.17.2 and 1.16.5 perform excessively strict TLS SAN verification on terminating gateways, which prevents connections outside of the mesh to upstream services. Terminating gateway users are advised to avoid deploying these Consul versions. A fix will be present in a future release of Consul 1.17.3 and 1.16.6. \[[GH-20360](https://redirect.github.com/hashicorp/consul/issues/20360)] SECURITY: - Upgrade OpenShift container images to use `ubi9-minimal:9.3` as the base image. \[[GH-20014](https://redirect.github.com/hashicorp/consul/issues/20014)] IMPROVEMENTS: - connect: Remove usage of deprecated Envoy field `match_subject_alt_names` in favor of `match_typed_subject_alt_names`. \[[GH-19954](https://redirect.github.com/hashicorp/consul/issues/19954)] - connect: replace usage of deprecated Envoy field `envoy.config.router.v3.WeightedCluster.total_weight`. \[[GH-20011](https://redirect.github.com/hashicorp/consul/issues/20011)] - xds: Replace usage of deprecated Envoy field `envoy.config.cluster.v3.Cluster.http_protocol_options` \[[GH-20010](https://redirect.github.com/hashicorp/consul/issues/20010)] - xds: remove usages of deprecated Envoy fields: `envoy.config.cluster.v3.Cluster.http2_protocol_options`, `envoy.config.bootstrap.v3.Admin.access_log_path` \[[GH-19940](https://redirect.github.com/hashicorp/consul/issues/19940)] - xds: replace usage of deprecated Envoy field `envoy.extensions.filters.http.lua.v3.Lua.inline_code` \[[GH-20012](https://redirect.github.com/hashicorp/consul/issues/20012)] DEPRECATIONS: - cli: Deprecate the `-admin-access-log-path` flag from `consul connect envoy` command in favor of: `-admin-access-log-config`. \[[GH-19943](https://redirect.github.com/hashicorp/consul/issues/19943)] BUG FIXES: - prepared-query: (Enterprise-only) Fix issue where sameness-group failover targets to peers would attempt to query data from the default partition, rather than the sameness-group's partition always. - ui: update token list on Role details page to show only linked tokens \[[GH-19912](https://redirect.github.com/hashicorp/consul/issues/19912)] ### [`v1.17.1`](https://redirect.github.com/hashicorp/consul/releases/tag/v1.17.1) [Compare Source](https://redirect.github.com/hashicorp/consul/compare/v1.17.0...v1.17.1) #### 1.17.1 (December 12, 2023) SECURITY: - Update `github.com/golang-jwt/jwt/v4` to v4.5.0 to address [PRISMA-2022-0270](https://redirect.github.com/golang-jwt/jwt/issues/258). \[[GH-19705](https://redirect.github.com/hashicorp/consul/issues/19705)] - Upgrade to use Go 1.20.12. This resolves CVEs [CVE-2023-45283](https://nvd.nist.gov/vuln/detail/CVE-2023-45283): (`path/filepath`) recognize ??\ as a Root Local Device path prefix (Windows) [CVE-2023-45284](https://nvd.nist.gov/vuln/detail/CVE-2023-45285): recognize device names with trailing spaces and superscripts (Windows) [CVE-2023-39326](https://nvd.nist.gov/vuln/detail/CVE-2023-39326): (`net/http`) limit chunked data overhead [CVE-2023-45285](https://nvd.nist.gov/vuln/detail/CVE-2023-45285): (`cmd/go`) go get may unexpectedly fallback to insecure git \[[GH-19840](https://redirect.github.com/hashicorp/consul/issues/19840)] - connect: update supported envoy versions to 1.24.12, 1.25.11, 1.26.6, 1.27.2 to address [CVE-2023-44487](https://redirect.github.com/envoyproxy/envoy/security/advisories/GHSA-jhv4-f7mr-xx76) \[[GH-19274](https://redirect.github.com/hashicorp/consul/issues/19274)] FEATURES: - acl: Adds nomad client templated policy \[[GH-19827](https://redirect.github.com/hashicorp/consul/issues/19827)] - cli: Adds new subcommand `peering exported-services` to list services exported to a peer . Refer to the [CLI docs](https://developer.hashicorp.com/consul/commands/peering) for more information. \[[GH-19821](https://redirect.github.com/hashicorp/consul/issues/19821)] IMPROVEMENTS: - mesh: parse the proxy-defaults protocol when write the config-entry to avoid parsing it when compiling the discovery chain. \[[GH-19829](https://redirect.github.com/hashicorp/consul/issues/19829)] - wan-federation: use a hash to diff config entries when replicating in the secondary DC to avoid unnecessary writes.. \[[GH-19795](https://redirect.github.com/hashicorp/consul/issues/19795)] - Replaces UI Side Nav with Helios Design System Side Nav. Adds dc/partition/namespace searching in Side Nav. \[[GH-19342](https://redirect.github.com/hashicorp/consul/issues/19342)] - acl: add api-gateway templated policy \[[GH-19728](https://redirect.github.com/hashicorp/consul/issues/19728)] - acl: add templated policy descriptions \[[GH-19735](https://redirect.github.com/hashicorp/consul/issues/19735)] - api: Add support for listing ACL tokens by service name when using templated policies. \[[GH-19666](https://redirect.github.com/hashicorp/consul/issues/19666)] - cli: stop simultaneous usage of -templated-policy and -templated-policy-file when creating a role or token. \[[GH-19389](https://redirect.github.com/hashicorp/consul/issues/19389)] - cloud: push additional server TLS metadata to HCP \[[GH-19682](https://redirect.github.com/hashicorp/consul/issues/19682)] - connect: Default `stats_flush_interval` to 60 seconds when using the Consul Telemetry Collector, unless custom stats sink are present or an explicit flush interval is configured. \[[GH-19663](https://redirect.github.com/hashicorp/consul/issues/19663)] - metrics: increment consul.client.rpc.failed if RPC fails because no servers are accessible \[[GH-19721](https://redirect.github.com/hashicorp/consul/issues/19721)] - metrics: modify consul.client.rpc metric to exclude internal retries for consistency with consul.client.rpc.exceeded and consul.client.rpc.failed \[[GH-19721](https://redirect.github.com/hashicorp/consul/issues/19721)] - ui: move nspace and partitions requests into their selector menus \[[GH-19594](https://redirect.github.com/hashicorp/consul/issues/19594)] BUG FIXES: - CLI: fix a panic when deleting a non existing policy by name. \[[GH-19679](https://redirect.github.com/hashicorp/consul/issues/19679)] - Mesh Gateways: Fix a bug where replicated and peered mesh gateways with hostname-based WAN addresses fail to initialize. \[[GH-19268](https://redirect.github.com/hashicorp/consul/issues/19268)] - ca: Fix bug with Vault CA provider where renewing a retracted token would cause retries in a tight loop, degrading performance. \[[GH-19285](https://redirect.github.com/hashicorp/consul/issues/19285)] - ca: Fix bug with Vault CA provider where token renewal goroutines could leak if CA failed to initialize. \[[GH-19285](https://redirect.github.com/hashicorp/consul/issues/19285)] - connect: Solves an issue where two upstream services with the same name in different namespaces were not getting routed to correctly by API Gateways. \[[GH-19860](https://redirect.github.com/hashicorp/consul/issues/19860)] - federation: **(Enterprise Only)** Fixed an issue where namespace reconciliation could result into the secondary having dangling instances of namespaces marked for deletion - ui: clear peer on home logo link \[[GH-19549](https://redirect.github.com/hashicorp/consul/issues/19549)] - ui: fix being able to view peered services from non-default namespaces \[[GH-19586](https://redirect.github.com/hashicorp/consul/issues/19586)] - ui: stop manually reconciling services if peering is enabled \[[GH-19907](https://redirect.github.com/hashicorp/consul/issues/19907)] - wan-federation: Fix a bug where servers wan-federated through mesh-gateways could crash due to overlapping LAN IP addresses. \[[GH-19503](https://redirect.github.com/hashicorp/consul/issues/19503)] - xds: Add configurable `xds_fetch_timeout_ms` option to proxy registrations that allows users to prevent endpoints from dropping when they have proxies with a large number of upstreams. \[[GH-19871](https://redirect.github.com/hashicorp/consul/issues/19871)] - xds: ensure child resources are re-sent to Envoy when the parent is updated even if the child already has pending updates. \[[GH-19866](https://redirect.github.com/hashicorp/consul/issues/19866)] ### [`v1.17.0`](https://redirect.github.com/hashicorp/consul/releases/tag/v1.17.0) [Compare Source](https://redirect.github.com/hashicorp/consul/compare/v1.16.7...v1.17.0) #### 1.17.0 (October 31, 2023) BREAKING CHANGES: - api: RaftLeaderTransfer now requires an id string. An empty string can be specified to keep the old behavior. \[[GH-17107](https://redirect.github.com/hashicorp/consul/issues/17107)] - audit-logging: **(Enterprise only)** allowing timestamp based filename only on rotation. initially the filename will be just file.json \[[GH-18668](https://redirect.github.com/hashicorp/consul/issues/18668)] DEPRECATIONS: - cli: Deprecate the `-admin-access-log-path` flag from `consul connect envoy` command in favor of: `-admin-access-log-config`. \[[GH-15946](https://redirect.github.com/hashicorp/consul/issues/15946)] SECURITY: - Update `golang.org/x/net` to v0.17.0 to address [CVE-2023-39325](https://nvd.nist.gov/vuln/detail/CVE-2023-39325) / [CVE-2023-44487](https://nvd.nist.gov/vuln/detail/CVE-2023-44487)(`x/net/http2`). \[[GH-19225](https://redirect.github.com/hashicorp/consul/issues/19225)] - Upgrade Go to 1.20.10. This resolves vulnerability [CVE-2023-39325](https://nvd.nist.gov/vuln/detail/CVE-2023-39325) / [CVE-2023-44487](https://nvd.nist.gov/vuln/detail/CVE-2023-44487)(`net/http`). \[[GH-19225](https://redirect.github.com/hashicorp/consul/issues/19225)] - Upgrade `google.golang.org/grpc` to 1.56.3. This resolves vulnerability [CVE-2023-44487](https://nvd.nist.gov/vuln/detail/CVE-2023-44487). \[[GH-19414](https://redirect.github.com/hashicorp/consul/issues/19414)] - connect: update supported envoy versions to 1.24.12, 1.25.11, 1.26.6, 1.27.2 to address [CVE-2023-44487](https://redirect.github.com/envoyproxy/envoy/security/advisories/GHSA-jhv4-f7mr-xx76) \[[GH-19275](https://redirect.github.com/hashicorp/consul/issues/19275)] FEATURE PREVIEW: **Catalog v2** This release provides the ability to preview Consul's v2 Catalog and Resource API if enabled. The new model supports multi-port application deployments with only a single Envoy proxy. Note that the v1 and v2 catalogs are not cross compatible, and not all Consul features are available within this v2 feature preview. See the [v2 Catalog and Resource API documentation](https://developer.hashicorp.com/consul/docs/architecture/v2) for more information. The v2 Catalog and Resources API should be considered a feature preview within this release and should not be used in production environments. Limitations - The v2 catalog API feature preview does not support connections with client agents. As a result, it is only available for Kubernetes deployments, which use [Consul dataplanes](consul/docs/connect/dataplane) instead of client agents. - The v1 and v2 catalog APIs cannot run concurrently. - The Consul UI does not support multi-port services or the v2 catalog API in this release. - HCP Consul does not support multi-port services or the v2 catalog API in this release. Significant Pull Requests - [\[Catalog resource controllers\]](https://redirect.github.com/hashicorp/consul/tree/e6b724d06249d3e62cd75afe3ee6042ba1fd5415/internal/catalog/internal/controllers) - [\[Mesh resource controllers\]](https://redirect.github.com/hashicorp/consul/tree/e6b724d06249d3e62cd75afe3ee6042ba1fd5415/internal/mesh/internal/controllers) - [\[Auth resource controllers\]](https://redirect.github.com/hashicorp/consul/tree/e6b724d06249d3e62cd75afe3ee6042ba1fd5415/internal/auth/internal) - [\[V2 Protobufs\]](https://redirect.github.com/hashicorp/consul/tree/e6b724d06249d3e62cd75afe3ee6042ba1fd5415/proto-public) FEATURES: - Support custom watches on the Consul Controller framework. \[[GH-18439](https://redirect.github.com/hashicorp/consul/issues/18439)] - Windows: support consul connect envoy command on Windows \[[GH-17694](https://redirect.github.com/hashicorp/consul/issues/17694)] - acl: Add BindRule support for templated policies. Add new BindType: templated-policy and BindVar field for templated policy variables. \[[GH-18719](https://redirect.github.com/hashicorp/consul/issues/18719)] - acl: Add new `acl.tokens.dns` config field which specifies the token used implicitly during dns checks. \[[GH-17936](https://redirect.github.com/hashicorp/consul/issues/17936)] - acl: Added ACL Templated policies to simplify getting the right ACL token. \[[GH-18708](https://redirect.github.com/hashicorp/consul/issues/18708)] - acl: Adds a new ACL rule for workload identities \[[GH-18769](https://redirect.github.com/hashicorp/consul/issues/18769)] - acl: Adds workload identity templated policy \[[GH-19077](https://redirect.github.com/hashicorp/consul/issues/19077)] - api-gateway: Add support for response header modifiers on http-route configuration entry \[[GH-18646](https://redirect.github.com/hashicorp/consul/issues/18646)] - api-gateway: add retry and timeout filters \[[GH-18324](https://redirect.github.com/hashicorp/consul/issues/18324)] - cli: Add `bind-var` flag to `consul acl binding-rule` for templated policy variables. \[[GH-18719](https://redirect.github.com/hashicorp/consul/issues/18719)] - cli: Add `consul acl templated-policy` commands to read, list and preview templated policies. \[[GH-18816](https://redirect.github.com/hashicorp/consul/issues/18816)] - config-entry(api-gateway): (Enterprise only) Add GatewayPolicy to APIGateway Config Entry listeners - config-entry(api-gateway): (Enterprise only) Add JWTFilter to HTTPRoute Filters - dataplane: Allow getting bootstrap parameters when using V2 APIs \[[GH-18504](https://redirect.github.com/hashicorp/consul/issues/18504)] - gateway: **(Enterprise only)** Add JWT authentication and authorization to APIGateway Listeners and HTTPRoutes. - mesh: **(Enterprise only)** Adds rate limiting config to service-defaults \[[GH-18583](https://redirect.github.com/hashicorp/consul/issues/18583)] - xds: Add a built-in Envoy extension that appends OpenTelemetry Access Logging (otel-access-logging) to the HTTP Connection Manager filter. \[[GH-18336](https://redirect.github.com/hashicorp/consul/issues/18336)] - xds: Add support for patching outbound listeners to the built-in Envoy External Authorization extension. \[[GH-18336](https://redirect.github.com/hashicorp/consul/issues/18336)] IMPROVEMENTS: - raft: upgrade raft-wal library version to 0.4.1. \[[GH-19314](https://redirect.github.com/hashicorp/consul/issues/19314)] - xds: Use downstream protocol when connecting to local app \[[GH-18573](https://redirect.github.com/hashicorp/consul/issues/18573)] - Windows: Integration tests for Consul Windows VMs \[[GH-18007](https://redirect.github.com/hashicorp/consul/issues/18007)] - acl: Use templated policy to generate synthetic policies for tokens/roles with node and/or service identities \[[GH-18813](https://redirect.github.com/hashicorp/consul/issues/18813)] - api: added `CheckRegisterOpts` to Agent API \[[GH-18943](https://redirect.github.com/hashicorp/consul/issues/18943)] - api: added `Token` field to `ServiceRegisterOpts` type in Agent API \[[GH-18983](https://redirect.github.com/hashicorp/consul/issues/18983)] - ca: Vault CA provider config no longer requires root_pki_path for secondary datacenters \[[GH-17831](https://redirect.github.com/hashicorp/consul/issues/17831)] - cli: Added `-templated-policy`, `-templated-policy-file`, `-replace-templated-policy`, `-append-templated-policy`, `-replace-templated-policy-file`, `-append-templated-policy-file` and `-var` flags for creating or updating tokens/roles. \[[GH-18708](https://redirect.github.com/hashicorp/consul/issues/18708)] - config: Add new `tls.defaults.verify_server_hostname` configuration option. This specifies the default value for any interfaces that support the `verify_server_hostname` option. \[[GH-17155](https://redirect.github.com/hashicorp/consul/issues/17155)] - connect: update supported envoy versions to 1.24.10, 1.25.9, 1.26.4, 1.27.0 \[[GH-18300](https://redirect.github.com/hashicorp/consul/issues/18300)] - ui: Use Community verbiage \[[GH-18560](https://redirect.github.com/hashicorp/consul/issues/18560)] BUG FIXES: - api: add custom marshal/unmarshal for ServiceResolverConfigEntry.RequestTimeout so config entries that set this field can be read using the API. \[[GH-19031](https://redirect.github.com/hashicorp/consul/issues/19031)] - ca: ensure Vault CA provider respects Vault Enterprise namespace configuration. \[[GH-19095](https://redirect.github.com/hashicorp/consul/issues/19095)] - catalog api: fixes a bug with catalog api where filter query parameter was not working correctly for the `/v1/catalog/services` endpoint \[[GH-18322](https://redirect.github.com/hashicorp/consul/issues/18322)] - connect: **(Enterprise only)** Fix bug where incorrect service-defaults entries were fetched to determine an upstream's protocol whenever the upstream did not explicitly define the namespace / partition. When this bug occurs, upstreams would use the protocol from a service-default entry in the default namespace / partition, rather than their own namespace / partition. - connect: Fix bug where uncleanly closed xDS connections would influence connection balancing for too long and prevent envoy instances from starting. Two new configuration fields `performance.grpc_keepalive_timeout` and `performance.grpc_keepalive_interval` now exist to allow for configuration on how often these dead connections will be cleaned up. \[[GH-19339](https://redirect.github.com/hashicorp/consul/issues/19339)] - dev-mode: Fix dev mode has new line in responses. Now new line is added only when url has pretty query parameter. \[[GH-18367](https://redirect.github.com/hashicorp/consul/issues/18367)] - dns: **(Enterprise only)** Fix bug where sameness group queries did not correctly inherit the agent's partition. - docs: fix list of telemetry metrics \[[GH-17593](https://redirect.github.com/hashicorp/consul/issues/17593)] - gateways: Fix a bug where a service in a peered datacenter could not access an external node service through a terminating gateway \[[GH-18959](https://redirect.github.com/hashicorp/consul/issues/18959)] - server: **(Enterprise Only)** Fixed an issue where snake case keys were rejected when configuring the control-plane-request-limit config entry - telemetry: emit consul version metric on a regular interval. \[[GH-6876](https://redirect.github.com/hashicorp/consul/issues/6876)] - tlsutil: Default setting of ServerName field in outgoing TLS configuration for checks now handled by crypto/tls. \[[GH-17481](https://redirect.github.com/hashicorp/consul/issues/17481)] ### [`v1.16.7`](https://redirect.github.com/hashicorp/consul/compare/v1.16.6...v1.16.7) [Compare Source](https://redirect.github.com/hashicorp/consul/compare/v1.16.6...v1.16.7) ### [`v1.16.6`](https://redirect.github.com/hashicorp/consul/releases/tag/v1.16.6) [Compare Source](https://redirect.github.com/hashicorp/consul/compare/v1.16.5...v1.16.6) #### 1.16.6 (February 13, 2024) SECURITY: - mesh: Update Envoy version to 1.26.7 to address [CVE-2024-23324](https://redirect.github.com/envoyproxy/envoy/security/advisories/GHSA-gq3v-vvhj-96j6), [CVE-2024-23325](https://redirect.github.com/envoyproxy/envoy/security/advisories/GHSA-5m7c-mrwr-pm26), [CVE-2024-23322](https://redirect.github.com/envoyproxy/envoy/security/advisories/GHSA-6p83-mfmh-qv38), [CVE-2024-23323](https://redirect.github.com/envoyproxy/envoy/security/advisories/GHSA-x278-4w4x-r7ch), [CVE-2024-23327](https://redirect.github.com/envoyproxy/envoy/security/advisories/GHSA-4h5x-x9vh-m29j), and [CVE-2023-44487](https://redirect.github.com/envoyproxy/envoy/security/advisories/GHSA-jhv4-f7mr-xx76) \[[GH-20586](https://redirect.github.com/hashicorp/consul/issues/20586)] IMPROVEMENTS: - ProxyCfg: avoid setting a watch on `Internal.ServiceDump` when mesh gateway is not used. \[[GH-20168](https://redirect.github.com/hashicorp/consul/issues/20168)] - ProxyCfg: only return the nodes list when querying the `Internal.ServiceDump` watch from proxycfg \[[GH-20168](https://redirect.github.com/hashicorp/consul/issues/20168)] - Upgrade to use Go 1.21.7. \[[GH-20545](https://redirect.github.com/hashicorp/consul/issues/20545)] BUG FIXES: - audit-logs: **(Enterprise Only)** Fixes non ASCII characters in audit logs because of gzip. \[[GH-20345](https://redirect.github.com/hashicorp/consul/issues/20345)] - connect: Fix issue where re-persisting existing proxy-defaults using `http` protocol fails with a protocol-mismatch error. \[[GH-20481](https://redirect.github.com/hashicorp/consul/issues/20481)] - connect: Fix regression with SAN matching on terminating gateways [GH-20360](https://redirect.github.com/hashicorp/consul/issues/20360) \[[GH-20417](https://redirect.github.com/hashicorp/consul/issues/20417)] - connect: Remove code coupling where the xDS capacity controller could negatively affect raft autopilot performance. \[[GH-20511](https://redirect.github.com/hashicorp/consul/issues/20511)] - mesh: Fix bug where envoy extensions could not be configured with "permissive" mTLS mode. Note that envoy extensions currently do not apply to non-mTLS traffic in permissive mode. \[[GH-20406](https://redirect.github.com/hashicorp/consul/issues/20406)] ### [`v1.16.5`](https://redirect.github.com/hashicorp/consul/releases/tag/v1.16.5) [Compare Source](https://redirect.github.com/hashicorp/consul/compare/v1.16.4...v1.16.5) #### 1.16.5 (January 23, 2024) KNOWN ISSUES: - connect: Consul versions 1.17.2 and 1.16.5 perform excessively strict TLS SAN verification on terminating gateways, which prevents connections outside of the mesh to upstream services. Terminating gateway users are advised to avoid deploying these Consul versions. A fix will be present in a future release of Consul 1.17.3 and 1.16.6. \[[GH-20360](https://redirect.github.com/hashicorp/consul/issues/20360)] SECURITY: - Update RSA key generation to use a key size of at least 2048 bits. \[[GH-20112](https://redirect.github.com/hashicorp/consul/issues/20112)] - Upgrade OpenShift container images to use `ubi9-minimal:9.3` as the base image. \[[GH-20014](https://redirect.github.com/hashicorp/consul/issues/20014)] IMPROVEMENTS: - Upgrade to use Go 1.21.6. \[[GH-20062](https://redirect.github.com/hashicorp/consul/issues/20062)] - connect: Remove usage of deprecated Envoy field `match_subject_alt_names` in favor of `match_typed_subject_alt_names`. \[[GH-19954](https://redirect.github.com/hashicorp/consul/issues/19954)] - connect: replace usage of deprecated Envoy field `envoy.config.router.v3.WeightedCluster.total_weight`. \[[GH-20011](https://redirect.github.com/hashicorp/consul/issues/20011)] - xds: Replace usage of deprecated Envoy field `envoy.config.cluster.v3.Cluster.http_protocol_options` \[[GH-20010](https://redirect.github.com/hashicorp/consul/issues/20010)] - xds: remove usages of deprecated Envoy fields: `envoy.config.cluster.v3.Cluster.http2_protocol_options`, `envoy.config.bootstrap.v3.Admin.access_log_path` \[[GH-19940](https://redirect.github.com/hashicorp/consul/issues/19940)] - xds: replace usage of deprecated Envoy field `envoy.extensions.filters.http.lua.v3.Lua.inline_code` \[[GH-20012](https://redirect.github.com/hashicorp/consul/issues/20012)] BUG FIXES: - prepared-query: (Enterprise-only) Fix issue where sameness-group failover targets to peers would attempt to query data from the default partition, rather than the sameness-group's partition always. - ui: update token list on Role details page to show only linked tokens \[[GH-19912](https://redirect.github.com/hashicorp/consul/issues/19912)] ### [`v1.16.4`](https://redirect.github.com/hashicorp/consul/releases/tag/v1.16.4) [Compare Source](https://redirect.github.com/hashicorp/consul/compare/v1.16.3...v1.16.4) #### 1.16.4 (December 12, 2023) SECURITY: - Update `github.com/golang-jwt/jwt/v4` to v4.5.0 to address [PRISMA-2022-0270](https://redirect.github.com/golang-jwt/jwt/issues/258). \[[GH-19705](https://redirect.github.com/hashicorp/consul/issues/19705)] - Upgrade to use Go 1.20.12. This resolves CVEs [CVE-2023-45283](https://nvd.nist.gov/vuln/detail/CVE-2023-45283): (`path/filepath`) recognize ??\ as a Root Local Device path prefix (Windows) [CVE-2023-45284](https://nvd.nist.gov/vuln/detail/CVE-2023-45285): recognize device names with trailing spaces and superscripts (Windows) [CVE-2023-39326](https://nvd.nist.gov/vuln/detail/CVE-2023-39326): (`net/http`) limit chunked data overhead [CVE-2023-45285](https://nvd.nist.gov/vuln/detail/CVE-2023-45285): (`cmd/go`) go get may unexpectedly fallback to insecure git \[[GH-19840](https://redirect.github.com/hashicorp/consul/issues/19840)] IMPROVEMENTS: - mesh: parse the proxy-defaults protocol when write the config-entry to avoid parsing it when compiling the discovery chain. \[[GH-19829](https://redirect.github.com/hashicorp/consul/issues/19829)] - wan-federation: use a hash to diff config entries when replicating in the secondary DC to avoid unnecessary writes.. \[[GH-19795](https://redirect.github.com/hashicorp/consul/issues/19795)] - cli: Adds cli support for checking TCP connection for ports. If -ports flag is not given, it will check for default ports of consul listed here - https://developer.hashicorp.com/consul/docs/install/ports \[[GH-18329](https://redirect.github.com/hashicorp/consul/issues/18329)] - cloud: push additional server TLS metadata to HCP \[[GH-19682](https://redirect.github.com/hashicorp/consul/issues/19682)] - connect: Default `stats_flush_interval` to 60 seconds when using the Consul Telemetry Collector, unless custom stats sink are present or an explicit flush interval

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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.

renovate[bot] commented 2 weeks ago

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

Details:

Package Change
github.com/opentracing/opentracing-go v1.2.0 -> v1.2.1-0.20220228012449-10b1cf09e00b
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 -> v0.0.0-20220913051719-115f729f3c8c
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c -> v0.0.0-20220216144756-c35f1ee13d7c
github.com/mitchellh/copystructure v1.0.0 -> v1.2.0
github.com/mitchellh/reflectwalk v1.0.1 -> v1.0.2
github.com/shopspring/decimal v1.2.0 -> v1.3.1
github.com/spf13/cast v1.3.1 -> v1.5.0