CVE-2020-15157: If a container image manifest in the OCI Image format or Docker Image V2 Schema 2 format includes a URL for the location of a specific image layer (otherwise known as a “foreign layer”), the default containerd resolver will follow that URL to attempt to download it. In v1.2.x but not 1.3.0 or later, the default containerd resolver will provide its authentication credentials if the server where the URL is located presents an HTTP 401 status code along with registry-specific HTTP headers. If an attacker publishes a public image with a manifest that directs one of the layers to be fetched from a web server they control and they trick a user or system into pulling the image, they can obtain the credentials used for pulling that image. In some cases, this may be the user's username and password for the registry. In other cases, this may be the credentials attached to the cloud virtual instance which can grant access to other cloud resources in the account. This is patched in 1.2.14 and in all 1.3 versions. Maintainers, please drop the 1.2 branch or produce an updated ebuild for that branch. Thanks!
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff574337518003f1f7bfcbb98e92373f0580a58 commit bff574337518003f1f7bfcbb98e92373f0580a58 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2020-11-10 21:25:33 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2020-11-10 21:33:13 +0000 app-emulation/containerd: drop old Bug: https://bugs.gentoo.org/749579 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> app-emulation/containerd/Manifest | 9 ---- app-emulation/containerd/containerd-1.2.10.ebuild | 56 ----------------------- app-emulation/containerd/containerd-1.2.12.ebuild | 56 ----------------------- app-emulation/containerd/containerd-1.2.13.ebuild | 56 ----------------------- app-emulation/containerd/containerd-1.2.6.ebuild | 56 ----------------------- app-emulation/containerd/containerd-1.2.7.ebuild | 56 ----------------------- app-emulation/containerd/containerd-1.3.0.ebuild | 56 ----------------------- app-emulation/containerd/containerd-1.3.1.ebuild | 56 ----------------------- app-emulation/containerd/containerd-1.3.2.ebuild | 55 ---------------------- app-emulation/containerd/containerd-1.3.4.ebuild | 55 ---------------------- app-emulation/containerd/files/containerd.initd | 24 ---------- 11 files changed, 535 deletions(-)
GLSA vote: no! Repository is clean, all done!