CVE-2021-20291 (https://nvd.nist.gov/vuln/detail/CVE-2021-20291): A deadlock vulnerability was found in 'github.com/containers/storage' in versions before 1.28.1. When a container image is processed, each layer is unpacked using `tar`. If one of those layers is not a valid `tar` archive this causes an error leading to an unexpected situation where the code indefinitely waits for the tar unpacked stream, which never finishes. An attacker could use this vulnerability to craft a malicious image, which when downloaded and stored by an application using containers/storage, would then cause a deadlock leading to a Denial of Service (DoS).
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=449dae000afa1038f206f231ada81254df905a5d commit 449dae000afa1038f206f231ada81254df905a5d Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2021-04-26 23:18:45 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2021-04-26 23:20:06 +0000 app-emulation/cri-o: Remove vulnerable versions Bug: https://bugs.gentoo.org/785904 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Zac Medico <zmedico@gentoo.org> app-emulation/cri-o/Manifest | 3 -- app-emulation/cri-o/cri-o-1.17.1.ebuild | 95 --------------------------------- app-emulation/cri-o/cri-o-1.18.3.ebuild | 95 --------------------------------- app-emulation/cri-o/cri-o-1.19.0.ebuild | 95 --------------------------------- 4 files changed, 288 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df29fd4dc579aca46e7410b62d74981980b851d5 commit df29fd4dc579aca46e7410b62d74981980b851d5 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2021-04-26 23:10:49 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2021-04-26 23:20:06 +0000 app-emulation/cri-o: Bump to version 1.21.0 Bug: https://bugs.gentoo.org/785904 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Zac Medico <zmedico@gentoo.org> app-emulation/cri-o/Manifest | 1893 +++++++++++++++++++++++++++++ app-emulation/cri-o/cri-o-1.21.0.ebuild | 1997 +++++++++++++++++++++++++++++++ 2 files changed, 3890 insertions(+)
cri-o v1.21.0 received the fix for CVE-2021-20291 when it updated to containers/storage v1.28.1 in this commit: https://github.com/cri-o/cri-o/commit/aa4418436d62a250504e6bcb6efe517956fa74a8
Thanks! Tree clean, all done.