<?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>134138</bug_id>
          
          <creation_ts>2006-05-23 11:12 0000</creation_ts>
          <short_desc>games-strategy/netpanzer: remote DoS (CVE-2006-2575)</short_desc>
          <delta_ts>2007-02-12 22:38:45 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://archives.neohapsis.com/archives/fulldisclosure/2006-05/0606.html</bug_file_loc>
          <status_whiteboard>B3 [noglsa] Falco</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>falco@gentoo.org</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          <cc>denilsonsa@gmail.com</cc>
    
    <cc>derhans@nerdshack.com</cc>
    
    <cc>games@gentoo.org</cc>
    
    <cc>mailingdotlist@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2006-05-23 11:12:13 0000</bug_when>
            <thetext>by Luigi Auriemma

======
2) Bug
======


The game is affected by a denial of service which happens when a client
uses a flag (called also frameNum) major than 41 since the setFrame
function in src/Lib/2D/Surface.hpp checks if this number is minor than
frameCount:

    void setFrame(const float &amp;frameNum)
    {
        assert(frameNum &gt;= 0.0);
        assert(frameNum &lt; frameCount);
        mem = frame0 + (pix.y * stride) * int(frameNum);
    }

The result is the immediate interruption of the server.

(...)

======
4) Fix
======


No fix.
No reply from the developers.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2006-05-23 11:13:15 0000</bug_when>
            <thetext>Let&apos;s wait for a patch or an upstream bump.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2006-05-23 11:36:15 0000</bug_when>
            <thetext>package masked for now.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aaronps@gmail.com</who>
            <bug_when>2006-10-30 04:35:38 0000</bug_when>
            <thetext>Hi, i have maded a patch that fix this (and other bugs) in netpanzer.

I dont know if the patch will be accepted (it seems nobody will ever take a look into it). But anyway im working with netpanzer (even im thinking to make a fork).

You can find the patch in the &apos;patch&apos; section of netpanzer in berlios.de</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mailingdotlist@gmail.com</who>
            <bug_when>2006-11-22 14:02:42 0000</bug_when>
            <thetext>Apperantley this bug has been fixed in the latest release of netpanzer.(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=318329) Please confirm.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2006-11-29 14:38:51 0000</bug_when>
            <thetext>Debian is using a SVN snapshot.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mailingdotlist@gmail.com</who>
            <bug_when>2006-12-26 23:06:30 0000</bug_when>
            <thetext>What&apos;s the status of this ebuild? Can we use the CVS?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>matze@braunis.de</who>
            <bug_when>2007-02-05 10:10:05 0000</bug_when>
            <thetext>version 0.8.1 should fix this problem</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>matze@braunis.de</who>
            <bug_when>2007-02-05 10:12:59 0000</bug_when>
            <thetext>I still don&apos;t understand why you are masking a game, because it is possible to abort a running server with bad data (this isn&apos;t even a buffer overflow, noone can gain control of the server).
A server which can be shut down is still better than no server at all, isn&apos;t it?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-02-05 22:11:47 0000</bug_when>
            <thetext>*** Bug 165519 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>derhans@nerdshack.com</who>
            <bug_when>2007-02-06 01:37:03 0000</bug_when>
            <thetext>Created an attachment (id=109293)
netpanzer-0.8.1.ebuild

New netpanzer version, that fixes this bug</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mailingdotlist@gmail.com</who>
            <bug_when>2007-02-06 05:35:37 0000</bug_when>
            <thetext>(In reply to comment #10)
&gt; Created an attachment (id=109293) [edit]
&gt; netpanzer-0.8.1.ebuild
&gt; 
&gt; New netpanzer version, that fixes this bug
&gt; 

Ha Kewl! Is this in portage testing yet? Or do we need to use an overlay? 

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nyhm@gentoo.org</who>
            <bug_when>2007-02-07 09:22:52 0000</bug_when>
            <thetext>bumped</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2007-02-10 22:03:41 0000</bug_when>
            <thetext>Time to vote, i vote NO.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>derhans@nerdshack.com</who>
            <bug_when>2007-02-11 01:28:27 0000</bug_when>
            <thetext>The masterserver provided in the default configuartion file is not working anymore, so the internal server browser will not work without modification. New Masterserver is netpanzer.selfip.net, maybe an information message after insatlling would be a good idea.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mailingdotlist@gmail.com</who>
            <bug_when>2007-02-11 12:19:18 0000</bug_when>
            <thetext>(In reply to comment #13)
&gt; Time to vote, i vote NO.
&gt; 

Vote for what?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2007-02-11 13:14:45 0000</bug_when>
            <thetext>(In reply to comment #15)
&gt; (In reply to comment #13)
&gt; &gt; Time to vote, i vote NO.
&gt; &gt; 
&gt; 
&gt; Vote for what?
&gt; 

Wether we issue a GLSA or not. (ok, i know i&apos;m voting alone)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mailingdotlist@gmail.com</who>
            <bug_when>2007-02-11 22:03:21 0000</bug_when>
            <thetext>(In reply to comment #16)
&gt; (In reply to comment #15)
&gt; &gt; (In reply to comment #13)
&gt; &gt; &gt; Time to vote, i vote NO.
&gt; &gt; &gt; 
&gt; &gt; 
&gt; &gt; Vote for what?
&gt; &gt; 
&gt; 
&gt; Wether we issue a GLSA or not. (ok, i know i&apos;m voting alone)
&gt; 

I guess this is only for developers?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2007-02-11 22:39:48 0000</bug_when>
            <thetext>(In reply to comment #17)
&gt; (In reply to comment #16)
&gt; &gt; Wether we issue a GLSA or not. (ok, i know i&apos;m voting alone)
&gt; &gt; 
&gt; 
&gt; I guess this is only for developers?
&gt; 

Sure :)  but you are free to give your opinion.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2007-02-12 22:38:45 0000</bug_when>
            <thetext>i&apos;m actually the only active member of the security team, so let&apos;s close this without GLSA. Feel free to reopen if you disagree.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>109293</attachid>
            <date>2007-02-06 01:37 0000</date>
            <desc>netpanzer-0.8.1.ebuild</desc>
            <filename>netpanzer-0.8.1.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA2IEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0ZWQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgojICRIZWFk
ZXI6IC92YXIvY3Zzcm9vdC9nZW50b28teDg2L2dhbWVzLXN0cmF0ZWd5L25ldHBhbnplci9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