Bug 582781 - gource: predictable temporary filename
Summary: gource: predictable temporary filename
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
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: 582782
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-15 19:09 UTC by Vincent Danen
Modified: 2019-09-29 12:36 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-05-10 10:56:51 UTC
Embargoed:


Attachments (Terms of Use)

Description Vincent Danen 2010-04-15 19:09:18 UTC
A Debian bug report [1] notes that Gource creates its log file with a predictable name (/tmp/gource-$(UID).tmp), which a malicious user could use to overwrite arbitrary files via a symlink attack, with the privileges of the user running Gource.

Fedora 12 and higher contain Gource and are affected by this issue.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577958

Comment 1 Vincent Danen 2010-04-15 19:11:23 UTC
Created gource tracking bugs for this issue

Affects: fedora-12 [bug 582782]

Comment 2 Siddhesh Poyarekar 2010-04-16 05:32:38 UTC
Reported upstream as issue #65:

http://code.google.com/p/gource/issues/detail?id=65

Comment 3 Siddhesh Poyarekar 2010-04-16 07:58:29 UTC
Fix that went upstream:

http://git.debian.org/?p=collab-maint/gource.git;a=patch;h=5aa2c8adfbe0ec3e5d802bfae8e5572562d911c7

This is also included in gource-0.26b. I'll rebase to it for rawhide and possibly F-13 and backport the patch for F-12.

Comment 4 Siddhesh Poyarekar 2010-04-16 08:33:00 UTC
Built backport for rawhide:

http://koji.fedoraproject.org/koji/buildinfo?buildID=167217

Now we push.

Comment 5 Fedora Update System 2010-04-16 08:51:31 UTC
gource-0.24-3.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/gource-0.24-3.fc12

Comment 6 Fedora Update System 2010-04-16 08:51:40 UTC
gource-0.24-3.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/gource-0.24-3.fc13

Comment 7 Fedora Update System 2010-04-20 13:17:50 UTC
gource-0.24-3.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2010-04-20 13:29:04 UTC
gource-0.24-3.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Siddhesh Poyarekar 2010-05-10 10:56:51 UTC
Closing. This is already in stable

-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers


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