Bug 1312958 - wine: Insecure use of temp files with predictable names
wine: Insecure use of temp files with predictable names
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20160226,reported=2...
: Security
Depends On: 1312959 1312960
Blocks:
  Show dependency treegraph
 
Reported: 2016-02-29 11:00 EST by Adam Mariš
Modified: 2016-03-11 11:56 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Adam Mariš 2016-02-29 11:00:33 EST
It was reported that wine uses /tmp/.wine-$UID as a directory for sockets and lock files. Malicious local user could create /tmp/.wine-$UID for another user's uid, preventing the other user from using wine. Moreover, the server_connect() function doesn't check if /tmp/.wine-$UID or its subdirectories are symlinks, so in some circumstances it might be possible to trick wine to connect to an unrelated socket.

Debian bug report:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816034
Comment 1 Adam Mariš 2016-02-29 11:01:10 EST
Created wine tracking bugs for this issue:

Affects: fedora-all [bug 1312959]
Affects: epel-all [bug 1312960]

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