{"id":"CVE-2022-31030","published":"2022-06-06T00:00:00Z","modified":"2024-08-03T07:03:40Z","title":"containerd CRI plugin: Host memory exhaustion through ExecSync","vendor":"containerd","product":"containerd","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00387,"percentile":0.33651,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/containerd/containerd/security/advisories/GHSA-5ffw-gxpp-mxpf","tags":[]},{"url":"https://github.com/containerd/containerd/commit/c1bcabb4541930f643aa36a2b38655e131346382","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2022/06/07/1","tags":["mailing-list"]},{"url":"https://www.debian.org/security/2022/dsa-5162","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WSIGDBHAB3I75JBJNGWEPBTJPS2FOVHD/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/REOZCUAPCA7NFDWYBDYX6EYXWLHABKBO/","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202401-31","tags":["vendor-advisory"]}],"priority":{"score":10.6,"factors":[{"name":"EPSS percentile","points":6.73},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"containerd","affectedVersions":[{"vendor":"containerd","product":"containerd","versions":["< 1.5.13",">= 1.6.0, < 1.6.6"]}],"affected":[{"ecosystem":"Go","package":"github.com/containerd/containerd","vulnerableRanges":["<1.5.13",">=1.6.0, <1.6.6"],"patched":["1.5.13","1.6.6"],"from":["GHSA-5ffw-gxpp-mxpf","GO-2022-0482"],"provenance":"source"}],"summary":{"text":"A flaw in containerd's CRI implementation lets programs running inside a container cause the containerd daemon to consume memory without bound when the ExecSync API is invoked, which is used for probes and exec operations in Kubernetes and crictl. An attacker who already has local access and low-privilege rights to run a process in a container can exhaust the host's memory without any user interaction, denying service to other legitimate workloads.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:03:00Z"},"euvd":{"id":"EUVD-2022-5937","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-41103","published":"2021-10-04","fixed":"1.5.7","kev":false},{"cve":"CVE-2021-43816","published":"2022-01-05","fixed":"1.5.9","kev":false},{"cve":"CVE-2022-23648","published":"2022-03-03","fixed":"1.6.1","kev":false,"link":{"from":"CVE-2022-23648","to":"CVE-2022-31030","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/containerd/containerd","fromFixed":"1.5.10","toFixed":"1.5.13","daysApart":95}]}},{"cve":"CVE-2022-31030","published":"2022-06-06","fixed":"1.6.6","kev":false},{"cve":"CVE-2022-23471","published":"2022-12-07","fixed":"1.6.12","kev":false,"link":{"from":"CVE-2022-31030","to":"CVE-2022-23471","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/containerd/containerd","fromFixed":"1.5.13","toFixed":"1.5.16","daysApart":184}]}},{"cve":"CVE-2023-25153","published":"2023-02-16","fixed":"1.6.18","kev":false},{"cve":"CVE-2023-25173","published":"2023-02-16","fixed":"1.6.18","kev":false}],"package":"Go:github.com/containerd/containerd"}}