Gentoo: GLSA-200709-08: id3lib: Insecure temporary file creation
Summary
Gentoo Linux Security Advisory GLSA 200709-08
https://security.gentoo.org/
Severity: Normal
Title: id3lib: Insecure temporary file creation
Date: September 15, 2007
Bugs: #189610
ID: 200709-08
Synopsis
=======
A vulnerability has been discovered in id3lib allowing local users to
overwrite arbitrary files via a symlink attack.
Background
=========
id3lib is an open-source, cross-platform software development library
for reading, writing, and manipulating ID3v1 and ID3v2 tags.
Affected packages
================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 media-libs/id3lib < 3.8.3-r6 >= 3.8.3-r6
==========
Nikolaus Schulz discovered that the function RenderV2ToFile() in file
src/tag_file.cpp creates temporary files in an insecure manner.
Impact
=====
A local attacker could exploit this vulnerability via a symlink attack
to overwrite arbitrary files.
Workaround
=========
There is no known workaround at this time.
Resolution
=========
All id3lib users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/id3lib-3.8.3-r6"
References
=========
[ 1 ] CVE-2007-4460
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4460
Availability
===========
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
https://security.gentoo.org/glsa/200709-08
Concerns?
========
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
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org/.
License
======
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.
https://creativecommons.org/licenses/by-sa/2.5/
Resolution
References
Availability
Concerns
![Dist Gentoo](/images/distros/dist-gentoo.png)