GitHub Advisoryadvisory · Go
GHSA-w55j-f7vx-6q37 Openshift Enterprise source-to-image vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip)
MEDIUM
Official page ↗
- Aliases
- CVE-2018-1103
- Ecosystem
- Go
- Packages
- github.com/openshift/source-to-image
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2023-02-06
Affected packages
• Go github.com/openshift/source-to-image: < 1.1.10-0.20180427153919-f5cbcbc5cc6f → fixed in 1.1.10-0.20180427153919-f5cbcbc5cc6f
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
Related
Alias · CVE (1)
- CVE-2018-1103 Openshift Enterprise source-to-image before version 1.1.10 is vulnerable to an improper validation of user input. vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-1103 advisory
- https://github.com/openshift/source-to-image/pull/870 web
- https://github.com/openshift/source-to-image/commit/f5cbcbc5cc6f8cc2f479a7302443bea407a700cb web
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1103 web
- https://github.com/openshift/source-to-image package
- https://github.com/snyk/zip-slip-vulnerability web
- https://hansmi.ch/articles/2018-04-openshift-s2i-security web
- https://pkg.go.dev/vuln/GO-2020-0026 web
- https://snyk.io/research/zip-slip-vulnerability web