Directory Traversal Affecting docker-bash-completion package, versions <20.10.6_ce-6.49.3
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-SLES151-DOCKERBASHCOMPLETION-2675129
- published 14 Apr 2022
- disclosed 11 Jun 2021
Introduced: 11 Jun 2021
CVE-2021-21284 Open this link in a new tabHow to fix?
Upgrade SLES:15.1
docker-bash-completion
to version 20.10.6_ce-6.49.3 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream docker-bash-completion
package and not the docker-bash-completion
package as distributed by SLES
.
See How to fix?
for SLES:15.1
relevant fixed versions and status.
In Docker before versions 9.03.15, 20.10.3 there is a vulnerability involving the --userns-remap option in which access to remapped root allows privilege escalation to real root. When using "--userns-remap", if the root user in the remapped namespace has access to the host filesystem they can modify files under "/var/lib/docker/<remapping>" that cause writing files with extended privileges. Versions 20.10.3 and 19.03.15 contain patches that prevent privilege escalation from remapped user.
References
- https://www.suse.com/security/cve/CVE-2021-21284.html
- https://lists.suse.com/pipermail/sle-security-updates/2021-June/008994.html
- https://www.suse.com/support/update/announcement/2021/suse-su-20211954-1/
- https://bugzilla.suse.com/1168481
- https://bugzilla.suse.com/1175081
- https://bugzilla.suse.com/1175821
- https://bugzilla.suse.com/1181594
- https://bugzilla.suse.com/1181641
- https://bugzilla.suse.com/1181677
- https://bugzilla.suse.com/1181730
- https://bugzilla.suse.com/1181732
- https://bugzilla.suse.com/1181749
- https://bugzilla.suse.com/1182451
- https://bugzilla.suse.com/1182476
- https://bugzilla.suse.com/1182947
- https://bugzilla.suse.com/1183024
- https://bugzilla.suse.com/1183855
- https://bugzilla.suse.com/1184768
- https://bugzilla.suse.com/1184962
- https://bugzilla.suse.com/1185405
- https://www.suse.com/security/cve/CVE-2021-21284/
- https://www.suse.com/security/cve/CVE-2021-21285/
- https://www.suse.com/security/cve/CVE-2021-21334/
- https://www.suse.com/security/cve/CVE-2021-30465/
- https://www.suse.com/support/security/rating/
- https://github.com/moby/moby/commit/64bd4485b3a66a597c02c95f5776395e540b2c7c
- https://docs.docker.com/engine/release-notes/#20103
- https://github.com/moby/moby/security/advisories/GHSA-7452-xqpj-6rpc
- https://github.com/moby/moby/releases/tag/v19.03.15
- https://github.com/moby/moby/releases/tag/v20.10.3
- https://security.netapp.com/advisory/ntap-20210226-0005/
- https://www.debian.org/security/2021/dsa-4865
- https://security.gentoo.org/glsa/202107-23