CVE-2022-36109 Affecting docker.io package, versions <20.10.19+dfsg1-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.19% (58th percentile)

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 IDSNYK-DEBIAN12-DOCKERIO-3021225
  • published12 Sept 2022
  • disclosed9 Sept 2022

Introduced: 9 Sep 2022

CVE-2022-36109  (opens in a new tab)

How to fix?

Upgrade Debian:12 docker.io to version 20.10.19+dfsg1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream docker.io package and not the docker.io package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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 &#34;USER $USERNAME&#34; Dockerfile instruction. Instead by calling ENTRYPOINT [&#34;su&#34;, &#34;-&#34;, &#34;user&#34;] the supplementary groups will be set up properly.

CVSS Scores

version 3.1