Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/moby/moby
  4. ›
  5. CVE-2020-27534

CVE-2020-27534: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

January 31, 2024

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.

References

  • web.archive.org/web/20200530054359/https://docs.docker.com/engine/release-notes/
  • bugzilla.redhat.com/show_bug.cgi?id=1921154
  • github.com/advisories/GHSA-6hwg-w5jg-9c6x
  • github.com/moby/buildkit/pull/1462
  • github.com/moby/moby/pull/40877
  • nvd.nist.gov/vuln/detail/CVE-2020-27534

Code Behaviors & Features

Detect and mitigate CVE-2020-27534 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 19.03.9

Fixed versions

  • 19.03.9

Solution

Upgrade to version 19.03.9 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/github.com/moby/moby/CVE-2020-27534.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:39 +0000.