Affected by GO-2025-3781
and 10 other vulnerabilities
GO-2025-3781 : Incus Allocation of Resources Without Limits allows firewall rule bypass on managed bridge networks in github.com/lxc/incus
GO-2025-3782 : Incus creates nftables rules that partially bypass security options in github.com/lxc/incus
GO-2025-4115 : Incus vulnerable to local privilege escalation through custom storage volumes in github.com/lxc/incus
GO-2026-4357 : Incus container image templating arbitrary host file read and write in github.com/lxc/incus
GO-2026-4359 : Incus container environment configuration newline injection in github.com/lxc/incus
GO-2026-4879 : Local Incus UI web server vulnerable to nuthentication bypass in github.com/lxc/incus
GO-2026-4881 : Incus vulnerable to arbitrary file read and write through pongo templates in github.com/lxc/incus
GO-2026-4882 : Incus does not verify combined fingerprint when downloading images from simplestreams servers in github.com/lxc/incus
GO-2026-4884 : Incus has an abitrary file write through its systemd-creds options in github.com/lxc/incus
GO-2026-4885 : Incus vulnerable to local privilege escalation through VM screenshot path in github.com/lxc/incus
GO-2026-4886 : Incus vulnerable to denial of source through crafted bucket backup file in github.com/lxc/incus
The highest tagged major version is
v7 .
Discover Packages
github.com/lxc/incus
shared
util
package
Version:
v0.7.0
Opens a new window with list of versions in this module.
Published: Mar 26, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Jump to ...
Documentation
Index
Constants
Variables
Functions
DeepCopy(src, dest)
DownloadFileHash(ctx, httpClient, useragent, progress, canceler, filename, url, hash, hashFunc, ...)
IsFalse(value)
IsFalseOrEmpty(value)
IsTrue(value)
IsTrueOrEmpty(value)
ParseUint32Range(value)
PathExists(name)
PathIsWritable(path)
SplitNTrimSpace(s, sep, n, nilIfEmpty)
StringHasPrefix(value, prefixes)
StringPrefixInSlice(key, list)
Types
Source Files
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
func DeepCopy(src, dest any) error
func DownloadFileHash(ctx context.Context, httpClient *http.Client, useragent string, ...) (int64, error)
func IsFalse(value string) bool
func IsFalseOrEmpty(value string) bool
func IsTrue(value string) bool
func IsTrueOrEmpty(value string) bool
func ParseUint32Range(value string) (uint32, uint32, error)
func PathExists(name string) bool
func PathIsWritable(path string) bool
func SplitNTrimSpace(s string, sep string, n int, nilIfEmpty bool) []string
func StringHasPrefix(value string, prefixes ...string) bool
func StringPrefixInSlice(key string, list []string) bool
DeepCopy copies src to dest by using encoding/gob so its not that fast.
func DownloadFileHash(ctx context .Context , httpClient *http .Client , useragent string , progress func(progress ioprogress .ProgressData ), canceler *cancel .HTTPRequestCanceller , filename string , url string , hash string , hashFunc hash .Hash , target io .WriteSeeker ) (int64 , error )
IsFalse returns true if value is "false", "0", "no" or "off" (case insensitive).
IsFalseOrEmpty returns true if value is empty or if IsFalse() returns true.
IsTrue returns true if value is "true", "1", "yes" or "on" (case insensitive).
IsTrueOrEmpty returns true if value is empty or if IsTrue() returns true.
ParseUint32Range parses a uint32 range in the form "number" or "start-end".
Returns the start number and the size of the range.
SplitNTrimSpace returns result of strings.SplitN() and then strings.TrimSpace() on each element.
Accepts nilIfEmpty argument which if true, will return nil slice if s is empty (after trimming space).
StringHasPrefix returns true if value has one of the supplied prefixes.
StringPrefixInSlice returns true if any element in the list has the given prefix.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.