[ GLSA 200709-08 ] id3lib: Insecure temporary file creation
Date: Sat, 15 Sep 2007 17:41:56 +0200
From: Matthias Geerdsen <vorlon@gentoo.org.>
To: [email protected]
Subject: [ GLSA 200709-08 ] id3lib: Insecure temporary file creation
X-Enigmail-Version: 0.95.3
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature";
boundary="------------enig5508077C419585E336A1B3A5"
X-Virus-Scanned: antivirus-gw at tyumen.ru
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig5508077C419585E336A1B3A5
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200709-08
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Normal
Title: id3lib: Insecure temporary file creation
Date: September 15, 2007
Bugs: #189610
ID: 200709-08
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
=3D=3D=3D=3D=3D=3D=3D=3D
A vulnerability has been discovered in id3lib allowing local users to
overwrite arbitrary files via a symlink attack.
Background
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
id3lib is an open-source, cross-platform software development library
for reading, writing, and manipulating ID3v1 and ID3v2 tags.
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/id3lib < 3.8.3-r6 >=3D 3.8.3-r6
Description
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Nikolaus Schulz discovered that the function RenderV2ToFile() in file
src/tag_file.cpp creates temporary files in an insecure manner.
Impact
=3D=3D=3D=3D=3D=3D
A local attacker could exploit this vulnerability via a symlink attack
to overwrite arbitrary files.
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 id3lib users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=3Dmedia-libs/id3lib-3.8.3-r6"
References
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
[ 1 ] CVE-2007-4460
http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2007-4460
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-200709-08.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 2007 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
--------------enig5508077C419585E336A1B3A5
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFG6/1FGc/RGrFqUYMRAttbAJ4zZC5xvm2UiC8yRWl3DyUereXi4ACcDbXW
pRAPCv7itzzNmKcJvwMZ+Og=
=QJjt
-----END PGP SIGNATURE-----
--------------enig5508077C419585E336A1B3A5--