Bug 481703 (CVE-2008-5704) - CVE-2008-5704 gpsdrive: insecure temporary file use in unit_test.c
Summary: CVE-2008-5704 gpsdrive: insecure temporary file use in unit_test.c
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2008-5704
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL: http://nvd.nist.gov/nvd.cfm?cvename=C...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-27 08:46 UTC by Tomas Hoger
Modified: 2019-09-29 12:28 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-02-03 09:31:14 UTC
Embargoed:


Attachments (Terms of Use)

Description Tomas Hoger 2009-01-27 08:46:51 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2008-5704 to the following vulnerability:

src/unit_test.c in gpsdrive (aka gpsdrive-scripts) 2.10~pre4 might allow local
users to overwrite arbitrary files via a symlink attack on the
/tmp/gpsdrive-unit-test/proc temporary file, a different vector than
CVE-2008-4959 and CVE-2008-5380.

References:
http://openwall.com/lists/oss-security/2008/12/17/15
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508597

Comment 1 Tomas Hoger 2009-01-27 08:49:47 UTC
Modified upstream to create temporary directory using mkdtemp:
http://gpsdrive.svn.sourceforge.net/viewvc/gpsdrive?view=rev&revision=2236

Comment 2 Kevin Fenzi 2009-02-03 03:52:04 UTC
We don't ship the 2.10* versions anywhere yet. ;) 
We only have 2.09. 

So, I assume we can just close this one?

Comment 3 Tomas Hoger 2009-02-03 09:31:14 UTC
(In reply to comment #2)
> We don't ship the 2.10* versions anywhere yet. ;) 
> We only have 2.09.

Sigh, my bad.  I must have failed to check this against current Fedora pakcages.  This really seem to have been added post-2.09 (wow, last changelog message in 2.09 is from 2004, so the file is not included, even though it's in SVN for more than 3 years now).

> So, I assume we can just close this one?

Sure.

Comment 4 Ondrej Soukup 2019-01-18 08:51:09 UTC
reverting accidental whiteboard change


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