summaryrefslogtreecommitdiff
blob: da036f1d34c7068c585a4e74028cecbc3070b889 (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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200812-06">
  <title>libxml2: Multiple vulnerabilities</title>
  <synopsis>
    Multiple vulnerabilities in libxml2 might lead to execution of arbitrary
    code or Denial of Service.
  </synopsis>
  <product type="ebuild">libxml2</product>
  <announced>2008-12-02</announced>
  <revised>2008-12-02: 01</revised>
  <bug>234099</bug>
  <bug>237806</bug>
  <bug>239346</bug>
  <bug>245960</bug>
  <access>remote</access>
  <affected>
    <package name="dev-libs/libxml2" auto="yes" arch="*">
      <unaffected range="ge">2.7.2-r1</unaffected>
      <vulnerable range="lt">2.7.2-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    libxml2 is the XML (eXtended Markup Language) C parser and toolkit
    initially developed for the Gnome project.
    </p>
  </background>
  <description>
    <p>
    Multiple vulnerabilities were reported in libxml2:
    </p>
    <ul>
    <li>
    Andreas Solberg reported that libxml2 does not properly detect
    recursion during entity expansion in an attribute value
    (CVE-2008-3281).
    </li>
    <li>
    A heap-based buffer overflow has been reported in the
    xmlParseAttValueComplex() function in parser.c (CVE-2008-3529).
    </li>
    <li>
    Christian Weiske reported that predefined entity definitions in
    entities are not properly handled (CVE-2008-4409).
    </li>
    <li>
    Drew Yao of Apple Product Security reported an integer overflow in the
    xmlBufferResize() function that can lead to an infinite loop
    (CVE-2008-4225).
    </li>
    <li>
    Drew Yao of Apple Product Security reported an integer overflow in the
    xmlSAX2Characters() function leading to a memory corruption
    (CVE-2008-4226).
    </li>
    </ul>
  </description>
  <impact type="normal">
    <p>
    A remote attacker could entice a user or automated system to open a
    specially crafted XML document with an application using libxml2,
    possibly resulting in the exeution of arbitrary code or a high CPU and
    memory consumption.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All libxml2 users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=dev-libs/libxml2-2.7.2-r1"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3281">CVE-2008-3281</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3529">CVE-2008-3529</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4409">CVE-2008-4409</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4225">CVE-2008-4225</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4226">CVE-2008-4226</uri>
  </references>
  <metadata tag="requester" timestamp="2008-10-01T21:27:07Z">
    keytoaster
  </metadata>
  <metadata tag="submitter" timestamp="2008-10-31T00:21:31Z">
    rbu
  </metadata>
  <metadata tag="bugReady" timestamp="2008-10-31T00:21:45Z">
    rbu
  </metadata>
</glsa>