summaryrefslogtreecommitdiff
blob: 7824f4eb66f1f2c71b7335e92d6863996ccdc1b8 (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
75
76
77
78
79
80
81
82
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">

<glsa id="200908-07">
  <title>Perl Compress::Raw modules: Denial of Service</title>
  <synopsis>
    An off-by-one error in Compress::Raw::Zlib and Compress::Raw::Bzip2 might
    lead to a Denial of Service.
  </synopsis>
  <product type="ebuild">Compress-Raw-Zlib Compress-Raw-Bzip2</product>
  <announced>August 18, 2009</announced>
  <revised>August 18, 2009: 01</revised>
  <bug>273141</bug>
  <bug>281955</bug>
  <access>remote</access>
  <affected>
    <package name="perl-core/Compress-Raw-Zlib" auto="yes" arch="*">
      <unaffected range="ge">2.020</unaffected>
      <vulnerable range="lt">2.020</vulnerable>
    </package>
    <package name="perl-core/Compress-Raw-Bzip2" auto="yes" arch="*">
      <unaffected range="ge">2.020</unaffected>
      <vulnerable range="lt">2.020</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    Compress::Raw::Zlib and Compress::Raw::Bzip2 are Perl low-level
    interfaces to the zlib and bzip2 compression libraries.
    </p>
  </background>
  <description>
    <p>
    Leo Bergolth reported an off-by-one error in the inflate() function in
    Zlib.xs of Compress::Raw::Zlib, possibly leading to a heap-based buffer
    overflow (CVE-2009-1391).
    </p>
    <p>
    Paul Marquess discovered a similar vulnerability in the bzinflate()
    function in Bzip2.xs of Compress::Raw::Bzip2 (CVE-2009-1884).
    </p>
  </description>
  <impact type="normal">
    <p>
    A remote attacker might entice a user or automated system (for instance
    running SpamAssassin or AMaViS) to process specially crafted files,
    possibly resulting in a Denial of Service condition.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All Compress::Raw::Zlib users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose &quot;&gt;=perl-core/Compress-Raw-Zlib-2.020&quot;</code>
    <p>
    All Compress::Raw::Bzip2 users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose &quot;&gt;=perl-core/Compress-Raw-Bzip2-2.020&quot;</code>
  </resolution>
  <references>
    <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-1391">CVE-2009-1391</uri>
    <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-1884">CVE-2009-1884</uri>
  </references>
  <metadata tag="requester" timestamp="Sun, 19 Jul 2009 17:33:05 +0000">
    a3li
  </metadata>
  <metadata tag="submitter" timestamp="Tue, 04 Aug 2009 18:43:38 +0000">
    a3li
  </metadata>
  <metadata tag="bugReady" timestamp="Wed, 05 Aug 2009 13:32:50 +0000">
    a3li
  </metadata>
</glsa>