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...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-1103
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1577289 1577290 1577291 1590175
Blocks: 1569669
TreeView+ depends on / blocked
 
Reported: 2018-04-05 06:47 UTC by Sam Fowler
Modified: 2021-10-21 19:58 UTC (History)
17 users (show)

Fixed In Version: source-to-image 1.1.10
Clone Of:
Environment:
Last Closed: 2021-10-21 19:58:56 UTC
Embargoed:


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
Acknowledgments:

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.