summaryrefslogtreecommitdiff
blob: 40cfe31070a437a47b89911a709d814be48258d1 (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
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">

<glsa id="200710-04">
  <title>libsndfile: Buffer overflow</title>
  <synopsis>
    A buffer overflow vulnerability has been discovered in libsndfile.
  </synopsis>
  <product type="ebuild">libsndfile</product>
  <announced>October 07, 2007</announced>
  <revised>October 07, 2007: 01</revised>
  <bug>192834</bug>
  <access>remote</access>
  <affected>
    <package name="media-libs/libsndfile" auto="yes" arch="*">
      <unaffected range="ge">1.0.17-r1</unaffected>
      <vulnerable range="lt">1.0.17-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    libsndfile is a library for reading and writing various formats of
    audio files including WAV and FLAC.
    </p>
  </background>
  <description>
    <p>
    Robert Buchholz of the Gentoo Security team discovered that the
    flac_buffer_copy() function does not correctly handle FLAC streams with
    variable block sizes which leads to a heap-based buffer overflow
    (CVE-2007-4974).
    </p>
  </description>
  <impact type="normal">
    <p>
    A remote attacker could exploit this vulnerability by enticing a user
    to open a specially crafted FLAC file or network stream with an
    application using libsndfile. This might lead to the execution of
    arbitrary code with privileges of the user playing the file.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All libsndfile users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose &quot;&gt;=media-libs/libsndfile-1.0.17-r1&quot;</code>
  </resolution>
  <references>
    <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4974">CVE-2007-4974</uri>
  </references>
  <metadata tag="requester" timestamp="Sat, 06 Oct 2007 23:14:31 +0000">
    p-y
  </metadata>
  <metadata tag="submitter" timestamp="Sun, 07 Oct 2007 18:26:17 +0000">
    rbu
  </metadata>
  <metadata tag="bugReady" timestamp="Sun, 07 Oct 2007 19:16:11 +0000">
    p-y
  </metadata>
</glsa>