Affected by GO-2022-0278
and 15 other vulnerabilities
GO-2022-0278 : Unprivileged pod using `hostPath` can side-step active LSM when it is SELinux in github.com/containerd/containerd
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-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
GO-2026-5064 : containerd CRI checkpoint restore CDI annotation smuggling in github.com/containerd/containerd
GO-2026-5338 : containerd: CRI checkpoint import allows local image tag poisoning in github.com/containerd/containerd
GO-2026-5622 : Arbitrary host CRI log file read via symlink following in CRI checkpoint restore in github.com/containerd/containerd
GO-2026-6444 : containerd: CRI ExecSync Goroutine Leak Leads to Node-Level Denial of Service in github.com/containerd/containerd
GO-2026-6597 : Containerd has image-pull DoS via crafted OCI index graph amplification in github.com/containerd/containerd
GO-2026-6791 : containerd CRI plugin: Checkpoint restore bypasses destination security context in github.com/containerd/containerd
GO-2026-6796 : containerd: Unpack DoS via repeated opaque whiteouts in github.com/containerd/containerd
The highest tagged major version is
v2 .
Discover Packages
github.com/containerd/containerd
pkg
cri
streaming
portforward
package
Version:
v1.5.6
Opens a new window with list of versions in this module.
Published: Sep 29, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package portforward contains server-side logic for handling port forwarding requests.
View Source
const ProtocolV1Name = "portforward.k8s.io"
ProtocolV1Name is the name of the subprotocol used for port forwarding.
SupportedProtocols are the supported port forwarding protocols.
ServePortForward handles a port forwarding request. A single request is
kept alive as long as the client is still alive and the connection has not
been timed out due to idleness. This function handles multiple forwarded
connections; i.e., multiple `curl http://localhost:8888/ ` requests will be
handled by a single invocation of ServePortForward.
PortForwarder knows how to forward content from a data stream to/from a port
in a pod.
type V4Options struct {
Ports []int32
}
V4Options contains details about which streams are required for port
forwarding.
All fields included in V4Options need to be expressed explicitly in the
CRI (k8s.io/cri-api/pkg/apis/{version}/api.proto) PortForwardRequest.
BuildV4Options returns a V4Options based on the given information.
NewV4Options creates a new options from the Request.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.