Debian Security Advisory

DSA-661-2 f2c -- insecure temporary files

Date Reported:
20 Apr 2005
Affected Packages:
f2c
Vulnerable:
Yes
Security database references:
In Mitre's CVE dictionary: CVE-2005-0017, CVE-2005-0018.
More information:

Dan McMahill noticed that our advisory DSA 661-1 did not correct the multiple insecure files problem, hence, this update. For completeness below is the original advisory text:

Javier Fernández-Sanguino Peña from the Debian Security Audit project discovered that f2c and fc, which are both part of the f2c package, a fortran 77 to C/C++ translator, open temporary files insecurely and are hence vulnerable to a symlink attack. The Common Vulnerabilities and Exposures project identifies the following vulnerabilities:

  • CAN-2005-0017

    Multiple insecure temporary files in the f2c translator.

  • CAN-2005-0018

    Two insecure temporary files in the f2 shell script.

For the stable distribution (woody) and all others including testing this problem has been fixed in version 20010821-3.2.

We recommend that you upgrade your f2c package.

Fixed in:

Debian GNU/Linux 3.0 (woody)

Source:
http://security.debian.org/pool/updates/main/f/f2c/f2c_20010821-3.2.dsc
http://security.debian.org/pool/updates/main/f/f2c/f2c_20010821-3.2.diff.gz
http://security.debian.org/pool/updates/main/f/f2c/f2c_20010821.orig.tar.gz
Alpha:
http://security.debian.org/pool/updates/main/f/f2c/f2c_20010821-3.2_alpha.deb
ARM:
http://security.debian.org/pool/updates/main/f/f2c/f2c_20010821-3.2_arm.deb
Intel IA-32:
http://security.debian.org/pool/updates/main/f/f2c/f2c_20010821-3.2_i386.deb
Intel IA-64:
http://security.debian.org/pool/updates/main/f/f2c/f2c_20010821-3.2_ia64.deb
HPPA:
http://security.debian.org/pool/updates/main/f/f2c/f2c_20010821-3.2_hppa.deb
Motorola 680x0:
http://security.debian.org/pool/updates/main/f/f2c/f2c_20010821-3.2_m68k.deb
Big endian MIPS:
http://security.debian.org/pool/updates/main/f/f2c/f2c_20010821-3.2_mips.deb
Little endian MIPS:
http://security.debian.org/pool/updates/main/f/f2c/f2c_20010821-3.2_mipsel.deb
PowerPC:
http://security.debian.org/pool/updates/main/f/f2c/f2c_20010821-3.2_powerpc.deb
IBM S/390:
http://security.debian.org/pool/updates/main/f/f2c/f2c_20010821-3.2_s390.deb
Sun Sparc:
http://security.debian.org/pool/updates/main/f/f2c/f2c_20010821-3.2_sparc.deb

MD5 checksums of the listed files are available in the original advisory.

MD5 checksums of the listed files are available in the revised advisory.