<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>245774</bug_id>
          <alias>CVE-2008-5032</alias>
          <creation_ts>2008-11-06 00:15 0000</creation_ts>
          <short_desc>media-video/vlc &lt; 0.9.6: Buffer overflows in VLC RealText and CUE demuxers (CVE-2008-{5032,5036})</short_desc>
          <delta_ts>2008-12-25 01:16:20 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Security</product>
          <component>Vulnerabilities</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://www.videolan.org/security/sa0810.html</bug_file_loc>
          <status_whiteboard>B2 [glsa]</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>245793</dependson>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>aballier@gentoo.org</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          <cc>aballier@gentoo.org</cc>
    
    <cc>fmccor@gentoo.org</cc>
    
    <cc>impulze@impulze.org</cc>

      

      
          <long_desc isprivate="0">
            <who>aballier@gentoo.org</who>
            <bug_when>2008-11-06 00:15:34 0000</bug_when>
            <thetext>- Details -

When parsing the header of an invalid CUE image file or an invalid RealText 
subtitle file, stack-based buffer overflows might occur. 


- Impact -

If successful, a malicious third party could trigger execution of arbitrary 
code within the context of the VLC media player. 


- Threat mitigation -

Exploitation of this issue requires the user to explicitly open a specially 
crafted file. 


http://www.videolan.org/security/sa0810.html
http://www.trapkit.de/advisories/TKADV2008-011.txt
http://www.trapkit.de/advisories/TKADV2008-012.txt</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>craig@gentoo.org</who>
            <bug_when>2008-11-06 10:27:53 0000</bug_when>
            <thetext>Arches, please test and mark stable
=media-video/vlc-0.9.6

Target keywords:
amd64 ppc ppc64 sparc x86</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hoffie@gentoo.org</who>
            <bug_when>2008-11-06 11:51:09 0000</bug_when>
            <thetext>This probably depends on bug 245793 being fixed (unable to reproduce here due to lack of a stable system).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hoffie@gentoo.org</who>
            <bug_when>2008-11-06 12:23:01 0000</bug_when>
            <thetext>alpha: You need to rekeyword AND stable.
ppc64: Apparently you never had VLC stable, so feel free to un-cc yourself.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fmccor@gentoo.org</who>
            <bug_when>2008-11-06 14:49:12 0000</bug_when>
            <thetext>Sparc stable, works for me, but of course an exhaustive test of this package is almost impossible.  Note, for sparc, this carries along a requirement to mark stable several other packages:
===============
media-video/dirac-1.0.0
media-libs/libkate-0.2.5
media-libs/zvbi-0.2.33
media-libs/schroedinger-1.0.5
media-libs/libass-0.9.5
===========================
Of these, libkate, zvbi, and libass need to be marked stable on everything.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>coldwind@gentoo.org</who>
            <bug_when>2008-11-07 15:32:30 0000</bug_when>
            <thetext>There&apos;s a regression. Video is detached from the interface, which was fixed in media-video/vlc-0.9.4-r1 with the patch &apos;embeddedvideo.patch&apos;, but it was removed later.

The patch can be applied cleanly to 0.9.6 and works.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aballier@gentoo.org</who>
            <bug_when>2008-11-07 15:44:49 0000</bug_when>
            <thetext>(In reply to comment #5)
&gt; There&apos;s a regression. Video is detached from the interface, which was fixed in
&gt; media-video/vlc-0.9.4-r1 with the patch &apos;embeddedvideo.patch&apos;, but it was
&gt; removed later.

The regression was to patch it in order to make it available again...
See bug #240714, my last comment there and the link I posted.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>maekke@gentoo.org</who>
            <bug_when>2008-11-08 13:10:54 0000</bug_when>
            <thetext>amd64/x86 need the following packages stable, is this ok and which versions should we pick?

Package                       Version             Current Keywords  Masks     
============================= =================== ================= =========
media-libs/zvbi               0.2.31              ~x86              K         
media-libs/zvbi               0.2.32              ~x86              K         
media-libs/zvbi               0.2.33              ~x86              K         
media-libs/libv4l             0.5.1               ~x86              K         
media-libs/libv4l             0.5.3               ~x86              K         
media-libs/libass             0.9.5               ~x86              K         
media-libs/libkate            0.2.5               ~x86              K         
media-video/vlc               0.9.6               ~x86              K</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aballier@gentoo.org</who>
            <bug_when>2008-11-09 02:21:33 0000</bug_when>
            <thetext>(In reply to comment #7)
&gt; amd64/x86 need the following packages stable, is this ok and which versions
&gt; should we pick?
 
&gt; media-libs/zvbi               0.2.33              ~x86              K         

this one should be ok

&gt; media-libs/libv4l             0.5.3               ~x86              K         

and this one

&gt; media-libs/libass             0.9.5               ~x86              K         

ditto

&gt; media-libs/libkate            0.2.5               ~x86              K         

ditto</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>maekke@gentoo.org</who>
            <bug_when>2008-11-09 13:44:56 0000</bug_when>
            <thetext>amd64/x86 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>klausman@gentoo.org</who>
            <bug_when>2008-11-09 14:53:33 0000</bug_when>
            <thetext>Stable on alpha. (also stabled the four deps mentioned by maekke as well as fluidsynth (and two of its deps, lash and ladspa-cmt).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>craig@gentoo.org</who>
            <bug_when>2008-11-11 00:36:16 0000</bug_when>
            <thetext>======================================================
Name: CVE-2008-5032
Status: Candidate
URL: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5032
Reference: MLIST:[oss-security] 20081105 CVE id request: vlc
Reference: URL:http://www.openwall.com/lists/oss-security/2008/11/05/5
Reference: MLIST:[oss-security] 20081105 VideoLAN security advisory 0810
Reference: URL:http://www.openwall.com/lists/oss-security/2008/11/05/4
Reference: MLIST:[oss-security] 20081110 Re: CVE id request: vlc
Reference: URL:http://www.openwall.com/lists/oss-security/2008/11/10/13
Reference: MISC:http://www.trapkit.de/advisories/TKADV2008-012.txt
Reference: CONFIRM:http://git.videolan.org/?p=vlc.git;a=commitdiff;h=5f63f1562d43f32331006c2c1a61742de031b84d
Reference: CONFIRM:http://www.videolan.org/security/sa0810.html

Stack-based buffer overflow in VideoLAN VLC media player 0.5.0 through
0.9.5 might allow user-assisted attackers to execute arbitrary code
via the header of an invalid CUE image file, related to
modules/access/vcd/cdrom.c.  NOTE: this identifier originally included
an issue related to RealText, but that issue has been assigned a
separate identifier, CVE-2008-5036.


======================================================
Name: CVE-2008-5036
Status: Candidate
URL: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5036
Reference: MLIST:[oss-security] 20081105 CVE id request: vlc
Reference: URL:http://www.openwall.com/lists/oss-security/2008/11/05/5
Reference: MLIST:[oss-security] 20081105 VideoLAN security advisory 0810
Reference: URL:http://www.openwall.com/lists/oss-security/2008/11/05/4
Reference: MLIST:[oss-security] 20081110 Re: CVE id request: vlc
Reference: URL:http://www.openwall.com/lists/oss-security/2008/11/10/13
Reference: MISC:http://www.trapkit.de/advisories/TKADV2008-011.txt
Reference: CONFIRM:http://git.videolan.org/?p=vlc.git;a=commitdiff;h=e3cef651125701a2e33a8d75b815b3e39681a447
Reference: CONFIRM:http://www.videolan.org/security/sa0810.html

Stack-based buffer overflow in VideoLAN VLC media player 0.9.x before
0.9.6 might allow user-assisted attackers to execute arbitrary code
via an an invalid RealText (rt) subtitle file, related to the
ParseRealText function in modules/demux/subtitle.c.  NOTE: this issue
was SPLIT from CVE-2008-5032 on 20081110.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2008-11-12 18:30:17 0000</bug_when>
            <thetext>I&apos;ll keep vlc ~ppc64 for now.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dertobi123@gentoo.org</who>
            <bug_when>2008-12-13 13:46:37 0000</bug_when>
            <thetext>0.9.8a is stable for ppc</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>keytoaster@gentoo.org</who>
            <bug_when>2008-12-25 01:16:20 0000</bug_when>
            <thetext>GLSA 200812-24, thanks everyone, sorry about the delay.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>