blob: 29f5ae2c985744a5892e65f809ba4ce4f804778b [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200501-43">
<title>f2c: Insecure temporary file creation</title>
f2c is vulnerable to symlink attacks, potentially allowing a local user to
overwrite arbitrary files.
<product type="ebuild">f2c</product>
<announced>January 30, 2005</announced>
<revised>January 30, 2005: 01</revised>
<package name="dev-lang/f2c" auto="yes" arch="*">
<unaffected range="ge">20030320-r1</unaffected>
<vulnerable range="le">20030320</vulnerable>
f2c is a Fortran to C translator. Portage uses this package in
some ebuilds to build Fortran sources.
Javier Fernandez-Sanguino Pena from the Debian Security Audit Team
discovered that f2c creates temporary files in world-writeable
directories with predictable names.
<impact type="normal">
A local attacker could create symbolic links in the temporary
files directory, pointing to a valid file somewhere on the filesystem.
When f2c is executed, this would result in the file being overwritten
with the rights of the user running the software, which could be the
root user.
There is no known workaround at this time.
All f2c users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=dev-lang/f2c-20030320-r1&quot;</code>
<uri link="">CAN-2005-0017</uri>
<metadata tag="submitter" timestamp="Sat, 29 Jan 2005 12:00:55 +0000">
<metadata tag="bugReady" timestamp="Sat, 29 Jan 2005 16:13:04 +0000">