blob: f680f7c02c7e5c00778996a54e5ff7f46d923811 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200411-29">
<title>unarj: Long filenames buffer overflow and a path traversal vulnerability</title>
unarj contains a buffer overflow and a directory traversal vulnerability.
This could lead to overwriting of arbitrary files or the execution of
arbitrary code.
<product type="ebuild">unarj</product>
<announced>November 19, 2004</announced>
<revised>November 19, 2004: 01</revised>
<package name="app-arch/unarj" auto="yes" arch="*">
<unaffected range="ge">2.63a-r2</unaffected>
<vulnerable range="lt">2.63a-r2</vulnerable>
unarj is an ARJ archive decompressor.
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
<impact type="normal">
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.
There is no known workaround at this time.
All unarj users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=app-arch/unarj-2.63a-r2&quot;</code>
<uri link="">CAN-2004-0947</uri>
<uri link="">CAN-2004-1027</uri>
<metadata tag="requester" timestamp="Thu, 18 Nov 2004 16:42:36 +0000">
<metadata tag="bugReady" timestamp="Thu, 18 Nov 2004 16:42:55 +0000">
<metadata tag="submitter" timestamp="Fri, 19 Nov 2004 09:32:28 +0000">