Skip to content
OpenAdvisories
Medium · 5.5 CVE-2022-31030 EUVD-2022-5937GHSA-5ffw-gxpp-mxpfGO-2022-0482

containerd CRI plugin: Host memory exhaustion through ExecSync

Published Jun 6, 2022 · Updated Aug 3, 2024 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
containerd containerd < 1.5.13, >= 1.6.0, < 1.6.6 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 containerd 1.6.6~ds1-1 —
Debian 13 containerd 1.6.6~ds1-1 —
Debian 12 containerd 1.6.6~ds1-1 —
Debian 11 containerd 1.4.13~ds1-1~deb11u2 DSA-5162-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS containerd 1.5.9-0ubuntu3.1 USN-5776-1
Ubuntu 20.04 LTS containerd 1.5.9-0ubuntu1~20.04.6 USN-5776-1
Ubuntu 18.04 LTS containerd 1.5.9-0ubuntu1~18.04.2 USN-5776-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS containerd 1.2.6-0ubuntu1~16.04.6+esm2 USN-5521-1
ReleasePackageFixed inAdvisory
SLES 15 SP4 containerd 1.6.6-150000.73.2 SUSE-SU-2022:2341-1
SLES 15 SP4 docker 20.10.17_ce-150000.166.1 SUSE-SU-2022:2341-1
SLES 15 SP4 runc 1.1.3-150000.30.1 SUSE-SU-2022:2341-1
SLES 15 SP3 containerd 1.6.6-150000.73.2 SUSE-SU-2022:2341-1
SLES 15 SP3 docker 20.10.17_ce-150000.166.1 SUSE-SU-2022:2341-1
SLES 15 SP3 runc 1.1.3-150000.30.1 SUSE-SU-2022:2341-1
SLES 15 SP2 containerd 1.6.6-150000.73.2 SUSE-SU-2022:2341-1
SLES 15 SP2 docker 20.10.17_ce-150000.166.1 SUSE-SU-2022:2341-1
SLES 15 SP2 runc 1.1.3-150000.30.1 SUSE-SU-2022:2341-1
SLES 15 SP1 containerd 1.6.6-150000.73.2 SUSE-SU-2022:2341-1
SLES 15 SP1 docker 20.10.17_ce-150000.166.1 SUSE-SU-2022:2341-1
SLES 15 SP1 runc 1.1.3-150000.30.1 SUSE-SU-2022:2341-1
SLES 15 containerd 1.6.6-150000.73.2 SUSE-SU-2022:2341-1
SLES 15 docker 20.10.17_ce-150000.166.1 SUSE-SU-2022:2341-1
SLES 15 runc 1.1.3-150000.30.1 SUSE-SU-2022:2341-1
Show 15 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 containerd 1.6.6-16.62.1 SUSE-SU-2022:2165-1
SLES 12 docker 20.10.17_ce-98.83.1 SUSE-SU-2022:2165-1
SLES 12 runc 1.1.3-16.21.1 SUSE-SU-2022:2165-1
SLES for SAP 15 SP2 containerd 1.6.6-150000.73.2 SUSE-SU-2022:2341-1
SLES for SAP 15 SP2 docker 20.10.17_ce-150000.166.1 SUSE-SU-2022:2341-1
SLES for SAP 15 SP2 runc 1.1.3-150000.30.1 SUSE-SU-2022:2341-1
SLES for SAP 15 SP1 containerd 1.6.6-150000.73.2 SUSE-SU-2022:2341-1
SLES for SAP 15 SP1 docker 20.10.17_ce-150000.166.1 SUSE-SU-2022:2341-1
SLES for SAP 15 SP1 runc 1.1.3-150000.30.1 SUSE-SU-2022:2341-1
SLES for SAP 15 containerd 1.6.6-150000.73.2 SUSE-SU-2022:2341-1
SLES for SAP 15 docker 20.10.17_ce-150000.166.1 SUSE-SU-2022:2341-1
SLES for SAP 15 runc 1.1.3-150000.30.1 SUSE-SU-2022:2341-1
SLE Micro 5.2 containerd 1.6.6-150000.73.2 SUSE-SU-2022:2341-1
SLE Micro 5.2 docker 20.10.17_ce-150000.166.1 SUSE-SU-2022:2341-1
SLE Micro 5.2 runc 1.1.3-150000.30.1 SUSE-SU-2022:2341-1
SLE Micro 5.1 containerd 1.6.6-150000.73.2 SUSE-SU-2022:2341-1
SLE Micro 5.1 docker 20.10.17_ce-150000.166.1 SUSE-SU-2022:2341-1
SLE Micro 5.1 runc 1.1.3-150000.30.1 SUSE-SU-2022:2341-1
SLE HPC 15 SP2 containerd 1.6.6-150000.73.2 SUSE-SU-2022:2341-1
SLE HPC 15 SP2 docker 20.10.17_ce-150000.166.1 SUSE-SU-2022:2341-1
SLE HPC 15 SP2 runc 1.1.3-150000.30.1 SUSE-SU-2022:2341-1
SLE HPC 15 SP1 containerd 1.6.6-150000.73.2 SUSE-SU-2022:2341-1
SLE HPC 15 SP1 docker 20.10.17_ce-150000.166.1 SUSE-SU-2022:2341-1
SLE HPC 15 SP1 runc 1.1.3-150000.30.1 SUSE-SU-2022:2341-1
SLE HPC 15 containerd 1.6.6-150000.73.2 SUSE-SU-2022:2341-1
SLE HPC 15 docker 20.10.17_ce-150000.166.1 SUSE-SU-2022:2341-1
SLE HPC 15 runc 1.1.3-150000.30.1 SUSE-SU-2022:2341-1
SUSE Manager Server 4.1 containerd 1.6.6-150000.73.2 SUSE-SU-2022:2341-1
SUSE Manager Server 4.1 docker 20.10.17_ce-150000.166.1 SUSE-SU-2022:2341-1
SUSE Manager Server 4.1 runc 1.1.3-150000.30.1 SUSE-SU-2022:2341-1
SUSE Manager Retail Branch Server 4.1 containerd 1.6.6-150000.73.2 SUSE-SU-2022:2341-1
SUSE Manager Retail Branch Server 4.1 docker 20.10.17_ce-150000.166.1 SUSE-SU-2022:2341-1
SUSE Manager Retail Branch Server 4.1 runc 1.1.3-150000.30.1 SUSE-SU-2022:2341-1
SUSE Manager Proxy 4.1 containerd 1.6.6-150000.73.2 SUSE-SU-2022:2341-1
SUSE Manager Proxy 4.1 docker 20.10.17_ce-150000.166.1 SUSE-SU-2022:2341-1
SUSE Manager Proxy 4.1 runc 1.1.3-150000.30.1 SUSE-SU-2022:2341-1
SUSE Enterprise Storage 7.1 runc 1.1.3-150000.30.1 SUSE-SU-2022:2341-1
SUSE Enterprise Storage 7 containerd 1.6.6-150000.73.2 SUSE-SU-2022:2341-1
SUSE Enterprise Storage 7 docker 20.10.17_ce-150000.166.1 SUSE-SU-2022:2341-1
SUSE Enterprise Storage 7 runc 1.1.3-150000.30.1 SUSE-SU-2022:2341-1
SUSE Enterprise Storage 6 containerd 1.6.6-150000.73.2 SUSE-SU-2022:2341-1
SUSE Enterprise Storage 6 docker 20.10.17_ce-150000.166.1 SUSE-SU-2022:2341-1
SUSE Enterprise Storage 6 runc 1.1.3-150000.30.1 SUSE-SU-2022:2341-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed containerd 1.6.6-1.1 openSUSE-SU-2024:12130-1
openSUSE Leap 15.4 containerd 1.6.6-150000.73.2 SUSE-SU-2022:2341-1
openSUSE Leap 15.4 docker +1 20.10.17_ce-150000.166.1 SUSE-SU-2022:2341-1
openSUSE Leap 15.4 runc 1.1.3-150000.30.1 SUSE-SU-2022:2341-1
openSUSE Leap 15.3 containerd 1.6.6-150000.73.2 SUSE-SU-2022:2341-1
openSUSE Leap 15.3 docker +1 20.10.17_ce-150000.166.1 SUSE-SU-2022:2341-1
openSUSE Leap 15.3 runc 1.1.3-150000.30.1 SUSE-SU-2022:2341-1
ReleasePackageFixed inAdvisory
Alpine v3.24 containerd 1.6.6-r0 —
Alpine v3.23 containerd 1.6.6-r0 —
Alpine v3.22 containerd 1.6.6-r0 —
Alpine v3.21 containerd 1.6.6-r0 —
Alpine v3.20 containerd 1.6.6-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 containerd 1.6.6-r0 —
Alpine v3.18 containerd 1.6.6-r0 —
Alpine v3.17 containerd 1.6.6-r0 —
Alpine v3.16 containerd 1.6.6-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 containerd +1 1.6.8-2.amzn2023.0.3 ALAS2023-2023-079

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) moby-containerd 1.6.6-1 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling ctop 0.7.7-r13 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/containerd/containerd < 1.5.13 1.5.13 GHSA-5ffw-gxpp-mxpf
Go github.com/containerd/containerd >= 1.6.0, < 1.6.6 1.6.6 GHSA-5ffw-gxpp-mxpf
Go github.com/containerd/containerd < 1.5.13 · >= 1.6.0, < 1.6.6 1.5.13, 1.6.6 GO-2022-0482

Advisories 9

References