Lucene search

K
gentooGentoo FoundationGLSA-200501-43
HistoryJan 30, 2005 - 12:00 a.m.

f2c: Insecure temporary file creation

2005-01-3000:00:00
Gentoo Foundation
security.gentoo.org
8

2.1 Low

CVSS2

Access Vector

LOCAL

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:L/AC:L/Au:N/C:P/I:N/A:N

0.0004 Low

EPSS

Percentile

5.2%

Background

f2c is a Fortran to C translator. Portage uses this package in some ebuilds to build Fortran sources.

Description

Javier Fernandez-Sanguino Pena from the Debian Security Audit Team discovered that f2c creates temporary files in world-writeable directories with predictable names.

Impact

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.

Workaround

There is no known workaround at this time.

Resolution

All f2c users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-lang/f2c-20030320-r1"
OSVersionArchitecturePackageVersionFilename
Gentooanyalldev-lang/f2c<= 20030320UNKNOWN

2.1 Low

CVSS2

Access Vector

LOCAL

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:L/AC:L/Au:N/C:P/I:N/A:N

0.0004 Low

EPSS

Percentile

5.2%