id3lib: Insecure temporary file creation
1.
Gentoo Linux Security Advisory
Version Information
| Advisory Reference |
GLSA 200709-08 / id3lib |
| Release Date |
September 15, 2007 |
| Latest Revision |
September 15, 2007: 01 |
| Impact |
normal |
| Exploitable |
local |
| Package |
Vulnerable versions |
Unaffected versions |
Architecture(s) |
| media-libs/id3lib |
<
3.8.3-r6 |
>=
3.8.3-r6 |
All supported architectures
|
Related bugreports:
#189610
Synopsis
A vulnerability has been discovered in id3lib allowing local users to
overwrite arbitrary files via a symlink attack.
2.
Impact Information
Background
id3lib is an open-source, cross-platform software development library
for reading, writing, and manipulating ID3v1 and ID3v2 tags.
Description
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.
3.
Resolution Information
Workaround
There is no known workaround at this time.
Resolution
All id3lib users should upgrade to the latest version:
Code Listing 3.1: Resolution |
# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/id3lib-3.8.3-r6"
|
4.
References
|