CVE-2022-23471 (https://github.com/containerd/containerd/security/advisories/GHSA-2qjp-425j-52j9): https://github.com/containerd/containerd/commit/a05d175400b1145e5e6a735a6710579d181e7fb0 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. CVE-2022-41717 (https://groups.google.com/g/golang-announce/c/L_3rmdT0BMU/m/yZDrXjIiBQAJ): An attacker can cause excessive memory growth in a Go server accepting HTTP/2 requests. HTTP/2 server connections contain a cache of HTTP header keys sent by the client. While the total number of entries in this cache is capped, an attacker sending very large keys can cause the server to allocate approximately 64 MiB per open connection. Please bump to 20.10.22.
Are we actually affected by the containerd bug (bug 884803)?
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=148bc131424758ad726fb652af025956cc2bd1e0 commit 148bc131424758ad726fb652af025956cc2bd1e0 Author: William Hubbs <williamh@gentoo.org> AuthorDate: 2023-01-03 16:03:56 +0000 Commit: William Hubbs <williamh@gentoo.org> CommitDate: 2023-01-03 16:04:17 +0000 app-containers/docker: add 20.10.22 Bug: https://bugs.gentoo.org/886509 Signed-off-by: William Hubbs <williamh@gentoo.org> app-containers/docker/Manifest | 1 + app-containers/docker/docker-20.10.22.ebuild | 285 +++++++++++++++++++++++++++ 2 files changed, 286 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c72dc6489fa9a1a28e23dffc8f6d595ee3e80dd7 commit c72dc6489fa9a1a28e23dffc8f6d595ee3e80dd7 Author: William Hubbs <williamh@gentoo.org> AuthorDate: 2023-01-05 05:38:46 +0000 Commit: William Hubbs <williamh@gentoo.org> CommitDate: 2023-01-05 05:38:46 +0000 app-containers/docker: drop 20.10.17 Bug: https://bugs.gentoo.org/886509 Signed-off-by: William Hubbs <williamh@gentoo.org> app-containers/docker/Manifest | 1 - app-containers/docker/docker-20.10.17.ebuild | 285 --------------------------- 2 files changed, 286 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e68cf62fafcd937cd67dce86d5ad561efa411a2d commit e68cf62fafcd937cd67dce86d5ad561efa411a2d Author: William Hubbs <williamh@gentoo.org> AuthorDate: 2023-01-05 05:37:37 +0000 Commit: William Hubbs <williamh@gentoo.org> CommitDate: 2023-01-05 05:37:37 +0000 app-containers/docker-cli: drop 20.10.17 Bug: https://bugs.gentoo.org/886509 Signed-off-by: William Hubbs <williamh@gentoo.org> app-containers/docker-cli/Manifest | 1 - .../docker-cli/docker-cli-20.10.17.ebuild | 67 ---------------------- 2 files changed, 68 deletions(-)