Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200412-20 ] NASM: Buffer overflow vulnerability
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 3829
Location: Essen, Germany

PostPosted: Mon Dec 20, 2004 1:59 pm    Post subject: [ GLSA 200412-20 ] NASM: Buffer overflow vulnerability Reply with quote

Gentoo Linux Security Advisory

Title: NASM: Buffer overflow vulnerability (GLSA 200412-20)
Severity: normal
Exploitable: remote
Date: December 20, 2004
Bug(s): #74477
ID: 200412-20

Synopsis

NASM is vulnerable to a buffer overflow that allows an attacker to execute arbitrary code through the use of a malicious object file.

Background

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.

Affected Packages

Package: dev-lang/nasm
Vulnerable: <= 0.98.38
Unaffected: >= 0.98.38-r1
Architectures: All supported architectures


Description

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

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.

Workaround

There is no known workaround at this time.

Resolution

All NASM users should upgrade to the latest version:
Code:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/nasm-0.98.38-r1"


References

Original Advisory


Last edited by GLSA on Sun May 07, 2006 4:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum