While we're on the topic of security issues:
Cscope contains an alarming number of buffer overflow
vulnerabilities. By a rough count, there are at least
48 places where we blindly sprintf() a file name into a
fixed-length buffer of size PATHLEN without checking to
see if the file's name is <= PATHLEN. We do similar
things with environment variable values. Running an
automated tool for detecting these sort of things
(RATS:
http://www.securesoftware.com/resources/tools.html)
reports 79 warnings about potentially insecure uses of
fixed-length buffers.
Most of these buffer overflow possibilities concern
things that are under user control (like environment
variables and most filenames), so they're not so
serious, but there's at least one place where a
malicious entity could cause more trouble: when we
parse source code, we don't check the length of
#include <filename> before we copy it into a PATHLEN
buffer. If someone managed to hack into a site that
distributes widely-browsed source code (kernel.org,
say), they could conceivably replace the source code
tarball with one that's been modified to contain a
carefully constructed #include that implements a buffer
overflow attack on cscope. This is not terribly
likely, and would only be feasible against a particular
binary of cscope (i.e. most likely against a particular
RPM version, for widest impact), but we should fix it.
Hans-Bernhard Broeker
None
None
Public
|
Date: 2009-01-19 09:29 Mu5riK <a href="http://teslcjckkydb.com/">teslcjckkydb</a>, |
|
Date: 2006-10-15 17:00 Logged In: YES |
|
Date: 2004-12-11 01:04 Logged In: YES |
|
Date: 2004-12-11 00:52 Logged In: YES |
|
Date: 2004-12-09 18:43 Logged In: YES |
|
Date: 2004-12-09 18:12 Logged In: YES |
|
Date: 2004-12-09 16:29 Logged In: YES |
|
Date: 2004-12-09 16:11 Logged In: YES |
|
Date: 2004-12-09 15:36 Logged In: YES |
|
Date: 2004-12-08 20:53 Logged In: YES |
|
Date: 2004-12-08 20:14 Logged In: YES |
|
Date: 2004-12-07 18:38 Logged In: YES |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2006-10-15 17:00 | broeker |
| resolution_id | None | 2006-10-15 17:00 | broeker |
| assigned_to | nobody | 2006-10-15 17:00 | broeker |
| close_date | - | 2006-10-15 17:00 | broeker |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use