summaryrefslogtreecommitdiff
blob: 76cd5bb6cd999c50e990109f77e35b915e9a2f5c (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
66
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201201-10">
  <title>JasPer: User-assisted execution of arbitrary code</title>
  <synopsis>Multiple memory management errors in JasPer could result in
    execution of arbitrary code or a Denial of Service.
  </synopsis>
  <product type="ebuild">JasPer</product>
  <announced>January 23, 2012</announced>
  <revised>January 23, 2012: 1</revised>
  <bug>394879</bug>
  <access>remote</access>
  <affected>
    <package name="media-libs/jasper" auto="yes" arch="*">
      <unaffected range="ge">1.900.1-r4</unaffected>
      <vulnerable range="lt">1.900.1-r4</vulnerable>
    </package>
  </affected>
  <background>
    <p>The JasPer Project is an open-source initiative to provide a free
      software-based reference implementation of the codec specified in the
      JPEG-2000 Part-1 (jpeg2k) standard.
    </p>
  </background>
  <description>
    <p>Two vulnerabilities have been found in JasPer:</p>
    
    <ul>
      <li>The jpc_cox_getcompparms function in libjasper/jpc/jpc_cs.c contains
        an error that could overwrite certain callback pointers, possibly
        causing a heap-based buffer overflow (CVE-2011-4516).
      </li>
      <li>The jpc_crg_getparms function in libjasper/jpc/jpc_cs.c uses an
        incorrect data type, possibly causing a heap-based buffer overflow
        (CVE-2011-4517).
      </li>
    </ul>
  </description>
  <impact type="normal">
    <p>A remote attacker could entice a user or automated system to process
      specially crafted JPEG-2000 files with an application using JasPer,
      possibly resulting in the execution of arbitrary code with the privileges
      of the application, or a Denial of Service.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All JasPer users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=media-libs/jasper-1.900.1-r4"
    </code>
    
  </resolution>
  <references>
    <uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-4516">CVE-2011-4516</uri>
    <uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-4517">CVE-2011-4517</uri>
  </references>
  <metadata timestamp="Tue, 27 Dec 2011 05:22:50 +0000" tag="requester">
    underling
  </metadata>
  <metadata timestamp="Mon, 23 Jan 2012 19:50:54 +0000" tag="submitter">ackle</metadata>
</glsa>