Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/containers/buildah/imagebuildah
  4. ›
  5. CVE-2020-10696

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

May 18, 2021

A path traversal flaw was found in Buildah in versions before 1.14.5. This flaw allows an attacker to trick a user into building a malicious container image hosted on an HTTP(s) server and then write files to the user’s system anywhere that the user has permissions.

References

  • access.redhat.com/security/cve/cve-2020-10696
  • github.com/advisories/GHSA-fx8w-mjvm-hvpc
  • github.com/containers/buildah/pull/2245
  • nvd.nist.gov/vuln/detail/CVE-2020-10696

Code Behaviors & Features

Detect and mitigate CVE-2020-10696 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 1.14.4

Fixed versions

  • 1.14.4

Solution

Upgrade to version 1.14.4 or above.

Impact 8.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

go/github.com/containers/buildah/imagebuildah/CVE-2020-10696.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:53 +0000.