Bug 1730300 (CVE-2019-13226) - CVE-2019-13226 deepin-clone: predictable path in the Helper::temporaryMountDevice() function enabling a symlink exploit
Summary: CVE-2019-13226 deepin-clone: predictable path in the Helper::temporaryMountDe...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2019-13226
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1730301
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-16 12:18 UTC by Marian Rehak
Modified: 2019-09-29 15:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-16 14:40:47 UTC


Attachments (Terms of Use)

Description Marian Rehak 2019-07-16 12:18:11 UTC
deepin-clone before 1.1.3 uses a predictable path /tmp/.deepin-clone/mount/<block-dev-basename> in the Helper::temporaryMountDevice() function to temporarily mount a file system as root. An unprivileged user can prepare a symlink at this location to have the file system mounted in an arbitrary location. By winning a race condition, the attacker can also enter the mount point, thereby preventing a subsequent unmount of the file system.

External Reference:

https://bugzilla.suse.com/show_bug.cgi?id=1130388

Comment 1 Marian Rehak 2019-07-16 12:18:24 UTC
Created deepin-clone tracking bugs for this issue:

Affects: fedora-30 [bug 1730301]

Comment 2 Product Security DevOps Team 2019-07-16 14:40:47 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


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