Affected by GO-2024-3228
and 19 other vulnerabilities
GO-2024-3228 : Coder vulnerable to post-auth URL redirection to untrusted site ('Open Redirect') in github.com/coder/coder
GO-2025-3921 : Coder accepts an APIKey beyond the linked OIDC expiry if there is no refresh token in github.com/coder/coder
GO-2025-4182 : Coder logs sensitive objects unsanitized in github.com/coder/coder
GO-2026-5169 : Coder: Unauthenticated SSRF via Azure Instance Identity Endpoint in github.com/coder/coder
GO-2026-5196 : Coder: PKCS#7 signature bypass in Azure instance identity allows unauthenticated agent token theft in github.com/coder/coder
GO-2026-5897 : Coder vulnerable to workspace auto-creation via crafted URL parameters without user consent in github.com/coder/coder
GO-2026-5906 : Coder: User-admin role can reset owner account password in github.com/coder/coder
GO-2026-5907 : Coder's OIDC email_verified type coercion bypass enables account takeover via unverified email linking in github.com/coder/coder
GO-2026-5908 : Coder vulnerable to OIDC account takeover via email-based user matching and email_verified bypass in github.com/coder/coder
GO-2026-5909 : Coder's workspace app upsert allows cross-workspace agent rebinding via user-controlled app ID in github.com/coder/coder
GO-2026-5913 : Coder vulnerable to SSH config injection via unsanitized server-supplied values in `coder config-ssh` in github.com/coder/coder
GO-2026-5915 : Coder: Route hijacking through lack of validation of agent-supplied AllowedIPs in tailnet coordinator in github.com/coder/coder
GO-2026-5917 : Coder's subdomain workspace app routing trusts unauthenticated X-Forwarded-Host header, enabling cross-app data access in github.com/coder/coder
GO-2026-5918 : Coder's workspace app CORS origin check can be bypassed via UUID-based subdomain spoofing in github.com/coder/coder
GO-2026-5919 : Coder vulnerable to stored HTML injection via workspace agent logs in AgentLogLine component in github.com/coder/coder
GO-2026-5922 : Coder: Devcontainer recreate endpoint missing write authorization allows read-only roles to destroy containers in github.com/coder/coder
GO-2026-5924 : Coder's session token leaked to arbitrary hosts via `coder open app` for external workspace apps in github.com/coder/coder
GO-2026-5926 : Coder's sub-agent app registration bypasses template port-sharing policy enforcement in github.com/coder/coder
GO-2026-6265 : Coder: Login endpoint user enumeration via timing-defense placeholder in password comparison in github.com/coder/coder
GO-2026-6267 : Coder: Stored HTML injection via unescaped ApplicationName and LogoURL appearance settings in github.com/coder/coder
Discover Packages
github.com/coder/coder/v2
coderd
util
slice
package
Version:
v2.13.3
Opens a new window with list of versions in this module.
Published: Aug 1, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 3 modules, 1 package
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.
Jump to ...
Documentation
Index
Constants
Variables
Functions
Ascending(a, b)
Contains(haystack, needle)
ContainsCompare(haystack, needle, equal)
Descending(a, b)
New(items)
Omit(a, omits)
Overlap(a, b)
OverlapCompare(a, b, equal)
SameElements(a, b)
ToStrings(a)
Unique(a)
Types
Source Files
Documentation
Documentation
¶
func Ascending[T constraints.Ordered](a, b T) int
func Contains[T comparable](haystack []T, needle T) bool
func ContainsCompare[T any](haystack []T, needle T, equal func(a, b T) bool) bool
func Descending[T constraints.Ordered](a, b T) int
func New[T any](items ...T) []T
func Omit[T comparable](a []T, omits ...T) []T
func Overlap[T comparable](a []T, b []T) bool
func OverlapCompare[T any](a []T, b []T, equal func(a, b T) bool) bool
func SameElements[T comparable](a []T, b []T) bool
func ToStrings[T ~string](a []T) []string
func Unique[T comparable](a []T) []T
func ContainsCompare[T any ](haystack []T, needle T, equal func(a, b T) bool ) bool
func New[T any ](items ...T) []T
New is a convenience method for creating []T.
Omit creates a new slice with the arguments omitted from the list.
Overlap returns if the 2 sets have any overlap (element(s) in common)
func OverlapCompare[T any ](a []T, b []T, equal func(a, b T) bool ) bool
SameElements returns true if the 2 lists have the same elements in any
order.
ToStrings works for any type where the base type is a string.
Unique returns a new slice with all duplicate elements removed.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.