You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
2.3 KiB

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201708-05">
<title>RAR and UnRAR: User-assisted execution of arbitrary code</title>
<synopsis>An integer overflow in RAR and UnRAR might allow remote attackers
to execute arbitrary code.
</synopsis>
<product type="ebuild">rar,unrar</product>
<announced>2017-08-21</announced>
<revised count="1">2017-08-21</revised>
<bug>622342</bug>
<bug>622382</bug>
<access>remote</access>
<affected>
<package name="app-arch/rar" auto="yes" arch="*">
<unaffected range="ge">5.5.0_beta4_p20170628</unaffected>
<vulnerable range="lt">5.5.0_beta4_p20170628</vulnerable>
</package>
<package name="app-arch/unrar" auto="yes" arch="*">
<unaffected range="ge">5.5.5</unaffected>
<vulnerable range="lt">5.5.5</vulnerable>
</package>
</affected>
<background>
<p>RAR and UnRAR provide command line interfaces for compressing and
decompressing RAR files.
</p>
</background>
<description>
<p>A VMSF_DELTA memory corruption was discovered in which an integer
overflow can be caused in DataSize+CurChannel. The result is a negative
value of the “DestPos” variable which allows writing out of bounds
when setting Mem[DestPos].
</p>
</description>
<impact type="normal">
<p>A remote attacker, by enticing a user to open a specially crafted
archive, could execute arbitrary code with the privileges of the process.
</p>
</impact>
<workaround>
<p>There is no known workaround at this time.</p>
</workaround>
<resolution>
<p>All RAR users should upgrade to the latest version:</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose
"&gt;=app-arch/rar-5.5.0_beta4_p20170628"
</code>
<p>All UnRAR users should upgrade to the latest version:</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose "&gt;=app-arch/unrar-5.5.5"
</code>
</resolution>
<references>
<uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-6706">CVE-2012-6706</uri>
</references>
<metadata tag="requester" timestamp="2017-06-21T12:23:53Z">whissi</metadata>
<metadata tag="submitter" timestamp="2017-08-21T01:03:02Z">b-man</metadata>
</glsa>