GLSA-200501-38 : Perl: rmtree and DBI tmpfile vulnerabilities

This script is Copyright (C) 2005-2015 Tenable Network Security, Inc.

Synopsis :

The remote Gentoo host is missing one or more security-related

Description :

The remote host is affected by the vulnerability described in GLSA-200501-38
(Perl: rmtree and DBI tmpfile vulnerabilities)

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

Workaround :

There are no known workarounds at this time.

See also :

Solution :

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

Risk factor :

Low / CVSS Base Score : 2.6

Family: Gentoo Local Security Checks

Nessus Plugin ID: 16429 (gentoo_GLSA-200501-38.nasl)

Bugtraq ID:

CVE ID: CVE-2004-0452