Affected by GO-2023-1639
and 6 other vulnerabilities
GO-2023-1639 : Consul Server Panic when Ingress and API Gateways Configured with Peering Connections 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
Discover Packages
github.com/hashicorp/consul
lib
stringslice
package
Version:
v1.14.0
Opens a new window with list of versions in this module.
Published: Nov 15, 2022
License: MPL-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Contains checks if a list contains a string
Equal compares two string slices for equality. Both the existence
of the elements and the order of those elements matter for equality. Empty
slices are treated identically to nil slices.
MergeSorted takes two string slices that are assumed to be sorted
and does a zipper merge of the two sorted slices, removing any cross-slice
duplicates. If any individual slice contained duplicates those will be
retained.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.