Gentoo: Streamripper Buffer overflow
Posted by Benjamin D. Thomas   
Gentoo A buffer overflow vulnerability has been discovered in Streamripper, allowing for user-assisted execution of arbitrary code.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200709-03
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: Streamripper: Buffer overflow
      Date: September 13, 2007
      Bugs: #188698
        ID: 200709-03

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

Synopsis
========

A buffer overflow vulnerability has been discovered in Streamripper,
allowing for user-assisted execution of arbitrary code.

Background
==========

Streamripper is a tool for extracting and recording mp3 files from a
Shoutcast stream.

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

    -------------------------------------------------------------------
     Package                   /  Vulnerable  /             Unaffected
    -------------------------------------------------------------------
  1  media-sound/streamripper      < 1.62.2                  >= 1.62.2

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

Chris Rohlf discovered several boundary errors in the
httplib_parse_sc_header() function when processing HTTP headers.

Impact
======

A remote attacker could entice a user to connect to a malicious
streaming server, resulting in the execution of arbitrary code with the
privileges of the user running Streamripper.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Streamripper users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=media-sound/streamripper-1.62.2"

References
==========

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

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

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

  http://security.gentoo.org/glsa/glsa-200709-03.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