Advisory

UBUNTU-CVE-2022-36109

Also known as: CVE-2022-36109

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Dates

Published
2022-09-09 18:15 UTC
Modified
2026-03-24 10:59 UTC

Affected packages and fixes

docker.io

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 20.10.21-0ubuntu1~18.04.2 (ecosystem)

Fixed versions

20.10.21-0ubuntu1~18.04.2

Fix

  • Fixed version 20.10.21-0ubuntu1~18.04.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

docker.io

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 20.10.21-0ubuntu1~20.04.1 (ecosystem)

Fixed versions

20.10.21-0ubuntu1~20.04.1

Fix

  • Fixed version 20.10.21-0ubuntu1~20.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

docker.io

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 20.10.21-0ubuntu1~22.04.2 (ecosystem)

Fixed versions

20.10.21-0ubuntu1~22.04.2

Fix

  • Fixed version 20.10.21-0ubuntu1~22.04.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences