medium5.3
CVE-2020-27534
Path Traversal in Moby builder
Impact
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 | Fixed in |
|---|---|---|---|
| go | github.com/moby/moby | < 19.03.9 | 19.03.9 |
| go | github.com/docker/docker | < 19.03.9 | 19.03.9 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Docker | Docker | before 19.03.9 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://web.archive.org/web/20200530054359/https://docs.docker.com/engine/release-notes/
- https://github.com/moby/buildkit/pull/1462
- https://github.com/moby/moby/pull/40877
- https://golang.org/pkg/io/ioutil/#TempDir
- https://golang.org/pkg/os/#TempDir
- https://github.com/advisories/GHSA-6hwg-w5jg-9c6x
- https://nvd.nist.gov/vuln/detail/CVE-2020-27534
- https://bugzilla.redhat.com/show_bug.cgi?id=1921154
- http://web.archive.org/web/20200530054359/https://docs.docker.com/engine/release-notes