CVE-2020-10696 json
Path Traversal in Buildah
published 2020-03-31 6 y ago modified 2026-09-10 1 mo ago also GHSA-fx8w-mjvm-hvpc , GO-2022-0828 , EUVD-2021-1069
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.7%
- EPSS 2.7% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/containers/buildah 1.14.4
- buildah_project buildah 1.14.5
- golang-github-containers-buildah Debian 14, Debian 13, Debian 12 1.11.6-2
debian advisories DEBIAN-CVE-2020-10696
- jq openshift 4.4 1.6-2.el7
- apb openshift 4.4 2.0.3-2.el7
- faq openshift 4.4 0.0.6-4.el7
- grpc openshift 4.4 1.18.0-4.el8ost
- ipxe openshift 4.4 20181214-5.git133f4c47.el8
- runc openshift 4.4 1.0.0-68.rc10.rhaos4.4.el7_8
- runc openshift 4.4 1.0.0-65.rc10.rhaos4.4.el8
- tini openshift 4.4 0.16.1-1.el7ar
red hat advisories RHBA-2020:0582RHSA-2020:1926RHSA-2020:1932RHSA-2020:1931RHSA-2020:2117RHSA-2020:2116
- buildah SLE Module for Containers 15 SP3, openSUSE Leap 15.3 1.28.2-150300.8.14.1
- buildah SLE Module for Containers 15 SP4, openSUSE Leap 15.4 1.28.2-150400.3.11.1
- buildah SLE Module for Containers 15 SP3, openSUSE Leap 15.3 1.27.1-150300.8.11.1
- libgpg-error SLE Module for Basesystem 15 SP3, SLE Micro 5.2, SLE Micro 5.1 +2 more 1.42-150300.9.3.1
- buildah SLE Module for Containers 15 SP4, openSUSE Leap 15.4 1.27.1-150400.3.8.1
- buildah SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES 15 SP2-LTSS +12 more 1.25.1-150100.3.13.12
- buildah SLE Module for Containers 15 SP3 1.23.1-150300.8.3.1
- buildah SLE Module for Containers 15 SP2, SLE Module for Containers 15 SP1 1.17.0-3.6.1
suse advisories SUSE-SU-2022:4350-1SUSE-SU-2022:4349-1SUSE-SU-2022:3766-1SUSE-SU-2022:3655-1SUSE-SU-2022:3480-1SUSE-SU-2022:0770-1
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20241213T205935-1.1
- buildah openSUSE Tumbleweed 1.23.0-1.1
- buildah openSUSE Leap 15.3 1.23.1-150300.8.3.1
- podman openSUSE Leap 15.2 2.2.1-lp152.4.9.1
- buildah openSUSE Leap 15.2 1.19.2-lp152.2.3.1
- libcontainers-common openSUSE Leap 15.2 20210112-lp152.2.6.1
- buildah openSUSE Leap 15.1 1.17.0-lp151.2.6.1
opensuse advisories openSUSE-SU-2024:14599-1openSUSE-SU-2024:10666-1openSUSE-SU-2022:0770-1openSUSE-SU-2021:0310-1openSUSE-SU-2020:2106-1
- crit AlmaLinux 8 3.12-9.module_el8.3.0+2044+12421f43
- crit AlmaLinux 8 3.12-9.module_el8.4.0+2496+12421f43
- crit AlmaLinux 8 3.12-9.module_el8.5.0+119+9a9ec082
- criu AlmaLinux 8 3.12-9.module_el8.4.0+2496+12421f43
- criu AlmaLinux 8 3.12-9.module_el8.3.0+2044+12421f43
- criu AlmaLinux 8 3.12-9.module_el8.5.0+119+9a9ec082
- udica AlmaLinux 8 0.2.1-2.module_el8.5.0+108+00865455
- udica AlmaLinux 8 0.2.1-2.module_el8.5.0+2635+e4386a39
almalinux advisories ALSA-2020:1932ALSA-2020:1931ALSA-2020:1926
- criu Rocky Linux 8 3.12-9.module+el8.5.0+681+c9a1951f
- criu Rocky Linux 8 3.12-9.module+el8.4.0+557+48ba8b2f
- runc Rocky Linux 8 1.0.0-65.rc10.module+el8.4.0+559+c02fa3b2
- udica Rocky Linux 8 0.2.1-2.module+el8.5.0+770+e2f49861
- udica Rocky Linux 8 0.2.1-2.module+el8.4.0+559+c02fa3b2
- udica Rocky Linux 8 0.2.1-2.module+el8.5.0+708+6758137d
- buildah Rocky Linux 8 1.11.6-8.module+el8.4.0+559+c02fa3b2
- toolbox Rocky Linux 8 0.0.7-1.module+el8.5.0+770+e2f49861
rocky linux advisories RLSA-2020:1932RLSA-2020:1931RLSA-2020:1926
- buildah Alpine 3.24, Alpine 3.23, Alpine 3.22 +8 more 1.14.4-r0
alpine advisories ALPINE-CVE-2020-10696
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/containers/buildah#2245 pull request
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10696 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-10696 updated cvss 8.8
buildah: Crafted input tar file may lead to local file overwrite during image build process
-
Red Hat OpenShift Container Platform 3.11 podman, atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, +8 moreaffected: no fix available, no fix planned “Will not fix”
-
Red Hat Enterprise Linux 7 Extras podman 1.6.4-18.el7_8, buildah 1.11.6-11.el7_8, podman-docker 1.6.4-18.el7_8fixed: vendor fix RHSA-2020:2116
-
Red Hat Enterprise Linux AppStream (v. 8) crit 3.12-9.module+el8.2.0+6368+cf16aa14, crit 3.12-9.module+el8.2.0+6369+1f4293b4, crit 3.12-9.module+el8.2.0+6370+6fb6c8ca, criu 3.12-9.module+el8.2.0+6368+cf16aa14, criu 3.12-9.module+el8.2.0+6369+1f4293b4, criu 3.12-9.module+el8.2.0+6370+6fb6c8ca, +53 morefixed: vendor fix RHSA-2020:1931
-
Red Hat OpenShift Container Platform 4.1 podman 1.0.2-4.dev.git96ccc2e.rhaos4.1.el8, podman-docker 1.0.2-4.dev.git96ccc2e.rhaos4.1.el8fixed: vendor fix RHSA-2020:1449
-
Red Hat OpenShift Container Platform 4.2 podman 1.4.2-6.rhaos4.2.el8, podman-docker 1.4.2-6.rhaos4.2.el8, podman-manpages 1.4.2-6.rhaos4.2.el8fixed: vendor fix RHSA-2020:1401
-
Red Hat OpenShift Container Platform 4.3 podman 1.6.4-10.rhaos4.3.el8, podman-tests 1.6.4-10.rhaos4.3.el8, podman-docker 1.6.4-10.rhaos4.3.el8, podman-remote 1.6.4-10.rhaos4.3.el8, podman-manpages 1.6.4-10.rhaos4.3.el8fixed: vendor fix RHSA-2020:1396
-
Red Hat OpenShift Container Platform 4.4 openshift4/ose-cli v4.4.0-202004261927, openshift4/ose-pod v4.4.0-202004261927, openshift4/ose-etcd v4.4.0-202004261927, openshift4/ose-tests v4.4.0-202004261927, openshift4/ose-console v4.4.0-202004261927, openshift4/ose-coredns v4.4.0-202004261927, +76 morefixed: vendor fix RHBA-2020:0581
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.68% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/containers/buildah/pull/2245 referenced PoC, tagged "exploit" by a source, unverified
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10696 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/containers/buildah | <1.14.4 |
1.14.4 |
Affected products
- Red Hat buildah
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/containers/buildah/pull/2245
web, exploit, third-party-advisory, patch
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2020-10696
web, exploit, issue-tracking, patch, third-party-advisory
-
access.redhat.com
/security/cve/cve-2020-10696
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-10696
advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1817651
web
-
github.com
/containers/buildah
package
-
pkg.go.dev
/vuln/GO-2022-0828
web
-
github.com
/advisories/GHSA-fx8w-mjvm-hvpc
advisory
Sources
- CVE List CVE-2020-10696
- GitHub Advisory GHSA-fx8w-mjvm-hvpc
- NVD CVE-2020-10696
- OSV GO-2022-0828
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.