Affected by GO-2022-1029
and 7 other vulnerabilities
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
ipaddr
package
Version:
v1.11.0-beta1
Opens a new window with list of versions in this module.
Published: Oct 15, 2021
License: MPL-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 62 modules, 174 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
FormatAddressPort Helper for net.JoinHostPort that takes int for port
GetPrivateIPv4 returns the list of private network IPv4 addresses on
all active interfaces.
GetPublicIPv6 returns the list of all public IPv6 addresses
on all active interfaces.
func IsAny(ip interface{}) bool
IsAny checks if the given ip address is an IPv4 or IPv6 ANY address. ip
can be either a *net.IP or a string. It panics on another type.
func IsAnyV4(ip interface{}) bool
IsAnyV4 checks if the given ip address is an IPv4 ANY address. ip
can be either a *net.IP or a string. It panics on another type.
func IsAnyV6(ip interface{}) bool
IsAnyV6 checks if the given ip address is an IPv6 ANY address. ip
can be either a *net.IP or a string. It panics on another type.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.