source-to-image: Improper path sanitization in ExtractTarStreamFromTarReader in tar/tar.go
Published Apr 30, 2018
9.9
CRITICALCVSS 3.0
EPSS 2.46%
Description
A flaw was found in source-to-image function as shipped with Openshift Enterprise 3.x. An improper path validation of tar files in ExtractTarStreamFromTarReader in tar/tar.go leads to privilege escalation.
Affected products
-
- Version as shipped with Openshift Enterprise 3.xStatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Red Hat, Inc. | Atomic-Openshift | n/a |
|
- 3.0
- 3.1
- 3.2
- 3.3
- 3.4
- 3.5
- 3.6
- 3.7
- 3.8
- 3.9
No data.
Red Hat OpenShift Container Platform 3.2
atomic-openshift-0:3.2.1.34-2.git.3.aad33c3.el7
Fixed · RHSA-2018:1241
Red Hat OpenShift Container Platform 3.3
atomic-openshift-0:3.3.1.46.39-2.git.3.cc57f5b.el7
Fixed · RHSA-2018:1239
Red Hat OpenShift Container Platform 3.4
atomic-openshift-0:3.4.1.44.53-1.git.0.d7eb028.el7
Fixed · RHSA-2018:1237
Red Hat OpenShift Container Platform 3.4
openshift-ansible-0:3.4.168-1.git.0.bb73aad.el7
Fixed · RHSA-2018:1237
Red Hat OpenShift Container Platform 3.4
python-ruamel-yaml-0:0.12.14-9.el7
Fixed · RHSA-2018:1237
Red Hat OpenShift Container Platform 3.5
atomic-openshift-0:3.5.5.31.67-1.git.0.0a8cf24.el7
Fixed · RHSA-2018:1235
Red Hat OpenShift Container Platform 3.5
openshift-ansible-0:3.5.165-1.git.0.475fa67.el7
Fixed · RHSA-2018:1235
Red Hat OpenShift Container Platform 3.6
atomic-openshift-0:3.6.173.0.113-1.git.0.65fb9fb.el7
Fixed · RHSA-2018:1233
Red Hat OpenShift Container Platform 3.6
rubygem-cool.io-0:1.5.3-1.el7
Fixed · RHSA-2018:1233
Red Hat OpenShift Container Platform 3.6
rubygem-excon-0:0.60.0-1.el7
Fixed · RHSA-2018:1233
Red Hat OpenShift Container Platform 3.6
rubygem-faraday-0:0.13.1-1.el7
Fixed · RHSA-2018:1233
Red Hat OpenShift Container Platform 3.6
rubygem-ffi-0:1.9.23-1.el7
Fixed · RHSA-2018:1233
Red Hat OpenShift Container Platform 3.6
rubygem-fluent-plugin-kubernetes_metadata_filter-0:1.0.1-1.el7
Fixed · RHSA-2018:1233
Red Hat OpenShift Container Platform 3.6
rubygem-fluent-plugin-systemd-0:0.0.9-1.el7
Fixed · RHSA-2018:1233
Red Hat OpenShift Container Platform 3.6
rubygem-minitest-0:5.10.3-1.el7
Fixed · RHSA-2018:1233
Red Hat OpenShift Container Platform 3.6
rubygem-msgpack-0:1.2.2-1.el7
Fixed · RHSA-2018:1233
Red Hat OpenShift Container Platform 3.6
rubygem-multi_json-0:1.13.1-1.el7
Fixed · RHSA-2018:1233
Red Hat OpenShift Container Platform 3.6
rubygem-systemd-journal-0:1.3.1-1.el7
Fixed · RHSA-2018:1233
Red Hat OpenShift Container Platform 3.6
rubygem-tzinfo-0:1.2.5-1.el7
Fixed · RHSA-2018:1233
Red Hat OpenShift Container Platform 3.6
rubygem-tzinfo-data-0:1.2018.3-1.el7
Fixed · RHSA-2018:1233
Red Hat OpenShift Container Platform 3.6
rubygem-unf_ext-0:0.0.7.5-1.el7
Fixed · RHSA-2018:1233
Red Hat OpenShift Container Platform 3.7
apb-0:1.0.6-1.el7
Fixed · RHSA-2018:1231
Red Hat OpenShift Container Platform 3.7
atomic-openshift-0:3.7.44-1.git.0.6b061d4.el7
Fixed · RHSA-2018:1231
Red Hat OpenShift Container Platform 3.7
rubygem-fluent-plugin-elasticsearch-0:1.14.0-1.el7
Fixed · RHSA-2018:1231
Red Hat OpenShift Container Platform 3.8
atomic-openshift-0:3.8.37-1.git.0.e85a326.el7
Fixed · RHSA-2018:1229
Red Hat OpenShift Container Platform 3.8
atomic-openshift-dockerregistry-0:3.8.37-1.git.224.8e15ecf.el7
Fixed · RHSA-2018:1229
Red Hat OpenShift Container Platform 3.8
openshift-ansible-0:3.8.37-1.git.0.be319af.el7
Fixed · RHSA-2018:1229
Red Hat OpenShift Container Platform 3.9
atomic-openshift-0:3.9.25-1.git.0.6bc473e.el7
Fixed · RHSA-2018:1227
Red Hat OpenShift Enterprise 3.1
atomic-openshift-0:3.1.1.11-4.git.3.12809c8.el7
Fixed · RHSA-2018:1243
Red Hat Software Collections for Red Hat Enterprise Linux 7
source-to-image-0:1.1.13-1.el7
Fixed · RHSA-2019:0036
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
source-to-image-0:1.1.13-1.el7
Fixed · RHSA-2019:0036
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
source-to-image-0:1.1.13-1.el7
Fixed · RHSA-2019:0036
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
source-to-image-0:1.1.13-1.el7
Fixed · RHSA-2019:0036
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenShift Container Platform 3.2 | atomic-openshift-0:3.2.1.34-2.git.3.aad33c3.el7 | Fixed | RHSA-2018:1241 |
| Red Hat OpenShift Container Platform 3.3 | atomic-openshift-0:3.3.1.46.39-2.git.3.cc57f5b.el7 | Fixed | RHSA-2018:1239 |
| Red Hat OpenShift Container Platform 3.4 | atomic-openshift-0:3.4.1.44.53-1.git.0.d7eb028.el7 | Fixed | RHSA-2018:1237 |
| Red Hat OpenShift Container Platform 3.4 | openshift-ansible-0:3.4.168-1.git.0.bb73aad.el7 | Fixed | RHSA-2018:1237 |
| Red Hat OpenShift Container Platform 3.4 | python-ruamel-yaml-0:0.12.14-9.el7 | Fixed | RHSA-2018:1237 |
| Red Hat OpenShift Container Platform 3.5 | atomic-openshift-0:3.5.5.31.67-1.git.0.0a8cf24.el7 | Fixed | RHSA-2018:1235 |
| Red Hat OpenShift Container Platform 3.5 | openshift-ansible-0:3.5.165-1.git.0.475fa67.el7 | Fixed | RHSA-2018:1235 |
| Red Hat OpenShift Container Platform 3.6 | atomic-openshift-0:3.6.173.0.113-1.git.0.65fb9fb.el7 | Fixed | RHSA-2018:1233 |
| Red Hat OpenShift Container Platform 3.6 | rubygem-cool.io-0:1.5.3-1.el7 | Fixed | RHSA-2018:1233 |
| Red Hat OpenShift Container Platform 3.6 | rubygem-excon-0:0.60.0-1.el7 | Fixed | RHSA-2018:1233 |
| Red Hat OpenShift Container Platform 3.6 | rubygem-faraday-0:0.13.1-1.el7 | Fixed | RHSA-2018:1233 |
| Red Hat OpenShift Container Platform 3.6 | rubygem-ffi-0:1.9.23-1.el7 | Fixed | RHSA-2018:1233 |
| Red Hat OpenShift Container Platform 3.6 | rubygem-fluent-plugin-kubernetes_metadata_filter-0:1.0.1-1.el7 | Fixed | RHSA-2018:1233 |
| Red Hat OpenShift Container Platform 3.6 | rubygem-fluent-plugin-systemd-0:0.0.9-1.el7 | Fixed | RHSA-2018:1233 |
| Red Hat OpenShift Container Platform 3.6 | rubygem-minitest-0:5.10.3-1.el7 | Fixed | RHSA-2018:1233 |
| Red Hat OpenShift Container Platform 3.6 | rubygem-msgpack-0:1.2.2-1.el7 | Fixed | RHSA-2018:1233 |
| Red Hat OpenShift Container Platform 3.6 | rubygem-multi_json-0:1.13.1-1.el7 | Fixed | RHSA-2018:1233 |
| Red Hat OpenShift Container Platform 3.6 | rubygem-systemd-journal-0:1.3.1-1.el7 | Fixed | RHSA-2018:1233 |
| Red Hat OpenShift Container Platform 3.6 | rubygem-tzinfo-0:1.2.5-1.el7 | Fixed | RHSA-2018:1233 |
| Red Hat OpenShift Container Platform 3.6 | rubygem-tzinfo-data-0:1.2018.3-1.el7 | Fixed | RHSA-2018:1233 |
| Red Hat OpenShift Container Platform 3.6 | rubygem-unf_ext-0:0.0.7.5-1.el7 | Fixed | RHSA-2018:1233 |
| Red Hat OpenShift Container Platform 3.7 | apb-0:1.0.6-1.el7 | Fixed | RHSA-2018:1231 |
| Red Hat OpenShift Container Platform 3.7 | atomic-openshift-0:3.7.44-1.git.0.6b061d4.el7 | Fixed | RHSA-2018:1231 |
| Red Hat OpenShift Container Platform 3.7 | rubygem-fluent-plugin-elasticsearch-0:1.14.0-1.el7 | Fixed | RHSA-2018:1231 |
| Red Hat OpenShift Container Platform 3.8 | atomic-openshift-0:3.8.37-1.git.0.e85a326.el7 | Fixed | RHSA-2018:1229 |
| Red Hat OpenShift Container Platform 3.8 | atomic-openshift-dockerregistry-0:3.8.37-1.git.224.8e15ecf.el7 | Fixed | RHSA-2018:1229 |
| Red Hat OpenShift Container Platform 3.8 | openshift-ansible-0:3.8.37-1.git.0.be319af.el7 | Fixed | RHSA-2018:1229 |
| Red Hat OpenShift Container Platform 3.9 | atomic-openshift-0:3.9.25-1.git.0.6bc473e.el7 | Fixed | RHSA-2018:1227 |
| Red Hat OpenShift Enterprise 3.1 | atomic-openshift-0:3.1.1.11-4.git.3.12809c8.el7 | Fixed | RHSA-2018:1243 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | source-to-image-0:1.1.13-1.el7 | Fixed | RHSA-2019:0036 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | source-to-image-0:1.1.13-1.el7 | Fixed | RHSA-2019:0036 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | source-to-image-0:1.1.13-1.el7 | Fixed | RHSA-2019:0036 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | source-to-image-0:1.1.13-1.el7 | Fixed | RHSA-2019:0036 |
No package ranges for this CVE.
Remediation
Red Hat statement
Package source-to-image as shipped in Red Hat Software Collections has been rated as Important, because it allows an attacker to get access to the victim's machine, but it requires user interaction.
Red Hat mitigation
Customers can turn off the source-to-image (S2I) build strategy to prevent access to the exploitable function. Information about how to disable the source-to-image build strategy is in the product documentation. * Disabling S2I in OpenShift Enterprise 3.0 - https://docs.openshift.com/enterprise/3.0/admin_guide/securing_builds.html#disabling-a-build-strategy-globally * Disabling S2I in OpenShift Enterprise 3.1 - https://docs.openshift.com/enterprise/3.1/admin_guide/securing_builds.html#disabling-a-build-strategy-globally * Disabling S2I in OpenShift Enterprise 3.2 - https://docs.openshift.com/enterprise/3.2/admin_guide/securing_builds.html#disabling-a-build-strategy-globally * Disabling S2I in OpenShift Enterprise 3.3 - https://access.redhat.com/documentation/en-us/openshift_container_platform/3.3/html/cluster_administration/admin-guide-securing-builds * Disabling S2I in OpenShift Enterprise 3.4 - https://access.redhat.com/documentation/en-us/openshift_container_platform/3.4/html/cluster_administration/admin-guide-securing-builds * Disabling S2I in OpenShift Enterprise 3.5 - https://access.redhat.com/documentation/en-us/openshift_container_platform/3.5/html/cluster_administration/admin-guide-securing-builds * Disabling S2I in OpenShift Enterprise 3.6 - https://access.redhat.com/documentation/en-us/openshift_container_platform/3.6/html/cluster_administration/admin-guide-securing-builds * Disabling S2I in OpenShift Enterprise 3.7 - https://access.redhat.com/documentation/en-us/openshift_container_platform/3.7/html/cluster_administration/admin-guide-securing-builds * OpenShift Enterprise 3.8 is not a production version (only for upgrades). * Disabling S2I in OpenShift Enterprise 3.9 - https://access.redhat.com/documentation/en-us/openshift_container_platform/3.9/html/cluster_administration/admin-guide-securing-builds
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
AV:N/AC:L/Au:S/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (11 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.46% (0.02465) | 83.90th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.40% (0.02398) | 81.79th | v5 (v2026.06.15) |
| Mar 17, 2025 | 1.35% (0.01352) | 78.79th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.35% (0.00352) | 72.76th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.35% (0.00352) | 71.11th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.35% (0.00352) | 68.38th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.31% (0.00311) | 65.32th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.28% (0.01282) | 68.34th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.28% (0.01282) | 41.72th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.48% (0.02476) | 54.92th | v5 (v2026.06.15) |
| Apr 14, 2021 | 2.48% (0.02476) | 0.00th | v1 |
References (15)
- https://access.redhat.com/errata/RHSA-2018:1227 vendor-advisoryx_refsource_REDHATVendor Advisory
- https://access.redhat.com/errata/RHSA-2018:1229 vendor-advisoryx_refsource_REDHATVendor Advisory
- https://access.redhat.com/errata/RHSA-2018:1231 vendor-advisoryx_refsource_REDHATVendor Advisory
- https://access.redhat.com/errata/RHSA-2018:1233 vendor-advisoryx_refsource_REDHATVendor Advisory
- https://access.redhat.com/errata/RHSA-2018:1235 vendor-advisoryx_refsource_REDHATVendor Advisory
- https://access.redhat.com/errata/RHSA-2018:1237 vendor-advisoryx_refsource_REDHATVendor Advisory
- https://access.redhat.com/errata/RHSA-2018:1239 vendor-advisoryx_refsource_REDHATVendor Advisory
- https://access.redhat.com/errata/RHSA-2018:1241 vendor-advisoryx_refsource_REDHATVendor Advisory
- https://access.redhat.com/errata/RHSA-2018:1243 vendor-advisoryx_refsource_REDHATVendor Advisory
- https://access.redhat.com/errata/RHSA-2019:0036 vendor-advisoryx_refsource_REDHATVendor Advisory
- https://access.redhat.com/security/cve/CVE-2018-1102 Vendor Advisory
- https://access.redhat.com/security/vulnerabilities/3422241
- https://bugzilla.redhat.com/show_bug.cgi?id=1562246 x_refsource_CONFIRMIssue TrackingPatchVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-1102
- https://www.cve.org/CVERecord?id=CVE-2018-1102
Change history (0)
No recorded changes yet.