CVE-2022-31030
containerd CRI plugin: Host memory exhaustion through ExecSync in github.com/containerd/containerd
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.
How to fix CVE-2022-31030
To remediate CVE-2022-31030, upgrade the affected package to a fixed version below.
- —upgrade to 1.4.13~ds1-1~deb11u2 or later
- —upgrade to 1.5.13 or later
- —upgrade to 1.5.13 or later
Is CVE-2022-31030 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 1.4.13~ds1-1~deb11u2
- from 0, < 1.5.13
- from 0, < 1.5.13, >= 1.6.0, < 1.6.6
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |