CVE-2020-27534
5.3medium
Path Traversal in Moby builder
- Severity
- 5.3medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.77% (higher than 78% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-6hwg-w5jg-9c6x
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| github.com/moby/moby (Go) | before 19.03.9 | GitHub Advisory Database |
| github.com/docker/docker (Go) | before 19.03.9 | GitHub Advisory Database |
| docker docker | before 19.03.9 | NVD |
All scores
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
El archivo util/binfmt_misc/check.go en Builder en Docker Engine versiones anteriores a 9.03.9, llama a os.OpenFile con un nombre de ruta temporal qemu-check potencialmente inseguro, construido con un primer argumento vacío en una llamada de ioutil.TempDir.
References
| https://github.com/moby/buildkit/pull/1462 | third-party-advisory, web | |
| https://github.com/moby/moby/pull/40877 | third-party-advisory, web | |
| http://web.archive.org/web/20200530054359/https://docs.docker.com/engine/release-notes/ | release-notes, third-party-advisory | |
| https://golang.org/pkg/io/ioutil/#TempDir | third-party-advisory | |
| https://golang.org/pkg/os/#TempDir | third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-27534 | advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1921154 | web | |
| http://web.archive.org/web/20200530054359/https://docs.docker.com/engine/release-notes | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-27534 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6hwg-w5jg-9c6x changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2020-27534 changed 2026-06-17 | Public domain |