Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 886509 - <app-containers/docker-20.10.22: multiple vulnerabilities
Summary: <app-containers/docker-20.10.22: multiple vulnerabilities
Status: CONFIRMED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://github.com/moby/moby/releases...
Whiteboard: B3 [glsa?]
Keywords:
Depends on: 889546 889694
Blocks: CVE-2022-41717
  Show dependency tree
 
Reported: 2022-12-17 23:58 UTC by John Helmert III
Modified: 2023-01-05 17:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-12-17 23:58:25 UTC
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.
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-12-17 23:58:57 UTC
Are we actually affected by the containerd bug (bug 884803)?
Comment 2 Larry the Git Cow gentoo-dev 2023-01-03 16:04:27 UTC
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(+)
Comment 3 Larry the Git Cow gentoo-dev 2023-01-05 05:39:27 UTC
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(-)