Affected by GO-2022-0344
and 7 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
The highest tagged major version is
v2 .
Discover Packages
github.com/containerd/containerd
testutil
package
Version:
v1.0.0-beta.0
Opens a new window with list of versions in this module.
Published: Sep 6, 2017
License: Apache-2.0, CC-BY-SA-4.0
Opens a new window with license information.
Imports: 13
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
DumpDir will log out all of the contents of the provided directory to
testing logger.
Use this in a defer statement within tests that may allocate and exercise a
temporary directory. Immensely useful for sanity checking and debugging
failing tests.
One should still test that contents are as expected. This is only a visual
tool to assist when things don't go your way.
NewLoopback creates a loopback device, and returns its device name (/dev/loopX), and its clean-up function.
RequiresRoot skips tests that require root, unless the test.root flag has
been set
RequiresRootM is similar to RequiresRoot but intended to be called from *testing.M.
Unmount unmounts a given mountPoint and sets t.Error if it fails
Source Files
¶
Click to show internal directories.
Click to hide internal directories.