Live threats

All CVEs / Linuxfoundation

CVE-2022-31030Linuxfoundation Containerd

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
0.5%
probability of exploitation in 30 days · percentile 32
Auth required
Yes
Published
Jun 9, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What happens

containerd is an open source container runtime. A bug was found in the containerd's CRI implementation where programs inside a container can cause the containerd daemon to consume memory without bound during invocation of the `ExecSync` API. This can cause containerd to consume all available memory on the computer, denying service to other legitimate workloads. Kubernetes and crictl can both be configured to use containerd's CRI implementation; `ExecSync` may be used when running probes or when executing processes via an "exec" facility. This bug has been fixed in containerd 1.6.6 and 1.5.13. Users should update to these versions to resolve the issue. Users unable to upgrade should ensure that only trusted images and commands are used.

Original NVD text.

What to do

  1. Apply the vendor's security update for Containerd.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/containerd/containerd < 1.5.13 1.5.13 go get github.com/containerd/containerd@v1.5.13
Go github.com/containerd/containerd ≥ 1.6.0 < 1.6.6 1.6.6 go get github.com/containerd/containerd@v1.6.6
Go github.com/containerd/containerd < 1.5.13 1.5.13 go get github.com/containerd/containerd@v1.5.13
Go github.com/containerd/containerd ≥ 1.6.0 < 1.6.6 1.6.6 go get github.com/containerd/containerd@v1.6.6

Per OSV / GitHub Advisories (GHSA-5ffw-gxpp-mxpf, GO-2022-0482). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
linuxfoundationcontainerd< 1.5.13
linuxfoundationcontainerd≥ 1.6.0 < 1.6.6
debiandebian_linux11.0
fedoraprojectfedora35
fedoraprojectfedora36

Official sources

References

Links published by the sources. Open them with care.