summaryrefslogtreecommitdiff
blob: 7fb6d42ac04534133149b1c01f34afbea00eccbc (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
67
68
69
70
71
72
73
74
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201502-10">
  <title>libpng: User-assisted execution of arbitrary code</title>
  <synopsis>Two vulnerabilities have been found in libpng, possibly resulting
    in execution of arbitrary code.
  </synopsis>
  <product type="ebuild">libpng</product>
  <announced>2015-02-15</announced>
  <revised count="3">2017-01-03</revised>
  <bug>531264</bug>
  <bug>533358</bug>
  <access>local, remote</access>
  <affected>
    <package name="media-libs/libpng" auto="yes" arch="*">
      <unaffected range="ge">1.6.16</unaffected>
      <unaffected range="ge" slot="1.5">1.5.21</unaffected>
      <unaffected range="ge" slot="1.2">1.2.52</unaffected>
      <vulnerable range="lt">1.6.16</vulnerable>
    </package>
  </affected>
  <background>
    <p>libpng is a standard library used to process PNG (Portable Network
      Graphics) images. It is used by several programs, including web browsers
      and potentially server processes.
    </p>
  </background>
  <description>
    <p>Two vulnerabilities have been discovered in libpng:</p>
    
    <ul>
      <li>The png_user_version_check function contains an out-of-bounds memory
        access error (libpng 1.6.15 Release Notes)
      </li>
      <li>The png_combine_row function contains an integer overflow error,
        which could result in a heap-based buffer overflow (CVE-2014-9495)
      </li>
    </ul>
  </description>
  <impact type="normal">
    <p>A context-dependent attacker could entice a user to open a specially
      crafted PNG file using an application linked against libpng, possibly
      resulting in execution of arbitrary code.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All libpng 1.6 users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=media-libs/libpng-1.6.16"
    </code>
    
    <p>All libpng 1.5 users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=media-libs/libpng-1.5.21"
    </code>
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-9495">CVE-2014-9495</uri>
    <uri link="http://www.libpng.org/pub/png/src/libpng-1.6.15-README.txt">
      libpng 1.6.15 Release Notes
    </uri>
  </references>
  <metadata tag="requester" timestamp="2015-01-15T22:55:48Z">
    BlueKnight
  </metadata>
  <metadata tag="submitter" timestamp="2017-01-03T04:39:38Z">ackle</metadata>
</glsa>