VDB
Sign up
MEDIUM6.5

GHSA-2mj3-vfvx-fc43

Moby Race Condition vulnerability

Quick fix

GHSA-2mj3-vfvx-fc43 — github.com/moby/moby: upgrade to the fixed version with the command below.

go get github.com/moby/moby@v26.0.0

Details

moby v25.0.5 is affected by a Race Condition in builder/builder-next/adapters/snapshot/layer.go. The vulnerability could be used to trigger concurrent builds that call the EnsureLayer function resulting in resource leaks/exhaustion.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/moby/moby
Introduced in: 0Fixed in: 26.0.0
Fixgo get github.com/moby/moby@v26.0.0

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:golang/github.com/moby/moby"]}'