Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200410-08 ] ncompress: Buffer overflow
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: Sat Oct 09, 2004 7:06 pm    Post subject: [ GLSA 200410-08 ] ncompress: Buffer overflow Reply with quote

Gentoo Linux Security Advisory

Title: ncompress: Buffer overflow (GLSA 200410-08)
Severity: normal
Exploitable: remote
Date: October 09, 2004
Updated: May 22, 2006
Bug(s): #66251
ID: 200410-08

Synopsis

compress and uncompress, which could be used by daemon programs, contain a buffer overflow that could lead to remote execution of arbitrary code with the rights of the daemon process.

Background

ncompress is a utility handling compression and decompression of Lempel-Ziv archives, compatible with the original *nix compress and uncompress utilities (.Z extensions).

Affected Packages

Package: app-arch/ncompress
Vulnerable: <= 4.2.4
Unaffected: >= 4.2.4-r1
Architectures: All supported architectures


Description

compress and uncompress do not properly check bounds on command line options, including the filename. Large parameters would trigger a buffer overflow.

Impact

By supplying a carefully crafted filename or other option, an attacker could execute arbitrary code on the system. A local attacker could only execute code with his own rights, but since compress and uncompress are called by various daemon programs, this might also allow a remote attacker to execute code with the rights of the daemon making use of ncompress.

Workaround

There is no known workaround at this time.

Resolution

All ncompress users should upgrade to the latest version:
Code:
# emerge sync
# emerge -pv ">=app-arch/ncompress-4.2.4-r1"
# emerge ">=app-arch/ncompress-4.2.4-r1"


References

US-CERT Vulnerability Note VU#176363
CVE-2001-1413


Last edited by GLSA on Tue May 23, 2006 4:18 am; edited 2 times 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