Affected by GO-2022-0278
and 11 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
The highest tagged major version is
v2 .
Discover Packages
github.com/containerd/containerd
metadata
boltutil
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: 5
Opens a new window with list of imports.
Imported by: 209
Opens a new window with list of known importers.
Jump to ...
Documentation
Index
Constants
Variables
Functions
ReadAnnotations(bkt)
ReadAny(bkt, name)
ReadExtensions(bkt)
ReadLabels(bkt)
ReadTimestamps(bkt, created, updated)
WriteAnnotations(bkt, labels)
WriteAny(bkt, name, any)
WriteExtensions(bkt, extensions)
WriteLabels(bkt, labels)
WriteTimestamps(bkt, created, updated)
Types
Source Files
Documentation
Documentation
¶
func ReadAnnotations(bkt *bolt.Bucket) (map[string]string, error)
func ReadAny(bkt *bolt.Bucket, name []byte) (*types.Any, error)
func ReadExtensions(bkt *bolt.Bucket) (map[string]types.Any, error)
func ReadLabels(bkt *bolt.Bucket) (map[string]string, error)
func ReadTimestamps(bkt *bolt.Bucket, created, updated *time.Time) error
func WriteAnnotations(bkt *bolt.Bucket, labels map[string]string) error
func WriteAny(bkt *bolt.Bucket, name []byte, any *types.Any) error
func WriteExtensions(bkt *bolt.Bucket, extensions map[string]types.Any) error
func WriteLabels(bkt *bolt.Bucket, labels map[string]string) error
func WriteTimestamps(bkt *bolt.Bucket, created, updated time.Time) error
ReadAnnotations reads the OCI Descriptor Annotations key from the bucket
Uses the key "annotations"
ReadAny reads back protobuf's Any type from the bucket
ReadExtensions will read back a map of extensions from the given bucket, previously written by WriteExtensions
ReadLabels reads the labels key from the bucket
Uses the key "labels"
ReadTimestamps reads created and updated timestamps from a bucket.
Uses keys "createdat" and "updatedat"
WriteAnnotations writes the OCI Descriptor Annotations
WriteAny write a protobuf's Any type to the bucket
WriteExtensions will write a KV map to the given bucket,
where `K` is a string key and `V` is a protobuf's Any type that represents a generic extension.
WriteLabels will write a new labels bucket to the provided bucket at key
bucketKeyLabels, replacing the contents of the bucket with the provided map.
The provide map labels will be modified to have the final contents of the
bucket. Typically, this removes zero-value entries.
Uses the key "labels"
WriteTimestamps writes created and updated timestamps to a bucket.
Uses keys "createdat" and "updatedat"
Source Files
¶
Click to show internal directories.
Click to hide internal directories.