Gentoo: capi4k-utils Buffer overflow
Posted by Benjamin D. Thomas   
Gentoo capi4k-utils is vulnerable to a buffer overflow in the bufprint() function.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200704-23
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: High
     Title: capi4k-utils: Buffer overflow
      Date: April 27, 2007
      Bugs: #170870
        ID: 200704-23

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

capi4k-utils is vulnerable to a buffer overflow in the bufprint()
function.

Background
==========

capi4k-utils is a set of utilities for accessing COMMON-ISDN-API
software interfaces for ISDN devices.

Affected packages
=================

    -------------------------------------------------------------------
     Package                  /    Vulnerable    /          Unaffected
    -------------------------------------------------------------------
  1  net-dialup/capi4k-utils      < 20050718-r3         >= 20050718-r3

Description
===========

The bufprint() function in capi4k-utils fails to properly check
boundaries of data coming from CAPI packets.

Impact
======

A local attacker could possibly escalate privileges or cause a Denial
of Service by sending a crafted CAPI packet.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All capi4k-utils users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=net-dialup/capi4k-utils-20050718-r3"

References
==========

  [ 1 ] CVE-2007-1217
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=2007-1217

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200704-23.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2007 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5