cve.bz

CVE-2020-10696 Path traversal

8.8 highExploit referenceEPSS 2.7%Fix available

High (8.8). EPSS 2.7% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/containers/buildah 1.14.4.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
2.7% (unchanged from 2.7% a week ago; 2.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 86th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-10696 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-10696?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-10696?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-10696 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
buildah_project:buildahbefore 1.14.5
redhat:openshift_container_platform3.11
redhat:enterprise_linux7.0
redhat:enterprise_linux8.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-fx8w-mjvm-hvpcGogithub.com/containers/buildah<1.14.41.14.4
GO-2022-0828Gogithub.com/containers/buildah<1.14.41.14.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14golang-github-containers-buildah1.11.6-2DEBIAN-CVE-2020-10696
Red Hatenterprise_linux:8::appstreambuildah, buildah-debuginfo, buildah-debugsource0:1.5-4.gite94b4f9.module+el8.2.0+6370+6fb6c8caRHSA-2020:1926
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more0:1.11.6-7.module+el8.2.0+6369+1f4293b4RHSA-2020:1931
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more0:1.11.6-8.module+el8.2.0+6368+cf16aa14RHSA-2020:1932
Red Hatenterprise_linux:8::appstreamcockpit-podman0:11-1.module+el8.2.0+6369+1f4293b4RHSA-2020:1931
Red Hatenterprise_linux:8::appstreamcockpit-podman0:12-1.module+el8.2.0+6368+cf16aa14RHSA-2020:1932
Red Hatenterprise_linux:8::appstreamconmon2:2.0.6-1.module+el8.2.0+6368+cf16aa14RHSA-2020:1932
Red Hatenterprise_linux:8::appstreamconmon2:2.0.6-1.module+el8.2.0+6369+1f4293b4RHSA-2020:1931
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.124.0-1.gitf958d0c.module+el8.2.0+6370+6fb6c8caRHSA-2020:1926
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.124.0-1.module+el8.2.0+6368+cf16aa14RHSA-2020:1932
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.124.0-1.module+el8.2.0+6369+1f4293b4RHSA-2020:1931
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource0:0.7.4-3.git9ebe139.module+el8.2.0+6370+6fb6c8caRHSA-2020:1926
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource0:0.8.3-4.module+el8.2.0+6369+1f4293b4RHSA-2020:1931
32 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 12 morebuildah1.25.1-150100.3.13.12SUSE-SU-2022:3480-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Module for Basesystem 15 SP3libgpg-error1.42-150300.9.3.1SUSE-SU-2022:3766-1
SUSELinux Enterprise Module for Containers 15 SP1, Linux Enterprise Module for Containers 15 SP2buildah1.17.0-3.6.1SUSE-SU-2020:3423-1
SUSELinux Enterprise Module for Containers 15 SP3buildah1.23.1-150300.8.3.1SUSE-SU-2022:0770-1
SUSELinux Enterprise Module for Containers 15 SP3buildah1.27.1-150300.8.11.1SUSE-SU-2022:3766-1
SUSELinux Enterprise Module for Containers 15 SP3buildah1.28.2-150300.8.14.1SUSE-SU-2022:4350-1
SUSELinux Enterprise Module for Containers 15 SP4buildah1.27.1-150400.3.8.1SUSE-SU-2022:3655-1
SUSELinux Enterprise Module for Containers 15 SP4buildah1.28.2-150400.3.11.1SUSE-SU-2022:4349-1
openSUSELeap 15.1buildah1.17.0-lp151.2.6.1openSUSE-SU-2020:2106-1
openSUSELeap 15.2buildah1.19.2-lp152.2.3.1openSUSE-SU-2021:0310-1
openSUSELeap 15.2libcontainers-common20210112-lp152.2.6.1openSUSE-SU-2021:0310-1
openSUSELeap 15.2podman2.2.1-lp152.4.9.1openSUSE-SU-2021:0310-1
openSUSELeap 15.3buildah1.23.1-150300.8.3.1openSUSE-SU-2022:0770-1
openSUSELeap 15.3buildah1.27.1-150300.8.11.1SUSE-SU-2022:3766-1
openSUSELeap 15.3buildah1.28.2-150300.8.14.1SUSE-SU-2022:4350-1
openSUSELeap 15.3, Leap Micro 5.2libgpg-error1.42-150300.9.3.1SUSE-SU-2022:3766-1
openSUSELeap 15.4buildah1.27.1-150400.3.8.1SUSE-SU-2022:3655-1
openSUSELeap 15.4buildah1.28.2-150400.3.11.1SUSE-SU-2022:4349-1
openSUSETumbleweedbuildah1.23.0-1.1openSUSE-SU-2024:10666-1
openSUSETumbleweedgovulncheck-vulndb0.0.20241213T205935-1.1openSUSE-SU-2024:14599-1
AlmaLinux8cockpit-podman11-1.module_el8.5.0+108+00865455ALSA-2020:1931
AlmaLinux8cockpit-podman11-1.module_el8.5.0+2635+e4386a39ALSA-2020:1931
AlmaLinux8container-selinux2:2.124.0-1.gitf958d0c.module_el8.3.0+2044+12421f43ALSA-2020:1926
AlmaLinux8containernetworking-plugins0.8.3-4.module_el8.5.0+108+00865455ALSA-2020:1931
AlmaLinux8containernetworking-plugins0.8.3-4.module_el8.5.0+2635+e4386a39ALSA-2020:1931
AlmaLinux8crit, criu, python3-criu3.12-9.module_el8.3.0+2044+12421f43ALSA-2020:1926 ALSA-2020:1931 ALSA-2020:1932
AlmaLinux8crit, criu, python3-criu3.12-9.module_el8.4.0+2496+12421f43ALSA-2020:1926 ALSA-2020:1931 ALSA-2020:1932
AlmaLinux8crit, criu, python3-criu3.12-9.module_el8.5.0+119+9a9ec082ALSA-2020:1926 ALSA-2020:1931 ALSA-2020:1932
AlmaLinux8fuse-overlayfs0.3-5.module_el8.3.0+2044+12421f43ALSA-2020:1926
AlmaLinux8fuse-overlayfs0.3-5.module_el8.4.0+2496+12421f43ALSA-2020:1926
AlmaLinux8fuse-overlayfs0.3-5.module_el8.5.0+119+9a9ec082ALSA-2020:1926
AlmaLinux8oci-systemd-hook1:0.1.15-2.git2d0b8a3.module_el8.3.0+2044+12421f43ALSA-2020:1926
19 more for AlmaLinux in the JSON.
Rocky Linux8buildah0:1.11.6-8.module+el8.4.0+559+c02fa3b2RLSA-2020:1932
Rocky Linux8cockpit-podman0:11-1.module+el8.4.0+559+c02fa3b2RLSA-2020:1931
Rocky Linux8cockpit-podman0:11-1.module+el8.5.0+708+6758137dRLSA-2020:1931
Rocky Linux8cockpit-podman0:11-1.module+el8.5.0+770+e2f49861RLSA-2020:1931
Rocky Linux8container-selinux2:2.124.0-1.gitf958d0c.module+el8.4.0+557+48ba8b2fRLSA-2020:1926
Rocky Linux8container-selinux2:2.124.0-1.gitf958d0c.module+el8.5.0+681+c9a1951fRLSA-2020:1926 RLSA-2020:1931 RLSA-2020:1932
Rocky Linux8containernetworking-plugins0:0.8.3-4.module+el8.4.0+559+c02fa3b2RLSA-2020:1931
Rocky Linux8containernetworking-plugins0:0.8.3-4.module+el8.5.0+708+6758137dRLSA-2020:1931
Rocky Linux8containernetworking-plugins0:0.8.3-4.module+el8.5.0+770+e2f49861RLSA-2020:1931
Rocky Linux8criu0:3.12-9.module+el8.4.0+557+48ba8b2fRLSA-2020:1926 RLSA-2020:1931 RLSA-2020:1932
Rocky Linux8criu0:3.12-9.module+el8.5.0+681+c9a1951fRLSA-2020:1926 RLSA-2020:1931 RLSA-2020:1932
Rocky Linux8fuse-overlayfs0:0.3-5.module+el8.4.0+557+48ba8b2fRLSA-2020:1926
20 more for Rocky Linux in the JSON.
Alpinev3.14, v3.15, v3.16 and 8 morebuildah1.14.4-r0ALPINE-CVE-2020-10696

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

While OpenShift Container Platform does include the vulnerable buildah code, it doesn't make use of the vulnerable function. Podman is also included in OpenShift Container Platform, but it isn't used to perform a build, so it has been given a low impact rating.

OpenShift Container Platform 3.11 now used podman from the RHEL Extra repository, and not the podman package shipped in the OpenShift 3.11 RPM repository. This issue is fixed in podman in RHEL Extras so we won't fix the podman package shipped in the OpenShift 3.11 RPM repository.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7 Extrasbuildah-0:1.11.6-11.el7_8Fixed 2020-05-12RHSA-2020:2116
Red Hat Enterprise Linux 7 Extraspodman-0:1.6.4-18.el7_8Fixed 2020-05-12RHSA-2020:2117
Red Hat Enterprise Linux 8container-tools:1.0-8020020200420104655.28c38760Fixed 2020-04-28RHSA-2020:1926
Red Hat Enterprise Linux 8container-tools:2.0-8020020200420175838.28c38760Fixed 2020-04-28RHSA-2020:1931
Red Hat Enterprise Linux 8container-tools:rhel8-8020020200420180128.28c38760Fixed 2020-04-28RHSA-2020:1932
Red Hat OpenShift Container Platform 4.1podman-0:1.0.2-4.dev.git96ccc2e.rhaos4.1.el8Fixed 2020-04-22RHSA-2020:1449
Red Hat OpenShift Container Platform 4.2podman-0:1.4.2-6.rhaos4.2.el8Fixed 2020-04-14RHSA-2020:1401
Red Hat OpenShift Container Platform 4.3podman-0:1.6.4-10.rhaos4.3.el8Fixed 2020-04-14RHSA-2020:1396
Red Hat OpenShift Container Platform 4.4openshift4/ose-aws-machine-controllers:v4.4.0-202004261927Fixed 2020-05-04RHBA-2020:0581
Red Hat OpenShift Container Platform 4.4openshift4/ose-azure-machine-controllers:v4.4.0-202004261927Fixed 2020-05-04RHBA-2020:0581
Red Hat OpenShift Container Platform 4.4openshift4/ose-baremetal-machine-controllers:v4.4.0-202004261927Fixed 2020-05-04RHBA-2020:0581
Red Hat OpenShift Container Platform 4.4openshift4/ose-baremetal-rhel7-operator:v4.4.0-202004261927Fixed 2020-05-04RHBA-2020:0581
Red Hat OpenShift Container Platform 4.4openshift4/ose-cli:v4.4.0-202004261927Fixed 2020-05-04RHBA-2020:0581
Red Hat OpenShift Container Platform 4.4openshift4/ose-cli-artifacts:v4.4.0-202004261927Fixed 2020-05-04RHBA-2020:0581
Red Hat OpenShift Container Platform 4.4openshift4/ose-cloud-credential-operator:v4.4.0-202004261927Fixed 2020-05-04RHBA-2020:0581
Red Hat OpenShift Container Platform 4.4openshift4/ose-cluster-authentication-operator:v4.4.0-202004261927Fixed 2020-05-04RHBA-2020:0581
Red Hat OpenShift Container Platform 4.4openshift4/ose-cluster-autoscaler:v4.4.0-202004261927Fixed 2020-05-04RHBA-2020:0581
Red Hat OpenShift Container Platform 4.4openshift4/ose-cluster-autoscaler-operator:v4.4.0-202004261927Fixed 2020-05-04RHBA-2020:0581
Red Hat OpenShift Container Platform 3.11atomic-openshiftFix deferred
Red Hat OpenShift Container Platform 3.11podmanWill not fix
72 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-10696.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON