Bug 78634 - dev-perl/DBI CAN-2005-0077 Insecure temporary files
Bug#: 78634 Product:  Gentoo Security Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: security@gentoo.org Reported By: jaervosz@gentoo.org
Component: Vulnerabilities
URL:  http://archives.neohapsis.com/archives/fulldisclosure/2005-01/0721.html
Summary: dev-perl/DBI CAN-2005-0077 Insecure temporary files
Keywords:  
Status Whiteboard: A3 [glsa] jaervosz
Opened: 2005-01-19 00:56 0000
Description:   Opened: 2005-01-19 00:56 0000
Javier Fern

------- Comment #1 From Sune Kloppenborg Jeppesen 2005-01-19 00:56:08 0000 -------
Javier Fernández-Sanguino Peña from the Debian Security Audit Project
discovered that the DBI library, the Perl5 database interface, creates
a tmporary file in an insecure manner.  This can be exploited by a
malicious user to overwrite arbitrary files owned by the person
executing the program.

------- Comment #2 From Sune Kloppenborg Jeppesen 2005-01-19 00:57:13 0000 -------
No upstream patch yet. Will attach Debian workaround patch later if needed.

------- Comment #3 From Thierry Carrez (RETIRED) 2005-01-24 07:53:37 0000 -------
Created an attachment (id=49377) [details]
CAN-2005-0077.patch

Patch from Martin Schulze @ debian

------- Comment #4 From Michael Cummings (RETIRED) 2005-01-24 13:07:06 0000 -------
Patch looks to apply cleanly on all versions in dev-perl. Just give me the word
and we can roll this out.

------- Comment #5 From Sune Kloppenborg Jeppesen 2005-01-24 13:19:57 0000 -------
Micheal please attach the updated ebuild to this bug and we will call needed
arch testers individually.

------- Comment #6 From Michael Cummings (RETIRED) 2005-01-24 16:00:41 0000 -------
Created an attachment (id=49432) [details]
as requested, 37-r1

------- Comment #7 From Michael Cummings (RETIRED) 2005-01-24 16:01:07 0000 -------
Created an attachment (id=49433) [details]
38-r1

------- Comment #8 From Michael Cummings (RETIRED) 2005-01-24 16:01:57 0000 -------
two revision posted (based on KEYWORDing). 1.46 went into the tree as a new
copy from upstream a few minutes ago (the two attached are in no way in portage
atm).

------- Comment #9 From Sune Kloppenborg Jeppesen 2005-01-25 10:04:09 0000 -------
This is public now. Micheal please commit the updated ebuild.

------- Comment #10 From Michael Cummings (RETIRED) 2005-01-25 10:38:35 0000 -------
posted

------- Comment #11 From Thierry Carrez (RETIRED) 2005-01-26 00:41:26 0000 -------
GLSA should probably be grouped with bug 75696 (both Perl, both tmpfile vulns).
Michael, could you please bump on dev-perl/perl side too ?

------- Comment #12 From Thierry Carrez (RETIRED) 2005-01-26 12:42:32 0000 -------
GLSA 200501-38