Lucene search

K
gentooGentoo FoundationGLSA-200501-38
HistoryJan 26, 2005 - 12:00 a.m.

Perl: rmtree and DBI tmpfile vulnerabilities

2005-01-2600:00:00
Gentoo Foundation
security.gentoo.org
12

2.6 Low

CVSS2

Access Vector

LOCAL

Access Complexity

HIGH

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

0.001 Low

EPSS

Percentile

25.7%

Background

Perl is a cross platform programming language. The DBI is the standard database interface module for Perl.

Description

Javier Fernandez-Sanguino Pena discovered that the DBI library creates temporary files in an insecure, predictable way (CAN-2005-0077). Paul Szabo found out that “File::Path::rmtree” is vulnerable to various race conditions (CAN-2004-0452, CAN-2005-0448).

Impact

A local attacker could create symbolic links in the temporary files directory that point to a valid file somewhere on the filesystem. When the DBI library or File::Path::rmtree is executed, this could be used to overwrite or remove files with the rights of the user calling these functions.

Workaround

There are no known workarounds at this time.

Resolution

All Perl users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose dev-lang/perl

All DBI library users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose dev-perl/DBI
OSVersionArchitecturePackageVersionFilename
Gentooanyalldev-perl/dbi<= 1.38UNKNOWN
Gentooanyalldev-lang/perl<= 5.8.6-r3UNKNOWN

2.6 Low

CVSS2

Access Vector

LOCAL

Access Complexity

HIGH

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

0.001 Low

EPSS

Percentile

25.7%