Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 159547
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Vic Fryzel (shellsage) (RETIRED) <shellsage@gentoo.org>
Add CC:
CC:
Remove selected CCs
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 159547 depends on: Show dependency tree
Bug 159547 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: 2006-12-31 02:11 0000
The file construct.sh distributed with app-emulation/emul-linux-x86-java
insecurely writes to files in /tmp numerous times without first checking if the
files are symlinks.  This could potentially allow for the overwriting of
arbitrary files on the filesystem upon installation of
app-emulation/emul-linux-x86-java.

------- Comment #1 From Sune Kloppenborg Jeppesen 2007-01-06 12:35:05 0000 -------
amd64 please advise and bump as necessary.

------- Comment #2 From Raphael Marichez 2007-01-12 22:44:07 0000 -------
amd64 team?

And there is maybe
http://sunsolve.sun.com/search/document.do?assetkey=1-26-102729-1 too, i don't
know exactly. see bug 158659

------- Comment #3 From Vlastimil Babka (Caster) 2007-01-13 01:28:57 0000 -------
The construct.sh script is used only during emerge, and for
dev-java/sun-jre-bin{1.5,1.6} too. So if we fix it, there's no point in bump.
Doesn't sandbox cover this, though?

------- Comment #4 From Raphael Marichez 2007-01-14 20:16:25 0000 -------
(In reply to comment #3)
> The construct.sh script is used only during emerge, and for
> dev-java/sun-jre-bin{1.5,1.6} too. So if we fix it, there's no point in bump.
> Doesn't sandbox cover this, though?

OK, sandbox covers the construct.sh insecure temporary file usage. But there is
also several vulnerabilities reported in bug 158659, in particular:
http://sunsolve.sun.com/search/document.do?assetkey=1-26-102729-1

I think (IMHO) this affects the emulation Java package too.

------- Comment #5 From Steve Dibb 2007-01-23 10:52:38 0000 -------
there was a stable request anyway (bug 151705), so amd64 stable.

------- Comment #6 From Vlastimil Babka (Caster) 2007-01-23 11:52:43 0000 -------
What you stabled wasn't fixed at all. I'll list it clearly:

1.5.0.08 - based on sun-jre-bin-1.5.0.08, vulnerable the same way as bug 158659
and bug 162511 - needs to be bumped to 1.5.0.10 first, then stable

1.4.2.03 - based on blackdown-jre, probably vulnerable as bug 161835 - since
there's no new blackdown version, we could bump to version based on
sun-jre-bin-1.4.2.13 instead of blackdown, at the cost of fetch restriction

BTW, I've fixed the problem with /tmp usage by changing it to ${T}. as
construct.sh is used only during emerge, no need to bump/stable/glsa for this.

------- Comment #7 From Vlastimil Babka (Caster) 2007-01-26 15:38:22 0000 -------
wltjr commited 1.5.0.10, but he's not arch team member with stable
system/chroot so can amd64 stable that?

------- Comment #8 From Steve Dibb 2007-02-03 05:18:27 0000 -------
(In reply to comment #7)
> wltjr commited 1.5.0.10, but he's not arch team member with stable
> system/chroot so can amd64 stable that?
> 

amd64 stable

------- Comment #9 From Simon Stelling (RETIRED) 2007-02-10 12:39:48 0000 -------
nothing to do for amd64 here

------- Comment #10 From Raphael Marichez 2007-02-10 19:15:20 0000 -------
I vote for a GLSA, see 200701-15.

------- Comment #11 From Raphael Marichez 2007-02-12 22:34:45 0000 -------
i'm actually the only active member of the security team, so i can't apply the
policy telling that 2 positive votes include a GLSA. 

Let's have one btw :)

------- Comment #12 From Raphael Marichez 2007-02-18 00:27:36 0000 -------
GLSA 200702-08, thx amd and java teams

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug