CVE-2022-2989: Docker supplementary group permissions bypass in github.com/docker/docker

github.com/docker/docker Updated 02 Oct 2025

Summary

21/08/2024
Yes i
Moderate
5.3

CVE-2022-36109: Docker supplementary group permissions not set up properly, allowing attackers to bypass primary group restrictions in github.com/docker/docker. Affects github.com/docker/docker versions < 20.10.18+incompatible. Fixed in 20.10.18+incompatible. How to fix ↓

Also tracked for

The same CVE-2022-36109 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Docker is an open-source platform that automates the deployment, scaling, and management of applications. It allows developers to package their applications and dependencies into containers, providing a consistent environment for running software. The package 'github.com/docker/docker' is a Go library that provides a client interface for interacting with the Docker API. This vulnerability affects the way supplementary group permissions are set up in Docker, potentially allowing attackers to bypass primary group restrictions.

Vulnerability Detail

The Docker supplementary group permissions are not properly configured in the 'github.com/docker/docker' package. This oversight enables attackers to bypass primary group restrictions. By exploiting this vulnerability, an attacker could gain unauthorized access to resources or perform actions that should be restricted to certain groups. The impact of this vulnerability depends on the specific permissions and restrictions in place within the Docker environment.

How To Fix

Latest published version: v28.5.2+incompatible as of 22 Oct 2026

go get github.com/docker/docker@v28.5.2+incompatible

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

20.10.18+incompatible

This is the first release that contains the fix.

go get github.com/docker/docker@v20.10.18+incompatible

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. It is advised to follow the recommended fix and update the 'github.com/docker/docker' package to the latest version.

Conclusion

The 'github.com/docker/docker' package is vulnerable to a bypass of primary group restrictions due to improper setup of supplementary group permissions. This vulnerability can be mitigated by updating the package to version 20.10.18 or later. It is important for Docker users to promptly apply the recommended fix to ensure the security of their Docker environments.

See every vulnerability recorded for github.com/docker/docker →

Share this vulnerability

FAQ

Docker is an open-source platform that automates the deployment, scaling, and management of applications using containerization.

The 'github.com/docker/docker' package is a Go library that provides a client interface for interacting with the Docker API.

This vulnerability allows attackers to bypass primary group restrictions in Docker, potentially gaining unauthorized access to resources or performing restricted actions.

To fix this vulnerability, update the 'github.com/docker/docker' package to version 20.10.18 or later.

There is no specific workaround mentioned for this vulnerability. It is recommended to update the package to the latest version.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/docker/docker.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Latest published version: v28.5.2+incompatible as of 22 Oct 2026

go get github.com/docker/docker@v28.5.2+incompatible

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

20.10.18+incompatible

This is the first release that contains the fix.

go get github.com/docker/docker@v20.10.18+incompatible

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback