Vulnerability Name:

CVE-2020-27534 (CCN-194542)

Assigned:2020-04-27
Published:2020-04-27
Updated:2021-01-05
Summary: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.
CVSS v3 Severity:5.3 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
4.6 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): None
Availibility (A): None
5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
4.6 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:5.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): None
Availibility (A): None
5.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-22
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2020-27534

Source: MISC
Type: Release Notes, Third Party Advisory
http://web.archive.org/web/20200530054359/https://docs.docker.com/engine/release-notes/

Source: XF
Type: UNKNOWN
docker-cve202027534-sec-bypass(194542)

Source: CCN
Type: Docker Engine GIT Repository
Docker Engine (The Moby Project)

Source: CCN
Type: GitHub Web site
Avoid creation of irrelevant temporary files on Windows #1462

Source: MISC
Type: Third Party Advisory
https://github.com/moby/buildkit/pull/1462

Source: MISC
Type: Third Party Advisory
https://github.com/moby/moby/pull/40877

Source: MISC
Type: Third Party Advisory
https://golang.org/pkg/io/ioutil/#TempDir

Source: MISC
Type: Third Party Advisory
https://golang.org/pkg/os/#TempDir

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2020-27534

Vulnerable Configuration:Configuration 1:
  • cpe:/a:docker:docker:*:*:*:*:*:*:*:* (Version < 19.03.9)

  • Configuration CCN 1:
  • cpe:/a:docker:engine:19.03.8:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    docker docker *
    docker engine 19.03.8