Affected by GO-2022-0482
and 4 other vulnerabilities
GO-2022-0482 : containerd CRI plugin: Host memory exhaustion through ExecSync 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
The highest tagged major version is
v2 .
Discover Packages
github.com/containerd/containerd
pkg
registrar
package
Version:
v1.6.2
Opens a new window with list of versions in this module.
Published: Mar 24, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Registrar struct {
}
Registrar stores one-to-one name<->key mappings.
Names and keys must be unique.
Registrar is safe for concurrent access.
NewRegistrar creates a new Registrar with the empty indexes.
ReleaseByKey release the reserved name<->key mapping by key.
ReleaseByName releases the reserved name<->key mapping by name.
Once released, the name and the key can be reserved again.
Reserve registers a name<->key mapping, name or key must not
be empty.
Reserve is idempotent.
Attempting to reserve a conflict key<->name mapping results
in an error.
A name<->key reservation is globally unique.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.