Bug 257281 - xisdnload - buffer overflow
xisdnload - buffer overflow
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: isdn4k-utils (Show other bugs)
All All
high Severity high
: ---
: ---
Assigned To: Ngo Than
Depends On:
Blocks: 246139 296411
  Show dependency treegraph
Reported: 2007-08-27 14:21 EDT by Flavio Leitner
Modified: 2013-04-12 15:19 EDT (History)
3 users (show)

See Also:
Fixed In Version: RHBA-2007-1075
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-12-05 09:04:23 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch fixing buffer overflow replacing sprintf with snprintf. (1.19 KB, patch)
2007-08-27 14:21 EDT, Flavio Leitner
no flags Details | Diff

  None (edit)
Description Flavio Leitner 2007-08-27 14:21:22 EDT
Description of problem:

The xisdnload crashs with the backstrace below:

# xisdnload&
[1] 3435
# *** buffer overflow detected ***: xisdnload terminated
======= Backtrace: =========

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Let it running for some time.
Actual results:
Crash by overflow

Expected results:
Not crash

Additional info:
I'm attaching a patch replacing sprintf with snprintf as that ISDN link 
status string can be larger than buffer allocated. 
This patch is tested and works.

Comment 1 Flavio Leitner 2007-08-27 14:21:23 EDT
Created attachment 174081 [details]
Patch fixing buffer overflow replacing sprintf with snprintf.
Comment 4 Josh Bressers 2007-08-28 14:49:19 EDT
I've investigated this crash and it doesn't look like it's a security flaw.  The
crash is the result of ISDN statistics being improperly copied into a static
buffer.  The statistics are not attacker controllable.
Comment 7 RHEL Product and Program Management 2007-08-31 05:03:03 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
Comment 16 errata-xmlrpc 2007-12-05 09:04:23 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


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