Red Hat Bugzilla – Bug 231071
CVE-2007-1217 Overflow in CAPI subsystem
Last modified: 2007-11-30 17:06:55 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.
Created attachment 151863 [details] BZ 230563 RHEL 2.1AS ia64 patch, only compilation tested, need to test with real hardware
Created attachment 151865 [details] CVS repository patch, adds CONFIG_CAPI_TRACE option
Created attachment 151866 [details] CVS repository patch, adds CONFIG_CAPI_TRACE option
A patch addressing this issue has been included in kernel-2.4.18-e.65.
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-0673.html
*** Bug 402761 has been marked as a duplicate of this bug. ***