Vulnerability identifier: #VU79751
Vulnerability risk: Medium
CVSSv3.1: 4.9 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:U/RC:C]
CVE-ID:
CWE-ID:
CWE-22
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Docker
Server applications /
Virtualization software
Vendor: Docker Inc.
Description
The vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to util/binfmt_misc/check.go calls os.OpenFile with a potentially unsafe qemu-check temporary pathname, constructed with an empty first argument in an ioutil.TempDir call. A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
Docker: 19.03.0 - 19.03.8
External links
http://web.archive.org/web/20200530054359/
http://docs.docker.com/engine/release-notes/
http://github.com/moby/buildkit/pull/1462
http://github.com/moby/moby/pull/40877
http://golang.org/pkg/io/ioutil/#TempDir
http://golang.org/pkg/os/#TempDir
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.