summaryrefslogtreecommitdiff
blob: 3da7cd0879baf5e04b075a46463e374ede2a9cc8 (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201405-27">
  <title>LibYAML: Arbitrary code execution</title>
  <synopsis>A vulnerability in LibYAML could allow an attacker to execute
    arbitrary code or cause a Denial of Service condition.
  </synopsis>
  <product type="ebuild">libyaml</product>
  <announced>May 23, 2014</announced>
  <revised>May 23, 2014: 1</revised>
  <bug>505948</bug>
  <access>local, remote</access>
  <affected>
    <package name="dev-libs/libyaml" auto="yes" arch="*">
      <unaffected range="ge">0.1.6</unaffected>
      <vulnerable range="lt">0.1.6</vulnerable>
    </package>
  </affected>
  <background>
    <p>LibYAML is a YAML 1.1 parser and emitter written in C.</p>
  </background>
  <description>
    <p>The yaml_parser_scan_uri_escapes() function does not properly expand
      strings passed as input, which can result in a heap-based buffer
      overflow.
    </p>
  </description>
  <impact type="normal">
    <p>An attacker could provide a specially-crafted YAML document, which, when
      parsed by LibYAML, could result in arbitrary code execution or cause the
      application to crash.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All LibYAML users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=dev-libs/libyaml-0.1.6"
    </code>
    
    <p>Packages which depend on this library may need to be recompiled. Tools
      such as revdep-rebuild may assist in identifying these packages.
    </p>
  </resolution>
  <references>
    <uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-2525">CVE-2014-2525</uri>
  </references>
  <metadata tag="requester" timestamp="Thu, 15 May 2014 03:39:38 +0000">
    BlueKnight
  </metadata>
  <metadata tag="submitter" timestamp="Fri, 23 May 2014 08:42:20 +0000">
    creffett
  </metadata>
</glsa>