summaryrefslogtreecommitdiff
blob: 7cdd17a73e45d2435f996a517ae7ae91b7b878ab (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201612-55">
  <title>libjpeg-turbo: User-assisted execution of arbitrary code</title>
  <synopsis>An out-of-bounds read in libjpeg-turbo might allow remote attackers
    to execute arbitrary code.
  </synopsis>
  <product type="ebuild">libjpeg-turbo</product>
  <announced>2016-12-31</announced>
  <revised count="1">2016-12-31</revised>
  <bug>585782</bug>
  <access>remote</access>
  <affected>
    <package name="media-libs/libjpeg-turbo" auto="yes" arch="*">
      <unaffected range="ge">1.5.0</unaffected>
      <vulnerable range="lt">1.5.0</vulnerable>
    </package>
  </affected>
  <background>
    <p>libjpeg-turbo is a JPEG image codec that uses SIMD instructions (MMX,
      SSE2, NEON, AltiVec) to accelerate baseline JPEG compression and
      decompression.
    </p>
  </background>
  <description>
    <p>The accelerated Huffman decoder was previously invoked if there were 128
      bytes in the input buffer. However, it is possible to construct a JPEG
      image with Huffman blocks &gt; 430 bytes in length. This release simply
      increases the minimum buffer size for the accelerated Huffman decoder to
      512 bytes, which should accommodate any possible input.
    </p>
  </description>
  <impact type="normal">
    <p>A remote attacker could coerce the victim to run a specially crafted
      image file resulting in the execution of arbitrary code.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All libjpeg-turbo users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=media-libs/libjpeg-turbo-1.5.0"
    </code>
  </resolution>
  <references>
    <uri link="https://wiki.mozilla.org/images/7/77/Libjpeg-turbo-report.pdf">
      LJT-01-005
    </uri>
    <uri link="https://github.com/libjpeg-turbo/libjpeg-turbo/commit/0463f7c9aad060fcd56e98d025ce16185279e2bc">
      Prevent overread when decoding malformed JPEG
    </uri>
  </references>
  <metadata tag="requester" timestamp="2016-11-20T06:32:59Z">b-man</metadata>
  <metadata tag="submitter" timestamp="2016-12-31T15:38:15Z">b-man</metadata>
</glsa>