GCC-XML: Insecure temporary file usage
1.
Gentoo Linux Security Advisory
Version Information
| Advisory Reference |
GLSA 200909-11 / gccxml |
| Release Date |
September 09, 2009 |
| Latest Revision |
September 09, 2009: 01 |
| Impact |
normal |
| Exploitable |
local |
| Package |
Vulnerable versions |
Unaffected versions |
Architecture(s) |
| dev-cpp/gccxml |
<
0.9.0_pre20090516 |
>=
0.9.0_pre20090516 |
All supported architectures
|
Related bugreports:
#245765
Synopsis
An insecure temporary file usage has been reported in GCC-XML allowing for
symlink attacks.
2.
Impact Information
Background
GCC-XML is an XML output extension to the C++ front-end of GCC.
Description
Dmitry E. Oboukhov reported that find_flags in GCC-XML does not handle
"/tmp/*.cxx" temporary files securely.
Impact
A local attacker could perform symlink attacks to overwrite arbitrary
files with the privileges of the user running the application.
3.
Resolution Information
Workaround
There is no known workaround at this time.
Resolution
All GCC-XML users should upgrade to the latest version:
Code Listing 3.1: Resolution |
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-cpp/gccxml-0.9.0_pre20090516"
|
4.
References
|