Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-27534

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-27534
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:38 UTC · Revision 1

Source evidence

CVE-2020-27534

core-osv · Original source

Published 30 Dec 2020, 23:15 UTC

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.

osv:CVE-2020-27534
Complete source record
{
  "id": "a696e70cef52bc0936f5af5ac960f3111e42b766b066ad460b5dae3d4b1eee5d",
  "url": "https://osv.dev/vulnerability/CVE-2020-27534",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-27534",
    "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.",
    "evidence": "osv:CVE-2020-27534",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-27534",
      "aliases": [
        "CVE-2020-27534",
        "GHSA-6hwg-w5jg-9c6x"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/docker-archive/docker-ce",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9d988398e765e4b97f27f93c4d04b272ac64c9c7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:docker:docker:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "19.03.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v19.03.8",
            "v19.03.7",
            "v19.03.6",
            "v19.03.6-rc2",
            "v19.03.6-rc1",
            "v19.03.5",
            "v19.03.5-rc1",
            "v19.03.5-beta2",
            "v19.03.5-beta1",
            "v19.03.4",
            "v19.03.4-rc1",
            "v19.03.3",
            "v19.03.3-rc1",
            "v19.03.3-beta2",
            "v19.03.3-beta1",
            "v19.03.2",
            "v19.03.2-rc1",
            "v19.03.2-beta1",
            "v19.03.0",
            "v19.03.0-rc3",
            "v19.03.0-rc2",
            "v19.03.0-beta5",
            "v19.03.0-beta4",
            "v19.03.0-beta3",
            "v19.03.0-beta2",
            "v19.03.0-beta1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-27534.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/docker-archive/engine",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "811a247d06e8f37cbccd2c2d9546815b912a1948"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:docker:docker:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "19.03.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v19.03.8",
            "v19.03.7",
            "v19.03.6-rc2",
            "v19.03.6",
            "v19.03.6-rc1",
            "v19.03.5",
            "v19.03.5-rc1",
            "v19.03.5-beta2",
            "v19.03.5-beta1",
            "v19.03.4-rc1",
            "v19.03.4",
            "v19.03.3",
            "v19.03.3-rc1",
            "v19.03.3-beta2",
            "v19.03.3-beta1",
            "v19.03.2-rc1",
            "v19.03.2",
            "v19.03.2-beta1",
            "v19.03.1",
            "v19.03.0",
            "v19.03.0-rc3",
            "v19.03.0-rc2",
            "v19.03.0-beta5",
            "v19.03.0-beta4",
            "v19.03.0-beta3",
            "v19.03.0-beta2",
            "v19.03.0-beta1",
            "v18.09.0-ce-tp0",
            "v18.06.0-ce-rc1",
            "docs-v1.12.0-rc4-2016-07-15",
            "v0.7.2",
            "v0.7.1",
            "v0.7.0",
            "v0.6.5",
            "v0.5.0",
            "v0.4.7",
            "v0.4.5",
            "v0.4.4",
            "v0.4.2",
            "v0.4.1",
            "v0.3.2",
            "v0.3.1",
            "v0.3.0",
            "v0.2.2",
            "v0.2.1",
            "v0.2.0",
            "v0.1.8",
            "v0.1.7",
            "v0.1.6",
            "v0.1.5",
            "v0.1.4",
            "v0.1.3",
            "v0.1.2",
            "v0.1.1",
            "v0.1.0",
            "upstream/0.1.3",
            "0.0.3",
            "upstream/0.1.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-27534.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/moby/moby",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "811a247d06e8f37cbccd2c2d9546815b912a1948"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:docker:docker:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "19.03.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v19.03.8",
            "v19.03.7",
            "v19.03.6-rc2",
            "v19.03.6",
            "v19.03.6-rc1",
            "v19.03.5",
            "v19.03.5-rc1",
            "v19.03.5-beta2",
            "v19.03.5-beta1",
            "v19.03.4-rc1",
            "v19.03.4",
            "v19.03.3",
            "v19.03.3-rc1",
            "v19.03.3-beta2",
            "v19.03.3-beta1",
            "v19.03.2-rc1",
            "v19.03.2",
            "v19.03.2-beta1",
            "v19.03.1",
            "v19.03.0",
            "v19.03.0-rc3",
            "v19.03.0-rc2",
            "v19.03.0-beta5",
            "v19.03.0-beta4",
            "v19.03.0-beta3",
            "v19.03.0-beta2",
            "v19.03.0-beta1",
            "v18.09.0-ce-tp0",
            "v18.06.0-ce-rc1",
            "docs-v1.12.0-rc4-2016-07-15",
            "v0.7.2",
            "v0.7.1",
            "v0.7.0",
            "v0.6.5",
            "v0.5.0",
            "v0.4.7",
            "v0.4.5",
            "v0.4.4",
            "v0.4.2",
            "v0.4.1",
            "v0.3.2",
            "v0.3.1",
            "v0.3.0",
            "v0.2.2",
            "v0.2.1",
            "v0.2.0",
            "v0.1.8",
            "v0.1.7",
            "v0.1.6",
            "v0.1.5",
            "v0.1.4",
            "v0.1.3",
            "v0.1.2",
            "v0.1.1",
            "v0.1.0",
            "upstream/0.1.3",
            "0.0.3",
            "upstream/0.1.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-27534.json"
          }
        }
      ],
      "modified": "2026-10-24T10:47:49.042211587Z",
      "provider": "osv",
      "references": [
        "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"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-27534",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 441567,
  "published_at": "2020-12-30T23:15:15.297+00:00"
}