Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 816273 (CVE-2021-41089, CVE-2021-41091) - <app-containers/docker-20.10.9: multiple vulnerabilities
Summary: <app-containers/docker-20.10.9: multiple vulnerabilities
Status: RESOLVED FIXED
Alias: CVE-2021-41089, CVE-2021-41091
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Gentoo Security
URL: https://github.com/moby/moby/security...
Whiteboard: B3 [glsa+]
Keywords:
Depends on: 816468
Blocks:
  Show dependency tree
 
Reported: 2021-10-04 19:10 UTC by Sam James
Modified: 2024-09-28 07:34 UTC (History)
4 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 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-04 19:10:30 UTC
Description:
"A bug was found in Moby (Docker Engine) where attempting to copy files using docker cp into a specially-crafted container can result in Unix file permission changes for existing files in the host’s filesystem, widening access to others. This bug does not directly allow files to be read, modified, or executed without an additional cooperating process."

----
Please bump to 20.10.9.
Comment 1 Larry the Git Cow gentoo-dev 2021-10-04 23:21:12 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73716742eaab9768a28bccc7a0365d733cb766dd

commit 73716742eaab9768a28bccc7a0365d733cb766dd
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2021-10-04 23:20:58 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2021-10-04 23:20:58 +0000

    app-emulation/docker: 20.10.9 bump
    
    Bug: https://bugs.gentoo.org/816273
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 app-emulation/docker/Manifest              |   1 +
 app-emulation/docker/docker-20.10.9.ebuild | 279 +++++++++++++++++++++++++++++
 2 files changed, 280 insertions(+)
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-10-06 15:50:22 UTC
Please cleanup.
Comment 3 Larry the Git Cow gentoo-dev 2021-10-06 16:49:51 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91c390664f76df208c9169c17350e6cdf67004cb

commit 91c390664f76df208c9169c17350e6cdf67004cb
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2021-10-06 16:49:17 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2021-10-06 16:49:44 +0000

    app-emulation/docker: remove old
    
    Bug: https://bugs.gentoo.org/816273
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 app-emulation/docker/Manifest              |   2 -
 app-emulation/docker/docker-20.10.7.ebuild | 279 -----------------------------
 app-emulation/docker/docker-20.10.8.ebuild | 279 -----------------------------
 3 files changed, 560 deletions(-)
Comment 4 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-10-06 19:08:17 UTC
CVE-2021-41091:

Moby is an open-source project created by Docker to enable software containerization. A bug was found in Moby (Docker Engine) where the data directory (typically `/var/lib/docker`) contained subdirectories with insufficiently restricted permissions, allowing otherwise unprivileged Linux users to traverse directory contents and execute programs. When containers included executable programs with extended permission bits (such as `setuid`), unprivileged Linux users could discover and execute those programs. When the UID of an unprivileged Linux user on the host collided with the file owner or group inside a container, the unprivileged Linux user on the host could discover, read, and modify those files. This bug has been fixed in Moby (Docker Engine) 20.10.9. Users should update to this version as soon as possible. Running containers should be stopped and restarted for the permissions to be fixed. For users unable to upgrade limit access to the host to trusted users. Limit access to host volumes to trusted containers.
Comment 5 Larry the Git Cow gentoo-dev 2024-09-28 07:33:09 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/data/glsa.git/commit/?id=72515324253c8d95723f4e5308eb0fe41ebed5cd

commit 72515324253c8d95723f4e5308eb0fe41ebed5cd
Author:     GLSAMaker <glsamaker@gentoo.org>
AuthorDate: 2024-09-28 07:32:55 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2024-09-28 07:33:05 +0000

    [ GLSA 202409-29 ] Docker: Multiple Vulnerabilities
    
    Bug: https://bugs.gentoo.org/816273
    Bug: https://bugs.gentoo.org/869407
    Bug: https://bugs.gentoo.org/877653
    Bug: https://bugs.gentoo.org/886509
    Bug: https://bugs.gentoo.org/903804
    Bug: https://bugs.gentoo.org/905336
    Bug: https://bugs.gentoo.org/925022
    Signed-off-by: GLSAMaker <glsamaker@gentoo.org>
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 glsa-202409-29.xml | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)