Affected by GO-2025-3781
and 20 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
GO-2026-5127 : Incus Vulnerable to Panic via Snapshot Bounds Check in github.com/lxc/incus
GO-2026-5168 : Incus has Unbounded YAML Metadata Decode via Parsing in github.com/lxc/incus
GO-2026-5252 : Incus has a Nil-Pointer Dereference Panic via Instance Backup Import (volume omitted) in github.com/lxc/incus
GO-2026-5254 : Incus has Blind SSRF via Image Import Preflight HEAD in github.com/lxc/incus
GO-2026-5280 : Incus is affected by unbounded binary import disk exhaustion in github.com/lxc/incus
GO-2026-5319 : Incus has an OVN TLS Verification that Accepts Peer-Supplied Roots in github.com/lxc/incus
GO-2026-5384 : Incus has Nil-Pointer Dereference via S3 Bucket Import in github.com/lxc/incus
GO-2026-5397 : Incus has a Nil-Pointer Dereference Panic via Bucket Metadata in github.com/lxc/incus
GO-2026-5612 : Incus has a Nil-Pointer Dereference via Custom Volume Import in github.com/lxc/incus
GO-2026-5742 : Incus has Nil Dereferences on Restore via Malformed YAML in github.com/lxc/incus
The highest tagged major version is
v7 .
Discover Packages
github.com/lxc/incus
internal
instancewriter
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: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
FileInfo static file implementation of os.FileInfo.
IsDir is file a directory.
Sys returns further unix attributes for a file owned by root.
type InstanceTarWriter struct {
}
InstanceTarWriter provides a TarWriter implementation that handles ID shifting and hardlink tracking.
NewInstanceTarWriter returns a ContainerTarWriter for the provided target Writer and id map.
Close finishes writing the tarball.
ResetHardLinkMap resets the hard link map. Use when copying multiple instances (or snapshots) into a tarball.
So that the hard link map doesn't work across different instances/snapshots.
WriteFile adds a file to the tarball with the specified name using the srcPath file as the contents of the file.
The ignoreGrowth argument indicates whether to error if the srcPath file increases in size beyond the size in fi
during the write. If false the write will return an error. If true, no error is returned, instead only the size
specified in fi is written to the tarball. This can be used when you don't need a consistent copy of the file.
WriteFileFromReader streams a file into the tarball using the src reader.
A manually generated os.FileInfo should be supplied so that the tar header can be added before streaming starts.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.