SecurityContext

CVE-2022-23471: containerd - Memory Leak

  • Cve: CVE-2022-23471
  • Name: containerd - Memory Leak
  • Description: containerd is an open source container runtime. A bug was found in containerd's CRI implementation where a user can exhaust memory on the host. In the CRI stream server, a goroutine is launched to handle terminal resize events if a TTY is requested. If the user's process fails to launch due to, for example, a faulty command, the goroutine will be stuck waiting to send without a receiver, resulting in a memory leak. Kubernetes and crictl can both be configured to use containerd's CRI implementation and the stream server is used for handling container IO. This bug has been fixed in containerd 1.6.12 and 1.5.16. Users should update to these versions to resolve the issue. Users unable to upgrade should ensure that only trusted images and commands are used and that only trusted users have permissions to execute commands in running containers.
  • Impact: Attackers can exhaust host memory, potentially leading to denial of service or system instability.
  • Remediation: Update to containerd versions 1.6.12 or 1.5.16. If unable to upgrade, restrict commands and images to trusted sources.
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.01114
  • Epss percentile: 0.66708
  • Assignee: [email protected]
  • Published at: 2022-12-07T23:15:09Z
  • Age in days: 1448
  • Modified at: 2026-06-17T04:30:11Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-23471
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-400Uncontrolled Resource Consumption
CWE-401Missing Release of Memory after Effective Lifetime

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/containerd/containerd/commit/a05d175400b1145e5e6a735a6710579d181e7fb0Patch, Third Party Advisory
https://github.com/containerd/containerd/security/advisories/GHSA-2qjp-425j-52j9Third Party Advisory
https://security.gentoo.org/glsa/202401-31

Products

ProductAffectedPlatform boundSourcesUrl
linuxfoundation:containerd>= 1.6.0, < 1.6.12; < 1.5.16nonvd/v1/products/linuxfoundation/containerd

Projects

RepositoryLink kindsIndexedUrl
containerd/containerdcommit, package, releases, security_advisoryyes/v1/repositories/containerd/containerd

Index

  • Repositories: 47
  • Repositories high signal: 6
  • Packages: 1

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts