__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Buffer Overflow in 'nasm' [Debian Security Advisory DSA 623-1] January 4, 2005 18:00 GMT Number P-089 [REVISED 05 May 2005] [REVISED 31 May 2005] ______________________________________________________________________________ PROBLEM: A vulnerability was discovered in nasm, a general purpose x86 assembler. PLATFORM: Debian GNU/Linux 3.0 (woody) Red Hat Desktop (v. 3, 4) Red Hat Enterprise Linux AS (v. 2.1, 3, 4) Red Hat Enterprise Linux ES (v. 2.1, 3, 4) Red Hat Enterprise Linux WS (v. 2.1, 3, 4) Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor SGI ProPack 3 Service Pack 5 for SGI Altix family of systems DAMAGE: A buffer overflow vulnerability in nasm may lead to execution of arbitrary code when compiling a maliciously crafted assembler source file. SOLUTION: Apply the available updates. ______________________________________________________________________________ VULNERABILITY The risk is LOW. An attacker may entice a user to compile a ASSESSMENT: malicious assembler source file. This would allow the attacker to execute arbitrary code with the privileges of the user compiling the file. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/p-089.shtml ORIGINAL BULLETIN: http://www.debian.org/security/2005/dsa-623 ADDITIONAL LINKS: Red Hat Security Advisory RHSA-2005:381-06 https://rhn.redhat.com/errata/RHSA-2005-381.html SGI Security Advisory Number 20050502-01-U ftp://patches.sgi.com/support/free/security/advisories/ 20050502-01-U.asc CVE/CAN: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CAN-2004-1287, CAN-2005-1194 ______________________________________________________________________________ REVISION HISTORY: 05/04/2005 - added link to Red Hat Security Advisory RHSA-2005:381-06. Also added affected Red Hat Platforms and security fix. 05/31/2005 - added link to SGI Advanced Linux Environment 3 Security Update #37, advisory number 20050502-01-U. [***** Start Debian Security Advisory DSA 623-1 *****] Debian Security Advisory DSA-623-1 nasm -- buffer overflow Date Reported: 04 Jan 2004 Affected Packages: nasm Vulnerable: Yes Security database references: In the Debian bugtracking system: Bug 285889. In Mitre's CVE dictionary: CAN-2004-1287. More information: 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. Fixed in: Debian GNU/Linux 3.0 (woody) Source: http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs- 1woody2.dsc http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs- 1woody2.diff.gz http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs.orig. tar.gz Alpha: http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs-1woody2 _alpha.deb ARM: http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs-1woody2 _arm.deb Intel IA-32: http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs-1woody2 _i386.deb Intel IA-64: http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs-1woody2 _ia64.deb HPPA: http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs-1woody2 _hppa.deb Motorola 680x0: http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs-1woody2 _m68k.deb Big endian MIPS: http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs-1woody2 _mips.deb Little endian MIPS: http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs-1woody2 _mipsel.deb PowerPC: http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs-1woody2 _powerpc.deb IBM S/390: http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs-1woody2 _s390.deb Sun Sparc: http://security.debian.org/pool/updates/main/n/nasm/nasm_0.98.28cvs-1woody2 _sparc.deb MD5 checksums of the listed files are available in the original advisory. [***** End Debian Security Advisory DSA 623-1 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of Debian for the information contained in this bulletin. _______________________________________________________________________________ CIAC, the Computer Incident Advisory Capability, is the computer security incident response team for the U.S. Department of Energy (DOE) and the emergency backup response team for the National Institutes of Health (NIH). CIAC is located at the Lawrence Livermore National Laboratory in Livermore, California. CIAC is also a founding member of FIRST, the Forum of Incident Response and Security Teams, a global organization established to foster cooperation and coordination among computer security teams worldwide. CIAC services are available to DOE, DOE contractors, and the NIH. CIAC can be contacted at: Voice: +1 925-422-8193 (7x24) FAX: +1 925-423-8002 STU-III: +1 925-423-2604 E-mail: ciac@ciac.org Previous CIAC notices, anti-virus software, and other information are available from the CIAC Computer Security Archive. World Wide Web: http://www.ciac.org/ Anonymous FTP: ftp.ciac.org PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing communities receive CIAC bulletins. If you are not part of these communities, please contact your agency's response team to report incidents. Your agency's team will coordinate with CIAC. The Forum of Incident Response and Security Teams (FIRST) is a world-wide organization. A list of FIRST member organizations and their constituencies can be obtained via WWW at http://www.first.org/. This document was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial products, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes. LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC) P-079: "chcod" Command Vulnerability P-080: "lsvpd" Untrusted Path Vulnerability P-081: Linux Kernel Vulnerabilities P-082: 'tiff' Insufficient Input Validation P-083: Netscape Directory Server on HP-UX LDAP Vulnerability P-084: TikiWiki Vulnerability P-085: HP-UX SAM Local Privilege Increase P-086: Perl Insecure Temporary Files/Directories P-087: Buffer Overflow in xpdf P-088: Buffer Overflow in PDF Processing part of CUPS