Debian: nasm arbitrary code execution fix
Posted by Joe Shakespeare   
Debian Jonathan Rockway discovered a buffer overflow in nasm, the general-purpose x86 assembler, which could lead to the execution of arbitrary code when compiling a maliciously crafted assembler source file.

--------------------------------------------------------------------------
Debian Security Advisory DSA 623-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
January 4th, 2004                       http://www.debian.org/security/faq
--------------------------------------------------------------------------

Package        : nasm
Vulnerability  : buffer overflow
Problem-Type   : local
Debian-specific: no
CVE ID         : CAN-2004-1287
Debian Bug     : 285889

Jonathan Rockway discovered a buffer overflow in nasm, the
general-purpose x86 assembler, which could lead to the execution of
arbitrary code when compiling a maliciously crafted assembler source
file.

For the stable distribution (woody) this problem has been fixed in
version 0.98.28cvs-1woody2.

For the unstable distribution (sid) this problem has been fixed in
version 0.98.38-1.1.

We recommend that you upgrade your nasm package.


Upgrade Instructions
--------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 3.0 alias woody
--------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs-1woody2.dsc
      Size/MD5 checksum:      591 ccf378a52d5e0acca8180cd2a898c23f
    http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs-1woody2.diff.gz
      Size/MD5 checksum:    26048 2108831b98639b53b09aa4548915e4cc
    http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs.orig.tar.gz
      Size/MD5 checksum:   537305 1d2465d345d51f1c2ce2c9c076438bc6

  Alpha architecture:

    http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs-1woody2_alpha.deb
      Size/MD5 checksum:   759992 9206150e538f1fb3098ac5481f495366

  ARM architecture:

    http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs-1woody2_arm.deb
      Size/MD5 checksum:   701838 098f440e19c005de6df393bc4c132f7d

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs-1woody2_i386.deb
      Size/MD5 checksum:   694292 c5b8b4143097dc9c7f3544406059cd73

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs-1woody2_ia64.deb
      Size/MD5 checksum:   819652 6a1af7503971f6882995591f976d583a

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs-1woody2_hppa.deb
      Size/MD5 checksum:   751016 74aeea3854ac5a644c722cc571e11960

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs-1woody2_m68k.deb
      Size/MD5 checksum:   687534 107d93d7afc41d9dabe64ddf9ff83ef6

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs-1woody2_mips.deb
      Size/MD5 checksum:   743282 3aafdf6822bbb53dcd58df688d3a033b

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs-1woody2_mipsel.deb
      Size/MD5 checksum:   737590 0918c72ca36528b94080db4647610b42

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs-1woody2_powerpc.deb
      Size/MD5 checksum:   713496 3ed0c9adb99e5023ac208fcd6cae5d57

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs-1woody2_s390.deb
      Size/MD5 checksum:   709216 b2a9af593f7180ca8706c43738e684d6

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs-1woody2_sparc.deb
      Size/MD5 checksum:   735074 64a6e597c849353ae1ea0f720ff14061


  These files will probably be moved into the stable distribution on
  its next update.

---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show ' and http://packages.debian.org/