Subject: [ GLSA 200905-09 ] libsndfile: User-assisted execution of
arbitrary code
From: Alex Legler <a3li@gentoo.org.>
To: [email protected]
Cc: [email protected], [email protected],
[email protected]
Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-qKcs3BrUY+SMIGtTngxH"
Date: Wed, 27 May 2009 20:37:21 +0200
Message-Id: <1243449441.4200.1.camel@localhost.>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.2
X-Virus-Scanned: antivirus-gw at tyumen.ru
--=-qKcs3BrUY+SMIGtTngxH
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200905-09
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Normal
Title: libsndfile: User-assisted execution of arbitrary code
Date: May 27, 2009
Bugs: #269863
ID: 200905-09
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
=3D=3D=3D=3D=3D=3D=3D=3D
Multiple heap-based buffer overflow vulnerabilities in libsndfile might
allow remote attackers to execute arbitrary code.
Background
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
libsndfile is a C library for reading and writing files containing
sampled sound.
Affected packages
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 media-libs/libsndfile < 1.0.20 >=3D 1.0.20
Description
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
The following vulnerabilities have been found in libsndfile:
* Tobias Klein reported that the header_read() function in
src/common.c uses user input for calculating a buffer size, possibly
leading to a heap-based buffer overflow (CVE-2009-1788).
* The vendor reported a boundary error in the aiff_read_header()
function in src/aiff.c, possibly leading to a heap-based buffer
overflow (CVE-2009-1791).
Impact
=3D=3D=3D=3D=3D=3D
A remote attacker could entice a user to open a specially crafted AIFF
or VOC file in a program using libsndfile, possibly resulting in the
execution of arbitrary code with the privileges of the user running the
application.
Workaround
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
There is no known workaround at this time.
Resolution
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
All libsndfile users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=3Dmedia-libs/libsndfile-1.0.20"
References
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
[ 1 ] CVE-2009-1788
http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2009-1788
[ 2 ] CVE-2009-1791
http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2009-1791
Availability
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200905-09.xml
Concerns?
=3D=3D=3D=3D=3D=3D=3D=3D=3D
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
http://bugs.gentoo.org.
License
=3D=3D=3D=3D=3D=3D=3D
Copyright 2009 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
http://creativecommons.org/licenses/by-sa/2.5
--=-qKcs3BrUY+SMIGtTngxH
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
iEYEABECAAYFAkodiGEACgkQk+oqhfPAZGm+kgCeP7JuIGAc6GlSkK3sSqAeZlFg
QnEAn0/iF6fO7CyfHCZEQnUDEKnBl31t
=FsJX
-----END PGP SIGNATURE-----
--=-qKcs3BrUY+SMIGtTngxH--