CVE-2018-1103 is a medium-severity (CVSS 6.5) Path Traversal vulnerability in github.com/openshift/source-to-image. A fix is available for github.com/openshift/source-to-image — see the affected versions and patch details below.
Openshift Enterprise source-to-image vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip)
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
github.com/openshift/source-to-imageReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
Openshift Enterprise source-to-image before version 1.1.10 is vulnerable to an improper validation of user input. An attacker who could trick a user into using the command to copy files locally, from a pod, could override files outside of the target directory of the command.
Specific Go Packages Affected
github.com/openshift/source-to-image/pkg/tar
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/openshift/source-to-image | all versions | 1.1.10-0.20180427153919-f5cbcbc5cc6fgo get github.com/openshift/source-to-image@v1.1.10-0.20180427153919-f5cbcbc5cc6f |
Affected Products
source-to-imageredhatDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/openshift/source-to-image, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/openshift/source-to-image to 1.1.10-0.20180427153919-f5cbcbc5cc6f or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2018-1103 is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
Frequently Asked Questions
Is CVE-2018-1103 in your dependencies?
Find it across Go, including transitive dependencies.