First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 70666
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Thierry Carrez (RETIRED) <koon@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 70666 depends on: Show dependency tree
Bug 70666 blocks:

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-11-10 07:14 0000
Cleaning old security@go mails I found this one we overlooked :

-------------------------------------------------------
Date: Fri, 11 Jun 2004 17:07:48 +0100
From: Philip Kendall <pak21@srcf.ucam.org>
To: security@gentoo.org
Cc: lenin@users.sourceforge.net
Subject: Security problems with Glukalka ebuild
-------------------------------------------------------
Hi.

Firstly, I apologise for the fact that I've been sitting on this one
for far too long. I hoped the author (CC'd here) would at least reply
to some of my messages, but I haven't received any response
whatsoever, despite various messages over the past year  :-( 

There are a couple of security problems with Glukalka 0.9 as packaged
by Gentoo, both of which could be used to delete arbitrary files owned
by the user running Glukalka if they open a specific file type.

* Use of predictable temporary filenames

  This occurs when opening a .scl file (an image of a floppy disk).
  We then have (modified.c:18893):

                filenameN=Scl2Trd(filename, "/tmp/SCL_DiskA_Image.trd");

  (and later calls with /tmp/SCL_DiskB_Image.trd etc)

  If filename is '/path/foo.scl', and '/path/foo.trd' either already
  exists or can't be created, Scl2Trd__Convert will then unlink and
  reopen /tmp/SCL_DiskA_Image.trd with the obvious problems that
  brings.

* Race conditions

  The whole floppy disk image handling code is jam packed with race
  conditions, mostly to do with closing and then reopening the same
  filename without checking it exists.

I've contacted you as Gentoo is the only distribution I can see who
packages Glukalka; feel free to forward this information to anyone
else who you think to be relevant.

I also apologise as I don't have fixes for either of these problems,
although I'll point out that they are fixed in Fuse (also packaged by
Gentoo).

Cheers,

Phil
---------------------------------------------------------------

------- Comment #1 From Thierry Carrez (RETIRED) 2004-11-15 07:45:12 0000 -------
Upstream contacted.

------- Comment #2 From Thierry Carrez (RETIRED) 2004-11-23 08:07:11 0000 -------
No answer for upstream, looks like a good mask candidate. It's no-herd, so
noone can be called to save it. 

------- Comment #3 From Thierry Carrez (RETIRED) 2004-11-26 02:59:23 0000 -------
klieber/solar : please mask this package (+ issue mail to -dev ?)

------- Comment #4 From Kurt Lieber 2004-11-26 05:55:48 0000 -------
masked.  going to skip the email to dev as this is a fairly obscure app.

------- Comment #5 From Thierry Carrez (RETIRED) 2004-11-26 13:20:44 0000 -------
Thx, no mask GLSA as this is B3.
Switched to enhancement state waiting for final resolution (fix or remove from tree)

------- Comment #6 From Sune Kloppenborg Jeppesen 2005-02-13 05:26:05 0000 -------
Any ETA on a fix for this? Otherwise the package should be removed.

------- Comment #7 From Matthias Geerdsen 2005-05-13 01:35:26 0000 -------
Bug was filed upstream by lewk in december without any reaction so far it
seems.

<http://sourceforge.net/tracker/index.php?func=detail&aid=1078428&group_id=33040&atid=406984>

------- Comment #8 From Robert Paskowitz (RETIRED) 2005-05-17 17:52:38 0000 -------
Seems like a good a time as any to follow up on the toremove.

------- Comment #9 From Thierry Carrez (RETIRED) 2005-06-15 04:50:48 0000 -------
Package removed.

First Last Prev Next    No search results available      Search page      Enter new bug