Bug 231070 - CVE-2007-1217 Overflow in CAPI subsystem
CVE-2007-1217 Overflow in CAPI subsystem
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: kernel (Show other bugs)
2.1
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Don Howard
Martin Jenner
impact=moderate,source=vendorsec,repo...
: Security
: 402751 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-05 17:17 EST by Marcel Holtmann
Modified: 2007-11-30 17:06 EST (History)
3 users (show)

See Also:
Fixed In Version: RHSA-2007-0672
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-08-08 14:16:43 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)
BZ 230563 RHEL 2.1AS patch, only compilation tested, need to test with real hardware (17.58 KB, patch)
2007-04-06 06:56 EDT, Radovan Augustin
no flags Details | Diff
CVS repository patch, adds CONFIG_CAPI_TRACE option (383 bytes, patch)
2007-04-06 06:58 EDT, Radovan Augustin
no flags Details | Diff

  None (edit)
Description Marcel Holtmann 2007-03-05 17:17:46 EST
The bufprint routine used by capi_cmsg2str does an unbounded vsprintf into a
8192 byte buffer, perhaps hoping it's big enough.

If the content of that vsprintf can be controlled by remote peers, this may lead
to a remote security hole for daemons using CAPI (pppd-capi-plugin,
asterisk-chan-capi, capi4hylafax, ...). Or a DoS.

If the content of that vsprintf can be controlled by local users making use of a
system service (such as sending a fax, making a phone call, ...) that uses CAPI,
this is a privilege escalation or remote authenticated user security hole, or a DoS.
Comment 3 Radovan Augustin 2007-04-06 06:56:33 EDT
Created attachment 151860 [details]
BZ 230563 RHEL 2.1AS patch, only compilation tested, need to test with real hardware
Comment 4 Radovan Augustin 2007-04-06 06:58:10 EDT
Created attachment 151862 [details]
CVS repository patch, adds CONFIG_CAPI_TRACE option
Comment 6 Radovan Augustin 2007-05-21 05:29:48 EDT
Hi,

if it is possible, i would like not to post it, because i can not guarantee that
code is working. All code in patches is not tested. For example, when user will
use patched module, it can cause kernel panic so it is better not to include it?
Plesae correct me if i am wrong.
Comment 10 Red Hat Bugzilla 2007-08-08 14:16:43 EDT
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.

http://rhn.redhat.com/errata/RHSA-2007-0672.html
Comment 11 Jan Lieskovsky 2007-11-29 09:06:54 EST
*** Bug 402751 has been marked as a duplicate of this bug. ***

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