blob: 18f71993077cf7d9cdf0da4905d138d571f7c508 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200412-20">
<title>NASM: Buffer overflow vulnerability</title>
NASM is vulnerable to a buffer overflow that allows an attacker to execute
arbitrary code through the use of a malicious object file.
<product type="ebuild">NASM</product>
<announced>December 20, 2004</announced>
<revised>December 20, 2004: 01</revised>
<package name="dev-lang/nasm" auto="yes" arch="*">
<unaffected range="ge">0.98.38-r1</unaffected>
<vulnerable range="le">0.98.38</vulnerable>
NASM is a 80x86 assembler that has been created for portability
and modularity. NASM supports Pentium, P6, SSE MMX, and 3DNow
extensions. It also supports a wide range of objects formats (ELF,
a.out, COFF, ...), and has its own disassembler.
Jonathan Rockway discovered that NASM-0.98.38 has an unprotected
vsprintf() to an array in preproc.c. This code vulnerability may lead
to a buffer overflow and potential execution of arbitrary code.
<impact type="normal">
A remote attacker could craft a malicious object file which, when
supplied in NASM, would result in the execution of arbitrary code with
the rights of the user running NASM.
There is no known workaround at this time.
All NASM users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=dev-lang/nasm-0.98.38-r1&quot;</code>
<uri link=";forum_id=4978">Original Advisory</uri>
<metadata tag="requester" timestamp="Thu, 16 Dec 2004 22:07:20 +0000">
<metadata tag="bugReady" timestamp="Thu, 16 Dec 2004 22:07:54 +0000">
<metadata tag="submitter" timestamp="Fri, 17 Dec 2004 11:34:13 +0000">