68 lines
2.2 KiB
XML
68 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
|
<glsa id="200411-29">
|
|
<title>unarj: Long filenames buffer overflow and a path traversal vulnerability</title>
|
|
<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.
|
|
</synopsis>
|
|
<product type="ebuild">unarj</product>
|
|
<announced>2004-11-19</announced>
|
|
<revised count="01">2004-11-19</revised>
|
|
<bug>70966</bug>
|
|
<access>remote</access>
|
|
<affected>
|
|
<package name="app-arch/unarj" auto="yes" arch="*">
|
|
<unaffected range="ge">2.63a-r2</unaffected>
|
|
<vulnerable range="lt">2.63a-r2</vulnerable>
|
|
</package>
|
|
</affected>
|
|
<background>
|
|
<p>
|
|
unarj is an ARJ archive decompressor.
|
|
</p>
|
|
</background>
|
|
<description>
|
|
<p>
|
|
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).
|
|
</p>
|
|
</description>
|
|
<impact type="normal">
|
|
<p>
|
|
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.
|
|
</p>
|
|
</impact>
|
|
<workaround>
|
|
<p>
|
|
There is no known workaround at this time.
|
|
</p>
|
|
</workaround>
|
|
<resolution>
|
|
<p>
|
|
All unarj users should upgrade to the latest version:
|
|
</p>
|
|
<code>
|
|
# emerge --sync
|
|
# emerge --ask --oneshot --verbose ">=app-arch/unarj-2.63a-r2"</code>
|
|
</resolution>
|
|
<references>
|
|
<uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0947">CAN-2004-0947</uri>
|
|
<uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1027">CAN-2004-1027</uri>
|
|
</references>
|
|
<metadata tag="requester" timestamp="2004-11-18T16:42:36Z">
|
|
jaervosz
|
|
</metadata>
|
|
<metadata tag="bugReady" timestamp="2004-11-18T16:42:55Z">
|
|
jaervosz
|
|
</metadata>
|
|
<metadata tag="submitter" timestamp="2004-11-19T09:32:28Z">
|
|
koon
|
|
</metadata>
|
|
</glsa>
|