Affected by GO-2022-0344
and 5 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-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.4.0-beta.0
Opens a new window with list of versions in this module.
Published: May 14, 2020
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.