{"id":"CVE-2018-1103","published":"2018-06-12T15:00:00Z","modified":"2024-08-05T03:51:48Z","title":"Openshift Enterprise source-to-image before version 1.1.10 is vulnerable to an improper validation of user input","vendor":"Openshift Enterprise","product":"unsanitized paths in tar.go","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01313,"percentile":0.71416,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1103","tags":["x_refsource_CONFIRM"]}],"priority":{"score":18.6,"factors":[{"name":"EPSS percentile","points":14.28},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"openshift-enterprise","affectedVersions":[{"vendor":"Openshift Enterprise","product":"unsanitized paths in tar.go","versions":["source-to-image 1.1.10"]}],"affected":[{"ecosystem":"Go","package":"github.com/openshift/source-to-image","vulnerableRanges":["<1.1.10-0.20180427153919-f5cbcbc5cc6f"],"patched":["1.1.10-0.20180427153919-f5cbcbc5cc6f"],"from":["GHSA-w55j-f7vx-6q37","GO-2020-0026"],"provenance":"source"}],"summary":{"text":"The flaw is an improper validation of user input in the unsanitized path handling of tar.go in OpenShift Enterprise's source-to-image component. An attacker who can get a user to run the local file-copy command from a pod can overwrite files outside the command's target directory, which requires user interaction and a victim who is tricked into running it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:04Z"},"euvd":{"id":"EUVD-2023-0808","exploited":false,"provenance":"source"}}