GitHub Advisory Database
GHSA-6hwg-w5jg-9c6x
Path Traversal in Moby builder
Details
util/binfmt_misc/check.go in Builder in Docker Engine before 19.03.9 calls os.OpenFile with a potentially unsafe qemu-check temporary pathname, constructed with an empty first argument in an ioutil.TempDir call.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/moby/moby | All versions before 19.03.9 (fixed in 19.03.9) |
| Go | github.com/docker/docker | All versions before 19.03.9 (fixed in 19.03.9) |