Gentoo Logo

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


An insecure temporary file usage has been reported in GCC-XML allowing for symlink attacks.

2.  Impact Information


GCC-XML is an XML output extension to the C++ front-end of GCC.


Dmitry E. Oboukhov reported that find_flags in GCC-XML does not handle "/tmp/*.cxx" temporary files securely.


A local attacker could perform symlink attacks to overwrite arbitrary files with the privileges of the user running the application.

3.  Resolution Information


There is no known workaround at this time.


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


Page updated September 09, 2009

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.