Affected by GO-2025-3528
and 2 other vulnerabilities
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.6.21
Opens a new window with list of versions in this module.
Published: May 5, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 24
Opens a new window with list of imports.
Imported by: 76
Opens a new window with list of known importers.
Documentation
¶
AnonDialer returns a dialer for a socket
NOTE: It is only used for testing.
RemoveSocket removes the socket at the specified address if
it exists on the filesystem
WithLocal uses an in process shim
Client is a shim client containing the connection to a shim
New returns a new shim client
Close the client connection
IsAlive returns true if the shim can be contacted.
NOTE: a negative answer doesn't mean that the process is gone.
KillShim kills the shim forcefully and wait for the process to disappear
StopShim signals the shim to exit and wait for the process to disappear
Opt is an option for a shim client configuration
func WithConnect(address string, onClose func()) Opt
WithConnect connects to an existing shim
func WithStart(binary, address, daemonAddress, cgroup string, debug bool, exitHandler func()) Opt
WithStart executes a new shim process
Source Files
¶
Click to show internal directories.
Click to hide internal directories.