GLSA Bodhisattva
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Fri Nov 19, 2004 10:43 pm Post subject: [ GLSA 200411-29 ] unarj: Long filenames buffer overflow and |
|
|
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 |
|