Affected by GO-2022-0344
and 10 other vulnerabilities
GO-2022-0344: containerd CRI plugin: Insecure handling of image volumes in github.com/containerd/containerd
GO-2022-0360: Ambiguous OCI manifest parsing in github.com/containerd/containerd
GO-2022-0482: containerd CRI plugin: Host memory exhaustion through ExecSync in github.com/containerd/containerd
GO-2022-0784: containerd-shim API Exposed to Host Network Containers in github.com/containerd/containerd
GO-2022-0803: containerd v1.2.x can be coerced into leaking credentials during image pull in github.com/containerd/containerd
GO-2022-0921: Archive package allows chmod of file outside of unpack target directory in github.com/containerd/containerd
GO-2022-0938: Insufficiently restricted permissions on plugin directories in github.com/containerd/containerd
GO-2022-1147: containerd CRI stream server vulnerable to host memory exhaustion via terminal in github.com/containerd/containerd
GO-2025-3528: containerd has an integer overflow in User ID handling in github.com/containerd/containerd
GO-2025-4100: containerd affected by a local privilege escalation via wide permissions on CRI directory in github.com/containerd/containerd
GO-2025-4108: containerd CRI server: Host memory exhaustion through Attach goroutine leak in github.com/containerd/containerd

The highest tagged major version is
v2.
package
Version:
v1.2.8
Opens a new window with list of versions in this module.
Published: Aug 22, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 27
Opens a new window with list of imports.
Imported by: 755
Opens a new window with list of known importers.
Documentation
¶
-
func AnonDialer(address string, timeout time.Duration) (net.Conn, error)
-
func BinaryName(runtime string) string
-
func Command(ctx context.Context, runtime, containerdAddress, path string, ...) (*exec.Cmd, error)
-
func Connect(address string, d func(string, time.Duration) (net.Conn, error)) (net.Conn, error)
-
func NewSocket(address string) (*net.UnixListener, error)
-
func Run(id string, initFunc Init)
-
func SetScore(pid int) error
-
func SocketAddress(ctx context.Context, id string) (string, error)
-
func WriteAddress(path, address string) error
-
func WritePidFile(path string, pid int) error
-
type Client
-
type Init
-
type Opts
-
type OptsKey
-
type Shim
AnonDialer returns a dialer for an abstract socket
BinaryName returns the shim binary name from the runtime name,
empty string returns means runtime name is invalid
Command returns the shim command with the provided args and configuration
Connect to the provided address
NewSocket returns a new socket
Run initializes and runs a shim server
SetScore sets the oom score for a process
SocketAddress returns an abstract socket address
WriteAddress writes a address file atomically
WritePidFile writes a pid file atomically
Client for a shim server
NewShimClient creates a new shim server client
Init func for the creation of a shim server
Opts are context options associated with the shim invocation.
OptsKey is the context key for the Opts value.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.