summaryrefslogtreecommitdiff
blob: da12d4e199bf2c6e0378d7896328672f91c9012e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?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>2017-08-21: 1</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>