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.4.2
Opens a new window with list of versions in this module.
Published: Nov 26, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 19
Opens a new window with list of imports.
Imported by: 26
Opens a new window with list of known importers.
Documentation
¶
IDName is the name that is used to identify the id being collected in the metric
NewTaskMonitor returns a new cgroups monitor
type Collector struct {
}
Collector provides the ability to collect container stats and export
them in the prometheus format
NewCollector registers the collector with the provided namespace and returns it so
that cgroups can be added for collection
Add adds the provided cgroup and id so that metrics are collected and exported
Collect prometheus metrics
Describe prometheus metrics
Remove removes the provided cgroup by id from the collector
RemoveAll statable items from the collector
Statable type that returns cgroup metrics
Trigger will be called when an event happens and provides the cgroup
where the event originated from
Source Files
¶
Click to show internal directories.
Click to hide internal directories.