Affected by GO-2022-0615
and 11 other vulnerabilities
GO-2022-0615 : Hashicorp Consul HTTP health check endpoints returning an HTTP redirect may be abused as SSRF vector in github.com/hashicorp/consul
GO-2022-0894 : Hashicorp Consul Missing SSL Certificate Validation in github.com/hashicorp/consul
GO-2022-0895 : HashiCorp Consul L7 deny intention results in an allow action in github.com/hashicorp/consul
GO-2022-0953 : HashiCorp Consul Ingress Gateway Panic Can Shutdown Servers in github.com/hashicorp/consul
GO-2022-1029 : HashiCorp Consul vulnerable to authorization bypass in github.com/hashicorp/consul
GO-2023-1827 : Hashicorp Consul vulnerable to denial of service in github.com/hashicorp/consul
GO-2024-3241 : Hashicorp Consul Improper Neutralization of HTTP Headers for Scripting Syntax vulnerability in github.com/hashicorp/consul
GO-2024-3242 : Hashicorp Consul Cross-site Scripting vulnerability in github.com/hashicorp/consul
GO-2024-3243 : Hashicorp Consul Path Traversal vulnerability in github.com/hashicorp/consul
GO-2025-4081 : Consul key/value endpoint is vulnerable to denial of service in github.com/hashicorp/consul
GO-2025-4082 : Consul event endpoint is vulnerable to denial of service in github.com/hashicorp/consul
GO-2026-4690 : Consul is vulnerable to arbitrary file read when configured with Kubernetes authentication in github.com/hashicorp/consul
Discover Packages
github.com/hashicorp/consul
agent
consul
prepared_query
package
Version:
v1.9.13
Opens a new window with list of versions in this module.
Published: Dec 15, 2021
License: MPL-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 56
Opens a new window with list of known importers.
Documentation
Documentation
¶
IsTemplate returns true if the given query is a template.
type CompiledTemplate struct {
}
CompiledTemplate is an opaque object that can be used later to render a
prepared query template.
Compile validates a prepared query template and returns an opaque compiled
object that can be used later to render the template.
Render takes a compiled template and renders it for the given name. For
example, if the user looks up foobar.query.consul via DNS then we will call
this function with "foobar" on the compiled template.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.