Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200411-29 ] unarj: Long filenames buffer overflow and a path traversal 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: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Fri Nov 19, 2004 10:43 pm    Post subject: [ GLSA 200411-29 ] unarj: Long filenames buffer overflow and Reply with quote

Gentoo Linux Security Advisory

Title: unarj: Long filenames buffer overflow and a path traversal vulnerability (GLSA 200411-29)
Severity: normal
Exploitable: remote
Date: November 19, 2004
Bug(s): #70966
ID: 200411-29

Synopsis


unarj contains a buffer overflow and a directory traversal vulnerability.
This could lead to overwriting of arbitrary files or the execution of
arbitrary code.


Background


unarj is an ARJ archive decompressor.


Affected Packages

Package: app-arch/unarj
Vulnerable: < 2.63a-r2
Unaffected: >= 2.63a-r2
Architectures: All supported architectures


Description


unarj has a bounds checking vulnerability within the handling of
long filenames in archives. It also fails to properly sanitize paths
when extracting an archive (if the "x" option is used to preserve
paths).


Impact


An attacker could trigger a buffer overflow or a path traversal by
enticing a user to open an archive containing specially-crafted path
names, potentially resulting in the overwrite of files or execution of
arbitrary code with the permissions of the user running unarj.


Workaround


There is no known workaround at this time.


Resolution


All unarj users should upgrade to the latest version:
Code:
# emerge --sync
    # emerge --ask --oneshot --verbose ">=app-arch/unarj-2.63a-r2"


References

CAN-2004-0947
CAN-2004-1027


Last edited by GLSA on Mon Jun 14, 2010 4:18 am; edited 5 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