summaryrefslogtreecommitdiff
blob: 75f33bb95d8b61da095859e7c782ac7d30aa91cb (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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200407-06">
  <title>libpng: Buffer overflow on row buffers</title>
  <synopsis>
    libpng contains a buffer overflow vulnerability potentially allowing an
    attacker to perform a Denial of Service attack or even execute arbitrary
    code.
  </synopsis>
  <product type="ebuild">libpng</product>
  <announced>2004-07-08</announced>
  <revised count="01">2004-07-08</revised>
  <bug>56307</bug>
  <access>remote</access>
  <affected>
    <package name="media-libs/libpng" auto="yes" arch="*">
      <unaffected range="ge">1.2.5-r7</unaffected>
      <vulnerable range="le">1.2.5-r6</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    libpng is a standard library used to process PNG (Portable Network
    Graphics) images. It is used by several other programs, including web
    browsers and potentially server processes.
    </p>
  </background>
  <description>
    <p>
    Due to a wrong calculation of loop offset values, libpng contains a buffer
    overflow vulnerability on the row buffers. This vulnerability was initially
    patched in January 2003 but since it has been discovered that libpng
    contains the same vulnerability in two other places.
    </p>
  </description>
  <impact type="normal">
    <p>
    An attacker could exploit this vulnerability to cause programs linked
    against the library to crash or execute arbitrary code with the permissions
    of the user running the vulnerable program, which could be the root user.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time. All users are encouraged to
    upgrade to the latest available version.
    </p>
  </workaround>
  <resolution>
    <p>
    All libpng users should upgrade to the latest stable version:
    </p>
    <code>
    # emerge sync

    # emerge -pv "&gt;=media-libs/libpng-1.2.5-r7"
    # emerge "&gt;=media-libs/libpng-1.2.5-r7"</code>
    <p>
    You should also run revdep-rebuild to rebuild any packages that depend on
    older versions of libpng :
    </p>
    <code>
    # revdep-rebuild</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-1363">CAN-2002-1363</uri>
  </references>
  <metadata tag="submitter">
    jaervosz
  </metadata>
</glsa>