<?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>92991</bug_id>
          
          <creation_ts>2005-05-17 15:22 0000</creation_ts>
          <short_desc>dev-lang/nasm: IEEE_PUTASCII Remote Buffer Overflow</short_desc>
          <delta_ts>2005-05-18 07:27:31 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>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>https://bugzilla.redhat.com/beta/show_bug.cgi?id=152962</bug_file_loc>
          <status_whiteboard>B2 [noglsa] formula7</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>formula7@gentoo.org</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          <cc>mr_bones_@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>formula7@gentoo.org</who>
            <bug_when>2005-05-17 15:22:03 0000</bug_when>
            <thetext>I&apos;m not sure if the 0.98.39 in portage is affected...http://securityfocus.com/bid/13506/info/ says that 0.98.38 and 0.98.35 are vulnerable but CAN-2005-1194 just says 0.98


----------------------------------------------
NASM is prone to a remote buffer overflow vulnerability. This issue affects the &apos;ieee_putascii()&apos; function.

It is likely that an attacker exploits this issue by crafting a malicious source file to be assembled by the application. This file is sent to an affected user and if the user loads the file in NASM, the attack may result in arbitrary code execution.

The attacker may then gain unauthorized access in the context of the user running NASM.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>formula7@gentoo.org</who>
            <bug_when>2005-05-17 15:36:12 0000</bug_when>
            <thetext>According to tigger^ 0.98.39 is vulnerable. (Anyway, I didn&apos;t see that it was
released on January)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2005-05-17 15:57:45 0000</bug_when>
            <thetext>Fixed.  Security team can proceed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>formula7@gentoo.org</who>
            <bug_when>2005-05-17 16:08:17 0000</bug_when>
            <thetext>Team members, please advise on this one</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>formula7@gentoo.org</who>
            <bug_when>2005-05-18 05:42:45 0000</bug_when>
            <thetext>Here&apos;s from the original advisory
(http://sourceforge.net/mailarchive/forum.php?thread_id=7175315&amp;forum_id=4978)

--- nasm-0.98.39/output/outieee.c.overfl 2005-01-15 23:16:08.000000000 +0100
 +++ nasm-0.98.39/output/outieee.c 2005-04-01 12:55:17.231530832 +0200
 @@ -1120,7 +1120,7 @@ static void ieee_putascii(char *format, 
      va_list ap;
  
      va_start(ap, format);
 -    vsprintf(buffer, format, ap);
 +    vsnprintf(buffer, sizeof(buffer), format, ap);
      l = strlen(buffer);
      for (i = 0; i &lt; l; i++)
          if ((buffer[i] &amp; 0xff) &gt; 31)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>formula7@gentoo.org</who>
            <bug_when>2005-05-18 05:47:53 0000</bug_when>
            <thetext>It&apos;s here in CVS:
http://sourceforge.net/mailarchive/forum.php?thread_id=7218790&amp;forum_id=9091</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2005-05-18 07:16:05 0000</bug_when>
            <thetext>Why are we still talking about this?  It&apos;s fixed in portage already.  Security
team, do your announce thing and let&apos;s move on.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>formula7@gentoo.org</who>
            <bug_when>2005-05-18 07:27:31 0000</bug_when>
            <thetext>Closing without GLSA, because it relies on a too dumb user to work.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>