summaryrefslogtreecommitdiff
blob: f3273d99db87396ae9202eb43886f56c092bbf3c (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>2014-05-23</announced>
  <revised count="1">2014-05-23</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="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-2525">CVE-2014-2525</uri>
  </references>
  <metadata tag="requester" timestamp="2014-05-15T03:39:38Z">
    BlueKnight
  </metadata>
  <metadata tag="submitter" timestamp="2014-05-23T08:42:20Z">
    creffett
  </metadata>
</glsa>