Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 869407 (CVE-2022-36109) - <app-containers/docker-20.10.22: supplementary groups mishandling
Summary: <app-containers/docker-20.10.22: supplementary groups mishandling
Status: RESOLVED FIXED
Alias: CVE-2022-36109
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: B4 [glsa+]
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-10 01:37 UTC by John Helmert III
Modified: 2024-09-28 07:34 UTC (History)
3 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-09-10 01:37:14 UTC
CVE-2022-36109:

Moby is an open-source project created by Docker to enable software containerization. A bug was found in Moby (Docker Engine) where supplementary groups are not set up properly. If an attacker has direct access to a container and manipulates their supplementary group access, they may be able to use supplementary group access to bypass primary group restrictions in some cases, potentially gaining access to sensitive information or gaining the ability to execute code in that container. This bug is fixed in Moby (Docker Engine) 20.10.18. Running containers should be stopped and restarted for the permissions to be fixed. For users unable to upgrade, this problem can be worked around by not using the `"USER $USERNAME"` Dockerfile instruction. Instead by calling `ENTRYPOINT ["su", "-", "user"]` the supplementary groups will be set up properly.

Please bump to 20.10.18.
Comment 1 Larry the Git Cow gentoo-dev 2024-09-28 07:33:08 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(+)