Bug 1563993 (CVE-2018-1103) - CVE-2018-1103 source-to-image: Unsanitized paths in tar.go:ExtractTarStreamFromTarReader() allow malicious containers to overwrite files on the client machine
Summary: CVE-2018-1103 source-to-image: Unsanitized paths in tar.go:ExtractTarStreamFr...
Status: NEW
Alias: CVE-2018-1103
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1577289 1577290 1577291 1590175
Blocks: 1569669
TreeView+ depends on / blocked
Reported: 2018-04-05 06:47 UTC by Sam Fowler
Modified: 2021-02-17 00:33 UTC (History)
17 users (show)

Fixed In Version: source-to-image 1.1.10
Doc Type: If docs needed, set a value
Doc Text:
An improper validation of user input flaw was found in the source-to-image component of Openshift. 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.
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Sam Fowler 2018-04-05 06:47:43 UTC
Openshift Enterprise through version 3.6 has does not properly sanitize archived filenames in source-to-image/pkg/tar/tar.go:ExtractTarStreamFromTarReader(). An attacker can exploit this with a malicous container to overwrite files on client machines when clients use "oc rsync" to connect to that container.

This is a related but separate issue to CVE-2018-1102.

Comment 1 Sam Fowler 2018-04-05 06:47:51 UTC

Name: Michael Hanselmann (Independent)

Comment 6 Doran Moppert 2018-06-12 06:57:24 UTC
Created source-to-image tracking bugs for this issue:

Affects: fedora-all [bug 1590175]

Note You need to log in before you can comment on or make changes to this bug.