Bug 155350

Summary: mplayer: multiple integer overflows
Product: [openSUSE] SUSE Linux 10.1 Reporter: Thomas Biege <thomas>
Component: OtherAssignee: Stanislav Brabec <sbrabec>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: security-team
Version: Beta 6   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard: CVE-2006-0579: CVSS v2 Base Score: 7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P) CVSSv2:NVD:CVE-2005-4048:7.5:(AV:N/AC:L/Au:N/C:P/I:P/A:P)
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Thomas Biege 2006-03-06 08:12:45 UTC
Hello Stanislav,
we never supported it officially AFAIK so JFYI

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200603-03
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: MPlayer: Multiple integer overflows
      Date: March 04, 2006
      Bugs: #115760, #122029
        ID: 200603-03

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

Synopsis
========

MPlayer is vulnerable to integer overflows in FFmpeg and ASF decoding
that could potentially result in the execution of arbitrary code.

Background
==========

MPlayer is a media player capable of handling multiple multimedia file
formats.

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

    -------------------------------------------------------------------
     Package              /    Vulnerable    /              Unaffected
    -------------------------------------------------------------------
  1  media-video/mplayer     < 1.0.20060217            >= 1.0.20060217

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

MPlayer makes use of the FFmpeg library, which is vulnerable to a heap
overflow in the avcodec_default_get_buffer() function discovered by
Simon Kilvington (see GLSA 200601-06). Furthermore, AFI Security
Research discovered two integer overflows in ASF file format decoding,
in the new_demux_packet() function from libmpdemux/demuxer.h and the
demux_asf_read_packet() function from libmpdemux/demux_asf.c.

Impact
======

An attacker could craft a malicious media file which, when opened using
MPlayer, would lead to a heap-based buffer overflow. This could result
in the execution of arbitrary code with the permissions of the user
running MPlayer.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All MPlayer users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=media-video/mplayer-1.0.20060217"

References
==========

  [ 1 ] CVE-2005-4048
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-4048
  [ 2 ] CVE-2006-0579
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0579
  [ 3 ] GLSA 200601-06
        http://www.gentoo.org/security/en/glsa/glsa-200601-06.xml

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

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

  http://security.gentoo.org/glsa/glsa-200603-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 2006 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.0
Comment 1 Stanislav Brabec 2006-03-06 18:21:44 UTC
It looks, that we maintain MPlayer only for sles8-slec (0.90rc4).

We should not be affected by CVE-2006-0579 - demux_asf.c is not compiled and new_demux_packet() itself does not parse anything.
Comment 2 Stanislav Brabec 2006-03-06 18:58:56 UTC
We compile with --disable-libavcodec and utils.c is not compiled, so our realplayer is not affected by CVE-2005-4048.

For STABLE I will do an update to the new version when time permits. It is only an internal package.
Comment 3 Thomas Biege 2009-10-13 22:59:06 UTC
CVE-2006-0579: CVSS v2 Base Score: 7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P)