Bug 11936 - plugger creates /tmp/ndebug or crashes (bus error)
plugger creates /tmp/ndebug or crashes (bus error)
Status: CLOSED ERRATA
Product: Red Hat Powertools
Classification: Retired
Component: plugger (Show other bugs)
6.2
i386 Linux
high Severity medium
: ---
: ---
Assigned To: Tim Powers
: Security
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-06-07 01:07 EDT by Aleksey Nogin
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-06-19 17:28:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Aleksey Nogin 2000-06-07 01:07:04 EDT
When netscape is first started after plugger is installed, plugger creates
a /tmp/ndebug file wrere it puts some debugging output. If the file is
already exists and is not writable by user, netscape crashes with bus
error.

This is a security issue since creating predictable file names in /tmp
without proper checking is always a bag idea. It also can be used as a sort
of DOS attack agains the user.

I believe that the proper solution would be to not create any files at all
- there is nothing really useful there, it may be interesting to have in
the debugging version of the plugin, but not in the prooduction one.

Bug #11467 also describes this problem, but there the user mistakenly
concluded that the bug disappeared after he upgraded to netscape 4.73. I
already have netscape-communicator-4.73-1, but the problem still exists. I
believe the problem "went away" for the reporter of bug #11467 simply
because tmpwatch finally removed /tmp/ndebug.
Comment 1 Tim Powers 2000-06-07 09:42:43 EDT
OK. Fixed it. It now doesn't define DEBUG at build time. A simple Makefile fix
:) If you have RPM 4.0 the fix should be available in rawhide the next time it
is updated.

Tim
Comment 2 Aleksey Nogin 2000-06-07 13:58:19 EDT
Don't you think that it's serious enough to warrant an update for 6.2, not only
a fix in Rawhide?
Comment 3 Tim Powers 2000-06-07 14:26:15 EDT
I'm actually working on getting an errata out for this right now, you're reading
my mind :)

Tim
Comment 4 Tim Powers 2000-06-19 17:28:07 EDT
Since the errata was released I am marking this as resolved.

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