{"id":"CVE-2022-31030","aliases":["CVE-2022-31030","GHSA-5ffw-gxpp-mxpf","GO-2022-0482"],"related":["CGA-gc9j-rh9q-mvc9"],"kind":"vulnerability","state":"published","title":"containerd CRI plugin: Host memory exhaustion through ExecSync","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nA bug was found in 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.\n\n### Patches\n\nThis bug has been fixed in containerd 1.6.6 and 1.5.13.  Users should update to these versions to resolve the issue.\n\n### Workarounds\n\nEnsure that only trusted images and commands are used. \n\n### References\n\n* Similar fix in cri-o's CRI implementation https://github.com/cri-o/cri-o/security/advisories/GHSA-fcm2-6c3h-pg6j\n\n### Credits\n\nThe containerd project would like to thank David Korczynski and Adam Korczynski of ADA Logics for responsibly disclosing this issue in accordance with the [containerd security policy](https://github.com/containerd/project/blob/main/SECURITY.md) during a security audit sponsored by CNCF and facilitated by OSTIF.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n* Open an issue in [containerd](https://github.com/containerd/containerd/issues/new/choose)\n* Email us at [security@containerd.io](mailto:security@containerd.io)","format":"markdown","source":"ghsa"},{"lang":"en","text":"containerd CRI plugin: Host memory exhaustion through ExecSync in github.com/containerd/containerd","format":"markdown","source":"go"},{"lang":"es","text":"containerd es un tiempo de ejecución de contenedores de código abierto. Se ha encontrado un error en la implementación de CRI de containerd en el que los programas dentro de un contenedor pueden causar que el demonio containerd consuma memoria sin límites durante la invocación de la API \"ExecSync\". Esto puede causar que containerd consuma toda la memoria disponible en el equipo, negando el servicio a otras cargas de trabajo legítimas. Tanto Kubernetes como crictl pueden configurarse para usar la implementación CRI de containerd; \"ExecSync\" puede usarse cuando son ejecutadas sondas o cuando son ejecutados procesos por medio de una instalación \"exec\". Este error ha sido corregido en containerd versiones 1.6.6 y 1.5.13. Los usuarios deben actualizar a estas versiones para resolver el problema. Los usuarios que no puedan actualizar deberían asegurarse de que sólo son usadas imágenes y comandos confiables","source":"nvd"}],"published":"2022-06-06T00:00:00.000Z","modified":"2026-09-10T03:49:49.235Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","score":2.1,"rating":"LOW"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"version":"< 1.5.13","status":"affected"},{"version":">= 1.6.0, < 1.6.6","status":"affected"}],"vendor":"containerd","product":"containerd","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.5.13"}],"ecosystem":"Go","package":"github.com/containerd/containerd","purl":"pkg:golang/github.com/containerd/containerd","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.6.0","status":"affected","fixed":"1.6.6"}],"ecosystem":"Go","package":"github.com/containerd/containerd","purl":"pkg:golang/github.com/containerd/containerd","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.5.13"},{"type":"semver","introduced":"1.6.0","status":"affected","fixed":"1.6.6"}],"ecosystem":"Go","package":"github.com/containerd/containerd","purl":"pkg:golang/github.com/containerd/containerd","source":"go"},{"ranges":[{"status":"affected","fixed":"1.5.13"},{"status":"affected","introduced":"1.6.0","fixed":"1.6.6"}],"vendor":"linuxfoundation","product":"containerd","cpe":"cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"35"},{"status":"affected","version":"36"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/containerd/containerd/security/advisories/GHSA-5ffw-gxpp-mxpf","tags":["advisory","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/containerd/containerd/commit/c1bcabb4541930f643aa36a2b38655e131346382","tags":["fix","product","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2022/06/07/1","tags":["mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://www.debian.org/security/2022/dsa-5162","tags":["third-party-advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WSIGDBHAB3I75JBJNGWEPBTJPS2FOVHD/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/REOZCUAPCA7NFDWYBDYX6EYXWLHABKBO/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.gentoo.org/glsa/202401-31","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31030","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/containerd/containerd","tags":["package"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/REOZCUAPCA7NFDWYBDYX6EYXWLHABKBO","tags":["web"],"sources":["ghsa","go"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WSIGDBHAB3I75JBJNGWEPBTJPS2FOVHD","tags":["web"],"sources":["ghsa","go"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/REOZCUAPCA7NFDWYBDYX6EYXWLHABKBO","tags":["web"],"sources":["ghsa","go"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSIGDBHAB3I75JBJNGWEPBTJPS2FOVHD","tags":["web"],"sources":["ghsa","go"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-31030","url":"https://www.cve.org/CVERecord?id=CVE-2022-31030","licence":"CVE Terms of Use","modified":"2024-08-03T07:03:40.336Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5ffw-gxpp-mxpf","url":"https://github.com/advisories/GHSA-5ffw-gxpp-mxpf","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:49.235Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0482","url":"https://pkg.go.dev/vuln/GO-2022-0482","licence":"CC-BY-4.0","modified":"2026-02-04T04:07:30.567Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-31030","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31030","licence":"Public domain","modified":"2026-06-17T04:44:38.587Z"}],"updatedAt":"2026-11-25T22:58:12.185Z","epss":{"score":0.0046,"percentile":0.31833,"date":"2026-11-30T12:00:22.000Z"}}