Affected by GO-2022-0344
and 6 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-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
The highest tagged major version is
v2.
package
Version:
v1.3.0
Opens a new window with list of versions in this module.
Published: Sep 27, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
AttachLoopDevice finds first available loop device and associates it with an image.
DetachLoopDevice detaches loop devices
FindAssociatedLoopDevices returns a list of loop devices attached to a given image
func RemoveLoopDevicesAssociatedWithImage(imagePath string) error
RemoveLoopDevicesAssociatedWithImage detaches all loop devices attached to a given sparse image
Source Files
¶
Click to show internal directories.
Click to hide internal directories.