NASM preproc.c buffer overflow

nasm-preprocc-bo (18540) The risk level is classified as HighHigh Risk

Description:

NASM is vulnerable to a buffer overflow, caused by improper bounds checking in the error function in the preproc.c file. By creating a specially-crafted .asm file, a local attacker could overflow a buffer and execute arbitrary code on the system with privileges of the user. In order for the attacker to exploit this vulnerability, the attacker must trick the victim into assembling a malicious .asm file on the victim's local system.

Platforms Affected:

  • Canonical, Ubuntu 4.10
  • Debian, Debian Linux 3.0
  • Gentoo, Linux
  • NASM, NASM 0.98.38
  • RedHat, Enterprise Linux 2.1 ES
  • RedHat, Enterprise Linux 2.1 AS
  • RedHat, Enterprise Linux 2.1 WS
  • RedHat, Enterprise Linux 3 AS
  • RedHat, Enterprise Linux 3 ES
  • RedHat, Enterprise Linux 3 WS
  • RedHat, Enterprise Linux 3 Desktop
  • RedHat, Enterprise Linux 4 WS
  • RedHat, Enterprise Linux 4 ES
  • RedHat, Enterprise Linux 4 AS
  • RedHat, Enterprise Linux 4 Desktop
  • RedHat, Linux Advanced Workstation 2.1 Itanium
  • Turbolinux, Turbolinux 10 Desktop
  • Turbolinux, Turbolinux 10 F...
  • Turbolinux, Turbolinux 10 Server
  • Turbolinux, Turbolinux 8 Server
  • Turbolinux, Turbolinux Home

Remedy:

For Ubuntu Linux:
Upgrade to the latest nasm package (0.98.38-1ubuntu0.1 or later), as listed in USN-45-1 December 22, 2004 for more information. See References.

For Gentoo Linux:
Upgrade to the latest version of nasm (0.98.38-r1 or later), as listed in GLSA 200412-20 . See References.

For Debian GNU/Linux 3.0 (alias woody):
Upgrade to the latest version of nasm (0.98.28cvs-1woody2 or later), as listed in Debian Security Advisory Debian Security Advisory DSA-623-1 . See References.

For Red Hat Linux:
Refer to RHSA-2005:381-06 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

Consequences:

Gain Access

References:

Reported:

Dec 15, 2004

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page