Bug 1730308 (CVE-2019-13229) - CVE-2019-13229 deepin-clone: fixed path in the Helper::getPartitionSizeInfo() function allows symlink attack
Summary: CVE-2019-13229 deepin-clone: fixed path in the Helper::getPartitionSizeInfo()...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2019-13229
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: 1730309
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-16 12:27 UTC by Marian Rehak
Modified: 2021-02-16 21:43 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-07-16 14:40:50 UTC
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2019-07-16 12:27:14 UTC
deepin-clone before 1.1.3 uses a fixed path /tmp/partclone.log in the Helper::getPartitionSizeInfo() function to write a log file as root, and follows symlinks there. An unprivileged user can prepare a symlink attack there to create or overwrite files in arbitrary file system locations. The content is not attacker controlled.

External References:

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

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

Affects: fedora-30 [bug 1730309]

Comment 2 Product Security DevOps Team 2019-07-16 14:40:50 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.